/[PAMELA software]/PadmeAmidala/src/RunGlue.cpp
ViewVC logotype

Diff of /PadmeAmidala/src/RunGlue.cpp

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

revision 1.20 by mocchiut, Fri Oct 17 13:07:54 2014 UTC revision 1.22 by mocchiut, Fri Oct 17 13:28:01 2014 UTC
# Line 604  void RunGlue::MergeRootfile(TList *sourc Line 604  void RunGlue::MergeRootfile(TList *sourc
604      TSystemFile *questo = 0;      TSystemFile *questo = 0;
605      while ((questo = (TSystemFile*) next())) {      while ((questo = (TSystemFile*) next())) {
606        TString name = questo->GetName();        TString name = questo->GetName();
607        P->Add(name);        P->Add(name);
608        }
609        if ( P->GetEntries() ){
610          TTree *Pclone = P->CloneTree();
611          Target->cd();
612          Pclone->Write("ProcessingInfo",TObject::kOverwrite);
613          P->Delete();
614          P=0;
615      }      }
     TTree *Pclone = P->CloneTree();  
     Target->cd();  
     Pclone->Write("ProcessingInfo",TObject::kOverwrite);  
     P->Delete();  
     P=0;  
616    }    }
617    //      //  
618    Target->Close();    Target->Close();

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.23