FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTask Class Reference

#include <FairTask.h>

Inheritance diagram for FairTask:
FairBoxSetDraw FairEventBuilderManager FairGeane FairGeoTracksDraw FairMBSTask FairMCMatchCreatorTask FairMCMatchLoaderTask FairMCMatchSelectorTask FairMCTracksDraw FairMQProcessorTask FairMQSamplerTask FairPointSetDraw FairPrintFairLinks FairRecoTracksDraw FairRingSorterTask FairTestDetectorDigiTask FairTestDetectorHitProducerSmearing FairTestDetectorRecoTask FairTestDetectorTimeDigiTask FairTestDetectorTimeRecoTask FairTutorialDet2CustomTask FairTutorialDet2Digitizer FairTutorialDet4HitProducerIdealMisalign FairTutorialDet4MilleWriter FairTutorialDet4PointDraw FairTutorialDet4StraightLineFitter FairTutPropHitProducer FairTutPropTr FairTutPropTrackFinder NewTask PixelAltDigiWriteToRootVector PixelAltFindHits PixelDigitize PixelDigiWriteToBinFile PixelDigiWriteToFile PixelFindHits PixelFindTracks PixelFitTracks

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...
 
FairLoggerfLogger
 
Bool_t fStreamProcessing
 

Detailed Description

Definition at line 40 of file FairTask.h.

Constructor & Destructor Documentation

FairTask::FairTask ( )

Default constructor

Definition at line 22 of file FairTask.cxx.

FairTask::FairTask ( const char *  name,
Int_t  iVerbose = 1 
)

Standard constructor

Parameters
nameName of task
iVerboseVerbosity level

Definition at line 31 of file FairTask.cxx.

FairTask::~FairTask ( )
virtual

Destructor

Definition at line 39 of file FairTask.cxx.

Member Function Documentation

void FairTask::CheckInputPersistance ( TString  branchName)
inline

Definition at line 79 of file FairTask.h.

void FairTask::ExecuteTask ( Option_t *  option = "0")
virtual

Definition at line 118 of file FairTask.cxx.

void FairTask::ExecuteTasks ( Option_t *  option)
protectedvirtual

Definition at line 160 of file FairTask.cxx.

virtual void FairTask::Finish ( )
inlineprotectedvirtual
void FairTask::FinishEvent ( )
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.

void FairTask::FinishEvents ( )
protected

Recursive FinishEvent of subtasks

Definition at line 227 of file FairTask.cxx.

void FairTask::FinishTask ( )
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.

void FairTask::FinishTasks ( )
protected

Recursive finish of subtasks

Definition at line 218 of file FairTask.cxx.

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.

void FairTask::InitTasks ( )
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.

virtual InitStatus FairTask::ReInit ( )
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.

void FairTask::ReInitTasks ( )
protected

Recursive reinitialisation of subtasks

Definition at line 200 of file FairTask.cxx.

void FairTask::SetInputPersistance ( Bool_t  val)
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.

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.

void FairTask::SetParTasks ( )
protected

Recursive parameter initialisation for subtasks

Definition at line 209 of file FairTask.cxx.

void FairTask::SetStreamProcessing ( Bool_t  val = kTRUE)
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.

Member Data Documentation

Int_t FairTask::fInputPersistance
protected

Indicates if input branch is persistant.

Definition at line 101 of file FairTask.h.

FairLogger* FairTask::fLogger
protected

Definition at line 102 of file FairTask.h.

Bool_t FairTask::fStreamProcessing
protected

Definition at line 103 of file FairTask.h.

Int_t FairTask::fVerbose
protected

Definition at line 100 of file FairTask.h.


The documentation for this class was generated from the following files: