298 |
// |
// |
299 |
l = rg->GetRunList(); |
l = rg->GetRunList(); |
300 |
// |
// |
301 |
if ( rg->HasDiscardedRuns() && pedantic ) exit(10); |
if ( l && !(rg->HasDiscardedRuns() && pedantic) ){ |
|
if ( l ){ |
|
302 |
// |
// |
|
// if ( rg->OpenFile() ){ |
|
303 |
if ( rg->FileIsOpen() ){ |
if ( rg->FileIsOpen() ){ |
304 |
// |
// |
305 |
rg->MergeRootfile(l); |
rg->MergeRootfile(l); |
315 |
}; |
}; |
316 |
} else { |
} else { |
317 |
RET = 255; |
RET = 255; |
318 |
}; |
if (rg->HasDiscardedRuns() && pedantic){ |
319 |
|
printf(" Missing runs (and pedantic selected), cannot merge file %s \n",rg->GetFilename().Data()); |
320 |
|
rg->Clean(); |
321 |
|
} |
322 |
|
} |
323 |
delete l; |
delete l; |
324 |
// |
// |
325 |
}; |
} |
326 |
// |
// |
327 |
delete rg; |
delete rg; |
328 |
// |
// |