![]() |
PandaRoot
|
Abstract class for all the master task list classes. More...
#include <PndMasterTask.h>
Public Member Functions | |
PndMasterTask () | |
Default constructor. More... | |
PndMasterTask (const char *name) | |
Proper Constructor. More... | |
virtual | ~PndMasterTask () |
Destructor. More... | |
void | PrintTaskList () |
It prints the list of tasks. More... | |
virtual void | SetPersistency (Bool_t pers=kTRUE) |
Set the persistency of all the tasks This function has to be implemented for each master task, since different tasks use different functions to change the persistency of the output TClonesArrays. More... | |
void | SetVerbose (Int_t iVerbose=1) |
Set the Verbosity to all the tasks. More... | |
void | SetVerbose (Int_t nTask, Int_t iVerbose) |
Set the Verbosity to a single task. More... | |
FairTask * | GetTask (Int_t nTask) |
Return the pointer to a single task. More... | |
![]() | |
PndPersistencyTask () | |
PndPersistencyTask (const char *name, Int_t iVerbose=1) | |
virtual | ~PndPersistencyTask () |
void | SetPersistency (Bool_t val=kTRUE) |
Bool_t | GetPersistency () |
Protected Attributes | |
std::vector< PndPersistencyTask * > | fBranchTasks |
std::vector< FairTask * > | fStandardTasks |
std::map< PndPersistencyTask *, bool > | fFixedPersistency |
Abstract class for all the master task list classes.
This class is the basic for all the master task classes, digi, reco, pid and so on. It provides basic functionalities, such as the possibility to set the Verbosity for each task separately or for all the tasks together, the possibility to getretrieve a Task in order to use some setter, and a print of all the included tasks.
Definition at line 21 of file PndMasterTask.h.
PndMasterTask::PndMasterTask | ( | ) |
Default constructor.
PndMasterTask::PndMasterTask | ( | const char * | name | ) |
Proper Constructor.
|
virtual |
Destructor.
FairTask* PndMasterTask::GetTask | ( | Int_t | nTask | ) |
Return the pointer to a single task.
This function allows to retrieve the pointer of a task inside the task list, when you want to use some particular setter or change someting in the task.
nTask | Index of the task you want to modify. Instead of the integer you can use the enum "k" + task name (i.e. kMvdDigiTask, kSttHitProducerRealFast, etc...) |
void PndMasterTask::PrintTaskList | ( | ) |
It prints the list of tasks.
|
virtual |
Set the persistency of all the tasks This function has to be implemented for each master task, since different tasks use different functions to change the persistency of the output TClonesArrays.
fPersistency | Persistency level: 0 no TCA, 1 all TCA |
Reimplemented in PndMasterLocalRecoTask, PndMasterMultiPidTask, PndMasterDigiTask, and PndMasterSimTask.
void PndMasterTask::SetVerbose | ( | Int_t | iVerbose = 1 | ) |
Set the Verbosity to all the tasks.
iVerbose | Verbosity level: 0 no messages, the higher more messages |
void PndMasterTask::SetVerbose | ( | Int_t | nTask, |
Int_t | iVerbose | ||
) |
Set the Verbosity to a single task.
This function has to be used when you want to change the verbosity to a single task
nTask | Index of the task you want to modify. Instead of the integer you can use the enum k + task name (i.e. kMvdDigiTask, hSttHitProducerRealFast |
iVerbose | Verbosity. 0 -> no messages; the higher -> more messages |
|
protected |
Definition at line 77 of file PndMasterTask.h.
|
protected |
Definition at line 79 of file PndMasterTask.h.
|
protected |
Definition at line 78 of file PndMasterTask.h.