| 18 |
Int_t i = 0; |
Int_t i = 0; |
| 19 |
Int_t sgnl = 0; |
Int_t sgnl = 0; |
| 20 |
// |
// |
| 21 |
TString processFolder = "runinfoFolder"; |
TString processFolder = Form("runinfoFolder_%u",run); |
| 22 |
if ( runargc > 0 ){ |
if ( runargc > 0 ){ |
| 23 |
i = 0; |
i = 0; |
| 24 |
while ( i < runargc ){ |
while ( i < runargc ){ |
| 49 |
if ( processFile ) processFile->Write("Run"); |
if ( processFile ) processFile->Write("Run"); |
| 50 |
runinfo->Clear(); |
runinfo->Clear(); |
| 51 |
// |
// |
| 52 |
|
if ( sgnl < 0 ) throw sgnl; |
| 53 |
|
// |
| 54 |
delete runinfo; |
delete runinfo; |
| 55 |
// |
// |
| 56 |
runinfo = new ItoRunInfo(processFile); |
runinfo = new ItoRunInfo(processFile); |
| 59 |
runinfo->Close(); |
runinfo->Close(); |
| 60 |
processFile->cd(); |
processFile->cd(); |
| 61 |
if ( processFile ) processFile->Write("Run"); |
if ( processFile ) processFile->Write("Run"); |
|
runinfo->Clear(); |
|
|
delete runinfo; |
|
| 62 |
// |
// |
| 63 |
|
if ( sgnl < 0 ) throw sgnl; |
| 64 |
// |
// |
| 65 |
|
runinfo->Clear(); |
| 66 |
|
delete runinfo; |
| 67 |
// |
// |
|
if ( sgnl < 0 ) throw sgnl; |
|
| 68 |
return(sgnl); |
return(sgnl); |
| 69 |
} |
} |