37 , fTask(new
FairTask(
"FairTaskList"))
40 , fUserOutputFileName()
45 , fGenerateRunInfo(kFALSE)
50 Fatal(
"FairRun",
"Singleton instance already exists.");
62 LOG(debug) <<
"Enter Destructor of FairRun";
67 LOG(debug) <<
"Leave Destructor of FairRun";
82 const TList* subtasks = task->GetListOfTasks();
84 for (
const auto subtask : *subtasks) {
107 TList* taskList =
fTask->GetListOfTasks();
108 TObject* task = taskList->FindObject(taskName);
109 return dynamic_cast<FairTask*
>(task);
124 LOG(warn) <<
"Function FairRun::SetWriteRunInfoFile(Bool_t) is depcrecated and will vanish in future versions of "
126 LOG(warn) <<
"Please use FairRun::SetGenerateRunInfo(Bool_t) instead.";
134 <<
"Function FairRun::GetWriteRunInfoFile() is depcrecated and will vanish in future versions of FairRoot.\n";
135 LOG(warn) <<
"Please use FairRun::IsRunInfoGenerated() instead.";
142 LOG(
WARNING) <<
"FairRun::SetOutputFile() deprecated. Use FairRootFileSink.";
151 LOG(
WARNING) <<
"FairRun::SetOutputFile() deprecated. Use FairRootFileSink.";
161 LOG(
WARNING) <<
"FairRun::SetOutputFileName() deprecated. Use FairRootFileSink.";
170 LOG(
WARNING) <<
"FairRun::GetOutputFile() deprecated. Use separate file to store additional data.";
172 assert(sink->GetSinkType() ==
kFILESINK);
void AlignGeometry() const
void CreateGeometryFile(const char *geofile)
list of container factories
virtual void SetOutputFile(const char *fname)
void CreateGeometryFile(const char *geofile)
FairAlignmentHandler fAlignmentHandler
TString GetUserOutputFileName() const
FairTask * GetTask(const char *taskName)
FairRun(Bool_t isMaster=kTRUE)
Bool_t GetWriteRunInfoFile()
FairRootManager * fRootManager
static FairRun * Instance()
void SetWriteRunInfoFile(Bool_t write)
FairEventHeader * GetEventHeader()
static FairRootManager * Instance()
FairEventHeader * fEvtHeader
ClassImp(FairEventBuilder)
void SetSink(FairSink *tempSink)
void SetOutputFileName(const TString &name)
void SetUseFairLinks(Bool_t val)
static TMCThreadLocal FairRun * fRunInstance
void AddAlignmentMatrices(const std::map< std::string, TGeoHMatrix > &alignmentMatrices, bool invertMatrices=false)
FairFileHeader * fFileHeader
virtual void StoreTaskNames(const FairTask *t)
virtual void AddTask(FairTask *t)
TString fUserOutputFileName
void SetUserOutputFileName(const TString &name)
virtual void SetTask(FairTask *t)
void SetUseFairLinks(Bool_t val)