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