/[PAMELA software]/DarthVader/S4Level2/src/S4Core.cpp
ViewVC logotype

Diff of /DarthVader/S4Level2/src/S4Core.cpp

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

revision 1.14 by mocchiut, Thu Apr 19 08:12:39 2007 UTC revision 1.15 by mocchiut, Tue May 22 08:15:07 2007 UTC
# Line 326  int S4Core(UInt_t run, TFile *file, TSQL Line 326  int S4Core(UInt_t run, TFile *file, TSQL
326    // number of run to be processed    // number of run to be processed
327    //    //
328    numbofrun = runinfo->GetNoRun();    numbofrun = runinfo->GetNoRun();
329      UInt_t totnorun = runinfo->GetRunEntries();
330    //    //
331    // Try to access the S4 tree in the file, if it exists we are reprocessing data if not we are processing a new run    // Try to access the S4 tree in the file, if it exists we are reprocessing data if not we are processing a new run
332    //    //
# Line 353  int S4Core(UInt_t run, TFile *file, TSQL Line 354  int S4Core(UInt_t run, TFile *file, TSQL
354      //      //
355      if (verbose) printf("\n Preparing the pre-processing...\n");      if (verbose) printf("\n Preparing the pre-processing...\n");
356      //      //
357      if ( run == 0 ){      if ( run == 0 || totnorun == 1 ){
358        //        //
359        // we are reprocessing all the file        // we are reprocessing all the file
360        // 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.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.23