2 #include "TGeoManager.h"
26 TList* thistasks = this->GetListOfTasks();
29 TIter
next(thistasks->MakeIterator());
30 while (FairTask *task = (FairTask*)
next())
33 std::cout <<
"Task #" << counter <<
"\tTitle: " << task->GetTitle() <<
"\tName: " << task->GetName() << std::endl;
35 std::cout <<
"Task #" << counter <<
"\tTitle: " << task->GetTitle() <<
"\tName: " << task->GetName() << std::endl;
45 TList* thistasks = this->GetListOfTasks();
47 TIter
next(thistasks->MakeIterator());
48 while (FairTask *task = (FairTask*)
next())
50 task->SetVerbose(iVerbose);
59 TList* thistasks = this->GetListOfTasks();
60 ((FairTask*)thistasks->At(nTask))->
SetVerbose(iVerbose);
77 TList* thistasks = this->GetListOfTasks();
79 return ((FairTask*)thistasks->At(nTask));
85 if (gROOT->GetVersionInt() >= 60602 &&
gGeoManager!=NULL) {
void PrintTaskList()
It prints the list of tasks.
void SetVerbose(Int_t iVerbose=1)
Set the Verbosity to all the tasks.
FairTask * GetTask(Int_t nTask)
Return the pointer to a single task.
TGeoManager * gGeoManager
Abstract class for all the master task list classes.
std::vector< PndPersistencyTask * > fBranchTasks
virtual void SetPersistency(Bool_t pers=kTRUE)
Set the persistency of all the tasks This function has to be implemented for each master task...
std::map< PndPersistencyTask *, bool > fFixedPersistency
virtual ~PndMasterTask()
Destructor.
PndMasterTask()
Default constructor.