| 30 |
S4_ver = ""; |
S4_ver = ""; |
| 31 |
} |
} |
| 32 |
|
|
| 33 |
|
/** |
| 34 |
|
* Fills a struct cSoftInfo with values from a SoftInfo object (to put data into a F77 common). |
| 35 |
|
*/ |
| 36 |
|
void SoftInfo::GetLevel2Struct(cSoftInfo *l2) const{ |
| 37 |
|
l2->FillTrigWith(TRIG_ver); |
| 38 |
|
l2->FillTofWith(TOF_ver); |
| 39 |
|
l2->FillAcWith(AC_ver); |
| 40 |
|
l2->FillTrkWith(TRK_ver); |
| 41 |
|
l2->FillOrbWith(ORB_ver); |
| 42 |
|
l2->FillCalWith(CAL_ver); |
| 43 |
|
l2->FillNdWith(ND_ver); |
| 44 |
|
l2->FillS4With(S4_ver); |
| 45 |
|
} |
| 46 |
|
/***********************/ |
| 47 |
|
|
| 48 |
ItoRunInfo::ItoRunInfo() { |
ItoRunInfo::ItoRunInfo() { |
| 49 |
reprocessing = false; |
reprocessing = false; |
| 50 |
updating = false; |
updating = false; |
| 63 |
version->S4_ver = ""; |
version->S4_ver = ""; |
| 64 |
version->ORB_ver = ""; |
version->ORB_ver = ""; |
| 65 |
norun = 0; |
norun = 0; |
| 66 |
runlist = new TArrayL(0,NULL); |
// runlist = new TArrayL(0,NULL); |
| 67 |
file = new TFile(); |
runlist = new TArrayL(500); |
| 68 |
|
// file = new TFile(); |
| 69 |
|
file = NULL;//new TFile(); |
| 70 |
newtree = new TTree(); |
newtree = new TTree(); |
| 71 |
} |
} |
| 72 |
|
|
| 94 |
version->S4_ver = ""; |
version->S4_ver = ""; |
| 95 |
norun = 0; |
norun = 0; |
| 96 |
totnorun = 0; |
totnorun = 0; |
| 97 |
|
runlist = new TArrayL(500); |
| 98 |
// runlist = new TArrayL(0,NULL); |
// runlist = new TArrayL(0,NULL); |
| 99 |
// |
// |
| 100 |
} |
} |
| 121 |
version->S4_ver = ""; |
version->S4_ver = ""; |
| 122 |
norun = 0; |
norun = 0; |
| 123 |
totnorun = 0; |
totnorun = 0; |
| 124 |
runlist = new TArrayL(0,NULL); |
// runlist = new TArrayL(0,NULL); |
| 125 |
|
runlist = new TArrayL(500); |
| 126 |
// |
// |
| 127 |
} |
} |
| 128 |
|
|
| 170 |
version->S4_ver = ""; |
version->S4_ver = ""; |
| 171 |
// |
// |
| 172 |
norun = 0; |
norun = 0; |
| 173 |
runlist = new TArrayL(0,NULL); |
// runlist = new TArrayL(0,NULL); |
| 174 |
//runlist->Reset(); |
//runlist->Reset(); |
| 175 |
// |
// |
| 176 |
Bool_t found = false; |
Bool_t found = false; |
| 269 |
return(-805); |
return(-805); |
| 270 |
}; |
}; |
| 271 |
// |
// |
| 272 |
runlist = new TArrayL(1); |
// runlist = new TArrayL(1); |
| 273 |
// |
// |
| 274 |
error = Query_GL_RUN(idRun, dbc); |
error = Query_GL_RUN(idRun, dbc); |
| 275 |
// |
// |
| 341 |
// |
// |
| 342 |
totnorun = oldtree->GetEntries(); |
totnorun = oldtree->GetEntries(); |
| 343 |
// |
// |
| 344 |
runlist = new TArrayL((Int_t)totnorun); |
if ( totnorun > 500 ){ |
| 345 |
|
if ( debug ) printf("\n RUNINFO - ERROR: can not handle more than 500 runs!\n"); |
| 346 |
|
return(-806); |
| 347 |
|
}; |
| 348 |
|
// runlist = new TArrayL((Int_t)totnorun); |
| 349 |
// |
// |
| 350 |
found = false; |
found = false; |
| 351 |
// |
// |
| 569 |
// |
// |
| 570 |
totnorun = newtree->GetEntries(); |
totnorun = newtree->GetEntries(); |
| 571 |
// |
// |
| 572 |
runlist = new TArrayL((Int_t)totnorun); |
if ( totnorun > 500 ){ |
| 573 |
|
if ( debug ) printf("\n RUNINFO - ERROR: can not handle more than 500 runs!\n"); |
| 574 |
|
return(-806); |
| 575 |
|
}; |
| 576 |
|
// runlist = new TArrayL((Int_t)totnorun); |
| 577 |
// |
// |
| 578 |
first_file_entry = 0; |
first_file_entry = 0; |
| 579 |
// |
// |
| 631 |
last_file_entry = 0; |
last_file_entry = 0; |
| 632 |
file_entries = 0ULL; |
file_entries = 0ULL; |
| 633 |
norun = 0; |
norun = 0; |
| 634 |
runlist = new TArrayL(0,NULL); |
// runlist = new TArrayL(0,NULL); |
| 635 |
|
delete runlist; |
| 636 |
|
//if ( file ) delete file; |
| 637 |
file = new TFile(); |
file = new TFile(); |
| 638 |
if ( isreadonly ) newtree->Delete(); |
if ( isreadonly ) newtree->Delete(); |
| 639 |
} |
} |