--- DarthVader/RunInfo/src/RunInfo.cpp 2006/10/24 07:31:50 1.12 +++ DarthVader/RunInfo/src/RunInfo.cpp 2006/11/02 12:32:58 1.13 @@ -89,6 +89,7 @@ last_file_entry = 0; file_entries = 0; version = new SoftInfo(); + // glrun = new GL_RUN(); norun = 0; totnorun = 0; runlist = new TArrayI(500); @@ -99,21 +100,19 @@ TChain *ItoRunInfo::LoadRunInfoTree(TList *fl){ // - TChain *Tout=0; - // - TChain *RI = 0; - RI = new TChain("Run"); + TChain *Tout = new TChain("Run"); // loop over files and create chains TIter next(fl); TSystemFile *questo = 0; while ( (questo = (TSystemFile*) next()) ) { TString name = questo->GetName(); - RI->Add(name); + Tout->Add(name); }; // - RI->SetBranchAddress("RunInfo", GetPointerToRI()); - RI->SetBranchAddress("SoftInfo", GetPointerToSI()); - Tout = RI; + Tout->SetBranchAddress("RunInfo", GetPointerToRI()); + printf("Run : set branch address RunInfo\n"); + Tout->SetBranchAddress("SoftInfo", GetPointerToSI()); + printf("Software : set branch address SoftInfo\n"); // return Tout; //