434 |
stringstream strun; |
stringstream strun; |
435 |
strun.str(""); |
strun.str(""); |
436 |
strun << run; |
strun << run; |
437 |
|
filename += outDir; |
438 |
|
filename += "/"; |
439 |
filename += strun.str(); |
filename += strun.str(); |
440 |
filename += ".Level2.root"; |
filename += ".Level2.root"; |
441 |
}; |
}; |
442 |
filename = outDir + "/" + filename; |
// filename = outDir + "/" + filename; |
443 |
processFile = new TFile(filename.Data(),"UPDATE"); |
processFile = new TFile(filename.Data(),"UPDATE"); |
444 |
if ( !processFile->IsOpen() ) throw -15; |
if ( !processFile->IsOpen() ) throw -15; |
445 |
// |
// |
504 |
case -8: message += " No Header branch in LEVEL0 Physics tree"; break; |
case -8: message += " No Header branch in LEVEL0 Physics tree"; break; |
505 |
case -9: message += " No Registry branch in LEVEL0 Physics tree"; break; |
case -9: message += " No Registry branch in LEVEL0 Physics tree"; break; |
506 |
case -11: message += " LEVEL0 Physics tree is empty"; break; |
case -11: message += " LEVEL0 Physics tree is empty"; break; |
507 |
case -12: message += " LEVEL2 output directory does not exists"; break; |
case -12: message += " Too few entries in the registry tree"; break; |
508 |
case -13: message += " Cannot create processFolder directory"; break; |
case -13: message += " Cannot create processFolder directory"; break; |
509 |
case -14: message += " Error querying the DB"; break; |
case -14: message += " Error querying the DB"; break; |
510 |
case -15: message += " Cannot open file for writing"; break; |
case -15: message += " Cannot open file for writing"; break; |
573 |
case -802: message += " RUNINFO - Cannot open file for writing"; break; |
case -802: message += " RUNINFO - Cannot open file for writing"; break; |
574 |
case -803: message += " RUNINFO - Updating but no RunInfo tree in Level2 file"; break; |
case -803: message += " RUNINFO - Updating but no RunInfo tree in Level2 file"; break; |
575 |
case -804: message += " RUNINFO - Unknown detector"; break; |
case -804: message += " RUNINFO - Unknown detector"; break; |
576 |
|
case -805: message += " RUNINFO - Reprocessing data but no RunInfo tree in Level2 file"; break; |
577 |
// |
// |
578 |
default: message += "Unidentified error or warning"; break; |
default: message += "Unidentified error or warning"; break; |
579 |
}; |
}; |