/[PAMELA software]/DarthVader/RunInfo/src/RunInfo.cpp
ViewVC logotype

Diff of /DarthVader/RunInfo/src/RunInfo.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by mocchiut, Tue Sep 5 13:21:10 2006 UTC revision 1.12 by mocchiut, Tue Oct 24 07:31:50 2006 UTC
# Line 102  TChain *ItoRunInfo::LoadRunInfoTree(TLis Line 102  TChain *ItoRunInfo::LoadRunInfoTree(TLis
102    TChain *Tout=0;    TChain *Tout=0;
103    //    //
104    TChain *RI = 0;          TChain *RI = 0;      
105    TChain *SI = 0;          RI = new TChain("Run");      
   RI = new TChain("RunInfo");    
   SI = new TChain("SoftInfo");            
106    // loop over files and create chains      // loop over files and create chains  
107    TIter next(fl);    TIter next(fl);
108    TSystemFile *questo = 0;    TSystemFile *questo = 0;
109    while ( (questo = (TSystemFile*) next()) ) {    while ( (questo = (TSystemFile*) next()) ) {
110      TString name =  questo->GetName();      TString name =  questo->GetName();
111      RI->Add(name);      RI->Add(name);
     SI->Add(name);  
112    };    };
113    //    //
114    RI->SetBranchAddress("RunInfo", GetPointerToRI());    RI->SetBranchAddress("RunInfo", GetPointerToRI());
115      RI->SetBranchAddress("SoftInfo", GetPointerToSI());
116    Tout = RI;    Tout = RI;
   SI->SetBranchAddress("SoftInfo", GetPointerToSI());  
   Tout->AddFriend("SoftInfo");  
117    //    //
118    return Tout;                      return Tout;                  
119    //    //
# Line 200  Int_t ItoRunInfo::Update(UInt_t run, TSt Line 196  Int_t ItoRunInfo::Update(UInt_t run, TSt
196    isreadonly = false;    isreadonly = false;
197    idRun = run;    idRun = run;
198    //    //
199    Bool_t debug = true;    Bool_t debug = false;
200    //    //
201    Bool_t ismydir = false;    Bool_t ismydir = false;
202    //    //

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.23