22 |
// |
// |
23 |
|
|
24 |
SoftInfo::SoftInfo() { |
SoftInfo::SoftInfo() { |
25 |
TRIG_ver = ""; |
Clear(); |
|
TOF_ver = ""; |
|
|
AC_ver = ""; |
|
|
TRK_ver = ""; |
|
|
ORB_ver = ""; |
|
|
CAL_ver = ""; |
|
|
ND_ver = ""; |
|
|
S4_ver = ""; |
|
|
DV_ver = ""; |
|
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 = ""; |
328 |
totnorun = 1; |
totnorun = 1; |
329 |
reprocessing = false; |
reprocessing = false; |
330 |
first_file_entry = 0; |
first_file_entry = 0; |
331 |
last_file_entry = (UInt_t)(EV_TO - EV_FROM); |
if ( EV_TO >= EV_FROM ) last_file_entry = (UInt_t)(EV_TO - EV_FROM); |
332 |
norun = 1; |
norun = 1; |
333 |
runlist->AddAt((Int_t)ID,0); |
runlist->AddAt((Int_t)ID,0); |
334 |
// |
// |
502 |
}; |
}; |
503 |
}; |
}; |
504 |
// |
// |
505 |
last_file_entry = first_file_entry + (oldrun->EV_TO - oldrun->EV_FROM + 1); |
if ( oldrun->EV_TO >= oldrun->EV_FROM ) last_file_entry = first_file_entry + (oldrun->EV_TO - oldrun->EV_FROM + 1); |
506 |
// |
// |
507 |
} else { |
} else { |
508 |
if ( !found ) first_file_entry += (oldrun->EV_TO - oldrun->EV_FROM + 1); |
if ( !found ) first_file_entry += (oldrun->EV_TO - oldrun->EV_FROM + 1); |
579 |
runlist->AddAt(newrun->ID,norun); |
runlist->AddAt(newrun->ID,norun); |
580 |
norun++; |
norun++; |
581 |
}; |
}; |
582 |
last_file_entry = first_file_entry + (newrun->EV_TO - newrun->EV_FROM + 1); |
if ( newrun->EV_TO >= newrun->EV_FROM ) last_file_entry = first_file_entry + (newrun->EV_TO - newrun->EV_FROM + 1); |
583 |
}; |
}; |
584 |
}; |
}; |
585 |
if ( debug ) printf("norun %i \n",(int)norun); |
if ( debug ) printf("norun %i \n",(int)norun); |
604 |
if ( isreadonly ) newtree->Delete(); |
if ( isreadonly ) newtree->Delete(); |
605 |
} |
} |
606 |
|
|
607 |
void ItoRunInfo::Clear(){ |
void ItoRunInfo::Clear(Option_t *t){ |
608 |
if ( newtree ) newtree->Delete(); |
if ( newtree ) newtree->Delete(); |
609 |
} |
} |
610 |
|
|
662 |
if ( nwrun->ID == run || run == 0 ){ |
if ( nwrun->ID == run || run == 0 ){ |
663 |
CopyFromTo(nwrun,(GL_RUN*)this,nwver,version); |
CopyFromTo(nwrun,(GL_RUN*)this,nwver,version); |
664 |
found = true; |
found = true; |
665 |
last_file_entry = first_file_entry + (nwrun->EV_TO - nwrun->EV_FROM + 1); |
if ( nwrun->EV_TO >= nwrun->EV_FROM ) last_file_entry = first_file_entry + (nwrun->EV_TO - nwrun->EV_FROM + 1); |
666 |
}; |
}; |
667 |
if ( !found ) first_file_entry += (nwrun->EV_TO - nwrun->EV_FROM + 1); |
if ( !found ) first_file_entry += (nwrun->EV_TO - nwrun->EV_FROM + 1); |
668 |
}; |
}; |