| 198 |
// |
// |
| 199 |
// variables needed to reprocess data |
// variables needed to reprocess data |
| 200 |
// |
// |
| 201 |
|
Long64_t maxsize = 10000000000LL; |
| 202 |
|
TTree::SetMaxTreeSize(maxsize); |
| 203 |
|
// |
| 204 |
TString S4version; |
TString S4version; |
| 205 |
ItoRunInfo *runinfo = 0; |
ItoRunInfo *runinfo = 0; |
| 206 |
TArrayI *runlist = 0; |
TArrayI *runlist = 0; |
| 346 |
// |
// |
| 347 |
// tree exists, we are reprocessing data. Are we reprocessing a single run or all the file? |
// tree exists, we are reprocessing data. Are we reprocessing a single run or all the file? |
| 348 |
// |
// |
| 349 |
|
S4trclone->SetAutoSave(900000000000000LL); |
| 350 |
reproc = true; |
reproc = true; |
| 351 |
// |
// |
| 352 |
// update versioning information |
// update versioning information |
| 391 |
// |
// |
| 392 |
file->cd(); |
file->cd(); |
| 393 |
S4tr = new TTree("S4-new","PAMELA Level2 S4 data"); |
S4tr = new TTree("S4-new","PAMELA Level2 S4 data"); |
| 394 |
|
S4tr->SetAutoSave(900000000000000LL); |
| 395 |
S4tr->Branch("S4Level2","S4Level2",&s4); |
S4tr->Branch("S4Level2","S4Level2",&s4); |
| 396 |
// |
// |
| 397 |
if ( reproc && !reprocall ){ |
if ( reproc && !reprocall ){ |
| 400 |
// |
// |
| 401 |
tempfile = new TFile(tempname.str().c_str(),"READ"); |
tempfile = new TFile(tempname.str().c_str(),"READ"); |
| 402 |
S4trclone = (TTree*)tempfile->Get("S4-old"); |
S4trclone = (TTree*)tempfile->Get("S4-old"); |
| 403 |
|
S4trclone->SetAutoSave(900000000000000LL); |
| 404 |
S4trclone->SetBranchAddress("S4Level2",&s4clone); |
S4trclone->SetBranchAddress("S4Level2",&s4clone); |
| 405 |
// |
// |
| 406 |
if ( nobefrun > 0 ){ |
if ( nobefrun > 0 ){ |