//fQAFolder = dynamic_cast<TFolder*>(gROOT->FindObjectAny("Folders/Run/Conditions/QA"));
fTasksFolder = dynamic_cast<TFolder*>(gROOT->FindObjectAny("Folders/Tasks")) ;
+ fFailed = kFALSE ;
if ( fHeaderFile != "aliroot" ) { // to call the getter without a file
//open headers file
if (!file->IsOpen()) {
cerr << "ERROR : AliEMCALGetter::AliEMCALGetter -> Cannot open " << fHeaderFile.Data() << endl ;
- abort() ;
+ fFailed = kTRUE ;
+ return ;
}
gAlice = static_cast<AliRun *>(file->Get("gAlice")) ;
if (!gAlice) {
cerr << "ERROR : AliEMCALGetter::AliEMCALGetter -> Cannot find gAlice in " << fHeaderFile.Data() << endl ;
- abort() ;
+ fFailed = kTRUE ;
+ return ;
}
if (!EMCAL()) {
if (fDebug)