/[PAMELA software]/DarthVader/AnticounterLevel2/src/AcCore.cpp
ViewVC logotype

Diff of /DarthVader/AnticounterLevel2/src/AcCore.cpp

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

revision 1.13 by mocchiut, Thu Apr 19 08:11:42 2007 UTC revision 1.14 by mocchiut, Tue May 22 08:15:04 2007 UTC
# Line 241  int AcCore(UInt_t run, TFile *file, TSQL Line 241  int AcCore(UInt_t run, TFile *file, TSQL
241    // number of run to be processed    // number of run to be processed
242    //    //
243    numbofrun = runinfo->GetNoRun();    numbofrun = runinfo->GetNoRun();
244      UInt_t totnorun = runinfo->GetRunEntries();
245    //    //
246    // Try to access the Anticounter tree in the file, if it exists we are reprocessing data if not we are processing a new run    // Try to access the Anticounter tree in the file, if it exists we are reprocessing data if not we are processing a new run
247    //    //
# Line 264  int AcCore(UInt_t run, TFile *file, TSQL Line 265  int AcCore(UInt_t run, TFile *file, TSQL
265      //      //
266      if ( verbose ) printf("\n Preparing the pre-processing...\n");      if ( verbose ) printf("\n Preparing the pre-processing...\n");
267      //      //
268      if ( run == 0 ){      if ( run == 0 || totnorun == 1 ){
269        //        //
270        // we are reprocessing all the file        // we are reprocessing all the file
271        // 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.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.23