--- DarthVader/RunInfo/src/RunInfo.cpp 2006/09/04 15:43:50 1.8 +++ DarthVader/RunInfo/src/RunInfo.cpp 2006/10/24 07:31:50 1.12 @@ -102,22 +102,18 @@ TChain *Tout=0; // TChain *RI = 0; - TChain *SI = 0; - RI = new TChain("RunInfo"); - SI = new TChain("SoftInfo"); + RI = 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); - SI->Add(name); }; // RI->SetBranchAddress("RunInfo", GetPointerToRI()); + RI->SetBranchAddress("SoftInfo", GetPointerToSI()); Tout = RI; - SI->SetBranchAddress("SoftInfo", GetPointerToSI()); - Tout->AddFriend("SoftInfo"); // return Tout; // @@ -145,6 +141,8 @@ // if ( glrun && newrun ){ // + // printf("copy \n"); + // newrun->ID = glrun->ID ; newrun->ID_RUN_FRAG = glrun-> ID_RUN_FRAG ; newrun->ID_ROOT_L0 = glrun->ID_ROOT_L0 ;