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