| 25 |
Clear(); |
Clear(); |
| 26 |
} |
} |
| 27 |
|
|
| 28 |
void SoftInfo::Clear(){ |
void SoftInfo::Clear(Option_t *t){ |
| 29 |
TRIG_ver = ""; |
TRIG_ver = ""; |
| 30 |
TOF_ver = ""; |
TOF_ver = ""; |
| 31 |
AC_ver = ""; |
AC_ver = ""; |
| 201 |
newrun->TRK_CALIB_USED = glrun->TRK_CALIB_USED ; |
newrun->TRK_CALIB_USED = glrun->TRK_CALIB_USED ; |
| 202 |
newrun->CAL_DSP_MASK = glrun->CAL_DSP_MASK ; |
newrun->CAL_DSP_MASK = glrun->CAL_DSP_MASK ; |
| 203 |
newrun->BOOT_NUMBER = glrun->BOOT_NUMBER ; |
newrun->BOOT_NUMBER = glrun->BOOT_NUMBER ; |
| 204 |
|
newrun->PHYSENDRUN_MASK_S3S2S12 = glrun->PHYSENDRUN_MASK_S3S2S12 ; |
| 205 |
|
newrun->PHYSENDRUN_MASK_S11CRC = glrun->PHYSENDRUN_MASK_S11CRC ; |
| 206 |
newrun->VALIDATION = glrun->VALIDATION ; |
newrun->VALIDATION = glrun->VALIDATION ; |
| 207 |
// |
// |
| 208 |
}; |
}; |
| 362 |
// |
// |
| 363 |
for ( UInt_t run = 0; run < totnorun; run++){ |
for ( UInt_t run = 0; run < totnorun; run++){ |
| 364 |
// |
// |
| 365 |
oldtree->GetEntry(run); |
if ( oldtree->GetEntry(run) <= 0 ) throw -36; |
| 366 |
// |
// |
| 367 |
CopyFromTo(oldrun,newrun,oldver,newver); |
CopyFromTo(oldrun,newrun,oldver,newver); |
| 368 |
// |
// |
| 570 |
// |
// |
| 571 |
for ( UInt_t run = 0; run < totnorun; run++){ |
for ( UInt_t run = 0; run < totnorun; run++){ |
| 572 |
// |
// |
| 573 |
newtree->GetEntry(run); |
if ( newtree->GetEntry(run) <= 0 ) throw -36; |
| 574 |
// |
// |
| 575 |
file_entries += (newrun->EV_TO - newrun->EV_FROM + 1); |
file_entries += (newrun->EV_TO - newrun->EV_FROM + 1); |
| 576 |
// |
// |
| 606 |
if ( isreadonly ) newtree->Delete(); |
if ( isreadonly ) newtree->Delete(); |
| 607 |
} |
} |
| 608 |
|
|
| 609 |
void ItoRunInfo::Clear(){ |
void ItoRunInfo::Clear(Option_t *t){ |
| 610 |
if ( newtree ) newtree->Delete(); |
if ( newtree ) newtree->Delete(); |
| 611 |
} |
} |
| 612 |
|
|
| 659 |
totnorun = newtree->GetEntries(); |
totnorun = newtree->GetEntries(); |
| 660 |
// |
// |
| 661 |
for ( UInt_t nrun = 0; nrun < totnorun; nrun++){ |
for ( UInt_t nrun = 0; nrun < totnorun; nrun++){ |
| 662 |
newtree->GetEntry(nrun); |
if ( newtree->GetEntry(nrun) <= 0 ) throw -36; |
| 663 |
// |
// |
| 664 |
if ( nwrun->ID == run || run == 0 ){ |
if ( nwrun->ID == run || run == 0 ){ |
| 665 |
CopyFromTo(nwrun,(GL_RUN*)this,nwver,version); |
CopyFromTo(nwrun,(GL_RUN*)this,nwver,version); |