Skip to content
Snippets Groups Projects
  1. Jan 25, 2006
  2. Jan 24, 2006
    • Rene Brun's avatar
      Take into account underflows/overflows when rebinning · 89f09fb7
      Rene Brun authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@13915 27541ba8-7e3a-0410-8455-c3a389f83636
      89f09fb7
    • Philippe Canal's avatar
      From Sergei Linev: · 785a4d2a
      Philippe Canal authored
      1) In normal TBasket constructor mother directory assigned to TBranch directory.
      2) In TBasket::CopyTo method file for copy is used directly without setting gFile/gDirectory
      3) In TBasket::WriteBuffer mother dir assigned once again. It is required when basket with
         default constructor was created.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13914 27541ba8-7e3a-0410-8455-c3a389f83636
      785a4d2a
    • Philippe Canal's avatar
      From Sergei Linev: · ce28cfd1
      Philippe Canal authored
      Several small changes to exclude using of gDirectory and correct initialisations.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13913 27541ba8-7e3a-0410-8455-c3a389f83636
      ce28cfd1
    • Philippe Canal's avatar
      From Sergei Linev: · 4ad83bd4
      Philippe Canal authored
      1) New fMotherDir memeber was added to indicate to which directory and file (via dir->GetFile()) key belongs to.
         Mother directory must be specified in constructor, therefore all consructors get additional argument - mother
         directory
      2) New method Build() was added to initialize members of TKey class. It is called from every constructor of
         TKey class.
      3) Everywhere gFile and gDirectory were replaced by GetMotherDir() & GetFile(). Two methods: TKey::WriteFile()
         and TKey::Create() gets new argument - TFile* f, indicating which file should be used. By default,
         file from mother directory is used, but for some cases in tree other file pointer specified directly.
      4) In TKey::ReadBuffer() sometimes key will be added to gDirectory. For normal cases it should not happen,
         therefore I extract main code to TKey::ReadKeyBuffer() and call it from the places where I know no
         any gDirectory->AppendKey should be called. For instance, when you store streamerinfos. Functionality of
         TKey::ReadBuffer() was not changed. Actually, I did not found a situation, when this function called
         and code with gDirectory->AppendKey() is activated (I check with stress and roottest).
      `
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13912 27541ba8-7e3a-0410-8455-c3a389f83636
      4ad83bd4
    • Philippe Canal's avatar
      From Sergei Linev: · 4705b749
      Philippe Canal authored
      1) In normal constructor I add new argument - mother of directory.
         If it is not specified (for instance, if user creates TDirectory himself), gDirectory will be used.
         In principle, fMother was before, but now it consecutively used in most TDirecory methods, related to
         parent/child relationship.
      2) Together with directory fMother member file pointer fFile propogated to all childs.
         Consequently, each directory knows to which file it belongs.
      3) When streamed from the file, fFile memeber is assigned from TBuffer::GetParent(). fFile is enougth
         to read keys from the file. Mother directory is assigned later in TKey::ReadObj().
      
      In TDirectory::ReadAll() cast to TNamed was used to find and delete existing object,
         but some TObject also can return correct names (like TCanvas).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13911 27541ba8-7e3a-0410-8455-c3a389f83636
      4705b749
    • Philippe Canal's avatar
      From Sergei Linev: · 924e97f2
      Philippe Canal authored
      1) In normal constructor I add new argument - mother of directory.
         If it is not specified (for instance, if user creates TDirectory himself), gDirectory will be used.
         In principle, fMother was before, but now it consecutively used in most TDirecory methods, related to
         parent/child relationship.
      2) Together with directory fMother member file pointer fFile propogated to all childs.
         Consequently, each directory knows to which file it belongs.
      3) When streamed from the file, fFile memeber is assigned from TBuffer::GetParent(). fFile is enougth
         to read keys from the file. Mother directory is assigned later in TKey::ReadObj().
      
      
      TDirectory::GetPath() uses static variable and will fails in multithread application.
         I introduce new GetPath() method and TString fPathBuffer to produce correct full path.
         Old code was moved in GetPathStatic() method. To optimize memory usage, one can replace TString
         by const char* (as it was before).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13910 27541ba8-7e3a-0410-8455-c3a389f83636
      924e97f2
    • Philippe Canal's avatar
      white space fix · 0416eb6b
      Philippe Canal authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@13909 27541ba8-7e3a-0410-8455-c3a389f83636
      0416eb6b
    • Philippe Canal's avatar
      From Sergei Linev: · 58d494d1
      Philippe Canal authored
      3 new virtual methods:
         virtual void TBuffer::ClassBegin(const TClass*, Version_t = -1) {}
         virtual void TBuffer::ClassEnd(const TClass*) {}
         virtual void TBuffer::ClassMember(const char*, const char*, Int_t = -1, Int_t = -1, Int_t = -1) {}
      This method can be use to make a custom streamed object 'splitable'
      
      Add a new Bit for TBuffer kTextBasedStreaming which can be used in the
      streamer to facilitate writing to a text output (xml, sql).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13908 27541ba8-7e3a-0410-8455-c3a389f83636
      58d494d1
    • Fons Rademakers's avatar
      Fixes for port to MacOS X on Intel. · 0cc4125f
      Fons Rademakers authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@13907 27541ba8-7e3a-0410-8455-c3a389f83636
      0cc4125f
    • Fons Rademakers's avatar
      fix problem with TMD5 in default ctor of TFileInfo. · 980f8cd7
      Fons Rademakers authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@13906 27541ba8-7e3a-0410-8455-c3a389f83636
      980f8cd7
    • Olivier Couet's avatar
      - Paint() now uses the FillStyle to control wether or not a filled area · aad1b0d1
      Olivier Couet authored
        should be painted. It used wrongly the FillColor before.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13902 27541ba8-7e3a-0410-8455-c3a389f83636
      aad1b0d1
    • Rene Brun's avatar
      Add interface function TPythia6::Pydiff calling the pythia6 pydiff routine. · 77382ff5
      Rene Brun authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@13901 27541ba8-7e3a-0410-8455-c3a389f83636
      77382ff5
  3. Jan 23, 2006
  4. Jan 22, 2006
  5. Jan 21, 2006
    • Rene Brun's avatar
      Two fixes from Axel and Stefan: · 662aa011
      Rene Brun authored
      From Axel:
      - fix for  a problem with rootcint
      segv'ing on fopen(0, "r") if the linkdef.h can't be located.
      
      From Stefan:
      - removes the printout in case of rootcint -gccxml
      - removes the shadow class generation for rootcint -gccxml. Shadow
        classes should now only be generated with rootcint -cint
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13882 27541ba8-7e3a-0410-8455-c3a389f83636
      662aa011
Loading