FairRoot
|
#include <FairTask.h>
Public Member Functions | |
FairTask () | |
FairTask (const char *name, Int_t iVerbose=1) | |
virtual | ~FairTask () |
void | InitTask () |
void | ReInitTask () |
void | SetParTask () |
virtual void | FinishTask () |
virtual void | FinishEvent () |
void | SetVerbose (Int_t iVerbose) |
void | SetInputPersistance (Bool_t val) |
void | CheckInputPersistance (TString branchName) |
virtual void | ExecuteTask (Option_t *option="0") |
void | SetOutputBranchPersistent (TString, Bool_t) |
Bool_t | IsOutputBranchPersistent (TString) |
void | SetStreamProcessing (Bool_t val=kTRUE) |
Protected Member Functions | |
virtual InitStatus | Init () |
virtual InitStatus | ReInit () |
virtual void | SetParContainers () |
virtual void | Finish () |
void | InitTasks () |
void | ReInitTasks () |
virtual void | ExecuteTasks (Option_t *option) |
void | SetParTasks () |
void | FinishTasks () |
void | FinishEvents () |
Protected Attributes | |
Int_t | fVerbose |
Int_t | fInputPersistance |
Indicates if input branch is persistant. More... | |
FairLogger * | fLogger |
Bool_t | fStreamProcessing |
Definition at line 40 of file FairTask.h.
FairTask::FairTask | ( | ) |
Default constructor
Definition at line 22 of file FairTask.cxx.
FairTask::FairTask | ( | const char * | name, |
Int_t | iVerbose = 1 |
||
) |
Standard constructor
name | Name of task |
iVerbose | Verbosity level |
Definition at line 31 of file FairTask.cxx.
|
virtual |
Destructor
Definition at line 39 of file FairTask.cxx.
|
inline |
Definition at line 79 of file FairTask.h.
|
virtual |
Definition at line 118 of file FairTask.cxx.
|
protectedvirtual |
Definition at line 160 of file FairTask.cxx.
|
inlineprotectedvirtual |
Action at end of run. For this task and all of the subtasks. To be implemented in the derived class.
Reimplemented in FairBoxSetDraw, FairPointSetDraw, FairTutorialDet4PointDraw, FairMCMatchSelectorTask, FairMCMatchCreatorTask, FairTutorialDet2Digitizer, FairMCMatchLoaderTask, FairPrintFairLinks, FairTutorialDet4MilleWriter, FairTutorialDet4StraightLineFitter, NewTask, FairTutPropHitProducer, FairTutPropTrackFinder, and FairTestDetectorHitProducerSmearing.
Definition at line 123 of file FairTask.h.
|
virtual |
Action at end of event. For this task and all of the subtasks.
Reimplemented in FairRingSorterTask, and FairMBSTask.
Definition at line 82 of file FairTask.cxx.
|
protected |
Recursive FinishEvent of subtasks
Definition at line 227 of file FairTask.cxx.
|
virtual |
Action at end of run. For this task and all of the subtasks. Method used internally in FairRoot.
Reimplemented in FairRingSorterTask, and FairMBSTask.
Definition at line 90 of file FairTask.cxx.
|
protected |
Recursive finish of subtasks
Definition at line 218 of file FairTask.cxx.
|
inlineprotectedvirtual |
Intialisation at begin of run. To be implemented in the derived class. Success If not kSUCCESS, task will be set inactive.
Reimplemented in FairBoxSetDraw, FairRingSorterTask, FairPointSetDraw, FairTestDetectorMQRecoTask< TIn, TOut, TPayloadIn, TPayloadOut >, FairTutorialDet4PointDraw, FairTutorialDet4HitProducerIdealMisalign, FairMCMatchSelectorTask, FairMCMatchCreatorTask, FairMCTracksDraw, FairMCMatchLoaderTask, FairGeoTracksDraw, FairPrintFairLinks, FairTutorialDet2Digitizer, FairMQSamplerTask, FairTutorialDet2CustomTask, FairTutPropTr, FairMBSTask, FairGeane, FairRecoTracksDraw, FairTutorialDet4MilleWriter, FairTutorialDet4StraightLineFitter, FairTestDetectorDigiTask, FairTestDetectorTimeRecoTask, FairTestDetectorTimeDigiTask, NewTask, FairTutPropHitProducer, FairTutPropTrackFinder, FairTestDetectorHitProducerSmearing, and FairTestDetectorRecoTask.
Definition at line 108 of file FairTask.h.
void FairTask::InitTask | ( | ) |
Initialisation at begin of run. For this task and all of the subtasks. Method used internally in FairRoot.
Definition at line 41 of file FairTask.cxx.
|
protected |
Recursive intialisation of subtasks at begin of run
Definition at line 109 of file FairTask.cxx.
Bool_t FairTask::IsOutputBranchPersistent | ( | TString | branchName | ) |
Check if the branch with the given name is persistent. If the branch is not in the map, the default return value is true.
Definition at line 241 of file FairTask.cxx.
|
inlineprotectedvirtual |
Reinitialisation. To be implemented in the derived class. Success If not kSUCCESS, task will be set inactive.
Reimplemented in FairRingSorterTask, FairTutorialDet4HitProducerIdealMisalign, FairTutorialDet2Digitizer, FairTutorialDet4MilleWriter, FairTutorialDet4StraightLineFitter, NewTask, FairTutPropHitProducer, FairTutPropTrackFinder, and FairTestDetectorHitProducerSmearing.
Definition at line 113 of file FairTask.h.
void FairTask::ReInitTask | ( | ) |
Reinitialisation. For this task and all of the subtasks. Method used internally in FairRoot.
Definition at line 58 of file FairTask.cxx.
|
protected |
Recursive reinitialisation of subtasks
Definition at line 200 of file FairTask.cxx.
|
inline |
Definition at line 77 of file FairTask.h.
void FairTask::SetOutputBranchPersistent | ( | TString | branchName, |
Bool_t | persistence | ||
) |
Set persistency of branch with given name true or false In case is is set to false the branch will not be written to the output.
Definition at line 236 of file FairTask.cxx.
|
inlineprotectedvirtual |
Intialise parameter containers. To be implemented in the derived class.
Reimplemented in FairRingSorterTask, FairBoxSetDraw, FairPointSetDraw, FairTutorialDet4HitProducerIdealMisalign, FairTutorialDet4PointDraw, FairMCMatchSelectorTask, FairMCMatchCreatorTask, FairTutorialDet4MilleWriter, FairTutorialDet2Digitizer, FairMCMatchLoaderTask, FairTutorialDet4StraightLineFitter, NewTask, FairTutPropHitProducer, FairTutPropTrackFinder, FairTestDetectorHitProducerSmearing, and FairPrintFairLinks.
Definition at line 118 of file FairTask.h.
void FairTask::SetParTask | ( | ) |
Set parameters. For this task and all of the subtasks. Method used internally in FairRoot.
Definition at line 73 of file FairTask.cxx.
|
protected |
Recursive parameter initialisation for subtasks
Definition at line 209 of file FairTask.cxx.
|
inline |
Definition at line 97 of file FairTask.h.
void FairTask::SetVerbose | ( | Int_t | iVerbose | ) |
Set verbosity level. For this task and all of the subtasks.
Definition at line 99 of file FairTask.cxx.
|
protected |
Indicates if input branch is persistant.
Definition at line 101 of file FairTask.h.
|
protected |
Definition at line 102 of file FairTask.h.
|
protected |
Definition at line 103 of file FairTask.h.
|
protected |
Definition at line 100 of file FairTask.h.