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 |
// |
// |
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 |