/[PAMELA software]/DarthVader/ToFLevel2/src/ToFCore.cpp
ViewVC logotype

Diff of /DarthVader/ToFLevel2/src/ToFCore.cpp

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

revision 1.20 by mocchiut, Mon Apr 30 15:46:30 2007 UTC revision 1.21 by mocchiut, Tue May 22 08:15:08 2007 UTC
# Line 271  int ToFCore(UInt_t run, TFile *file, TSQ Line 271  int ToFCore(UInt_t run, TFile *file, TSQ
271    // number of run to be processed    // number of run to be processed
272    //    //
273    numbofrun = runinfo->GetNoRun();    numbofrun = runinfo->GetNoRun();
274      UInt_t totnorun = runinfo->GetRunEntries();
275    //    //
276    // Try to access the ToF tree in the file, if it exists we are reprocessing data if not we are processing a new run    // Try to access the ToF tree in the file, if it exists we are reprocessing data if not we are processing a new run
277    //    //
# Line 295  int ToFCore(UInt_t run, TFile *file, TSQ Line 296  int ToFCore(UInt_t run, TFile *file, TSQ
296      //      //
297      if ( verbose ) printf("\n Preparing the pre-processing...\n");      if ( verbose ) printf("\n Preparing the pre-processing...\n");
298      //      //
299      if ( run == 0 ){      if ( run == 0 || totnorun == 1 ){
300        //        //
301        // we are reprocessing all the file        // we are reprocessing all the file
302        // if we are reprocessing everything we don't need to copy any old event and we can just work with the new tree and delete the old one immediately        // if we are reprocessing everything we don't need to copy any old event and we can just work with the new tree and delete the old one immediately

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

  ViewVC Help
Powered by ViewVC 1.1.23