11 #include "FairLogger.h" 12 #include "FairRuntimeDb.h" 24 : FairTask(name, verbose),
33 fRun = FairRun::Instance();
46 LOG(WARNING) <<
"Availible run manager not defined for task " << this->ClassName() << FairLogger::endl;
47 LOG(WARNING) <<
"No check will be performed" << FairLogger::endl;
52 if (
fRun->ClassName() == availibleRun)
63 fRun = FairRun::Instance();
65 LOG(FATAL) <<
"No run manager!" << FairLogger::endl;
66 FairRuntimeDb* rtdb =
fRun->GetRuntimeDb();
68 LOG(FATAL) <<
"No runtime database!" << FairLogger::endl;
InitStatus CheckRunManager()
Check is instance of run manager availible for this task.
virtual InitStatus Init()
virtual void SetParContainers()
Initializes runtime database for getting parameters from .par file.
FairRun * fRun
Pointer to run manager object.
std::vector< TString > fAvailibleRunManagers
Run managers that are availible for this task.
Base abstract class for all tasks in er.