is there any reason why neither rtdb->initContainers(...) nor (HSpectrometer*)setup->init()
are checked for their return values and return a kFALSE?
Bool_t Hades::init(void) 
// This function initializes Hades. This includes initialization of the
// reconstructors, the data source and the detectors.
rtdb->initContainers(fDataSource->getCurrentRunId(), <--------
 fDataSource->getCurrentRefId()); <--------
  setup->init(); <--------
if (!fDataSource->init()){
printf("nError in fDataSource->init()n");
return kFALSE;
if (fSecondDataSource) {
if (!fSecondDataSource->init()){
printf("nError in fSecondDataSource->init()n");
return kFALSE;
Int_t vers=((fCurrentEvent->getHeader()->getVersion()));

if (!initTasks()) return kFALSE;
return kTRUE;


Topic revision: r1 - 2004-02-25, PeterZumbruch
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)