13 #ifndef PROCESSTASKTESTCLASSES_HH 14 #define PROCESSTASKTESTCLASSES_HH 29 virtual void Exec(Option_t *t_opt =
nullptr)
33 process->PreProcess();
35 process->PostProcess();
41 virtual void SetupDataArrays(){};
53 virtual void Process() { fProcessSet = kTRUE; }
55 virtual void TearDown() { fTearDownSet = kTRUE; }
57 Bool_t fDataSet{kFALSE};
58 Bool_t fParametersSet{kFALSE};
59 Bool_t fPreProcessSet{kFALSE};
60 Bool_t fProcessSet{kFALSE};
61 Bool_t fPostProcessSet{kFALSE};
62 Bool_t fTearDownSet{kFALSE};
Task based version of a PndProcessHandler.
virtual void TearDown()
Last actions at the end of the run.
virtual void PreProcessing(Option_t *)
Do some task preparation before PndProcesses are run once per event.
virtual void RequestDataContainer(PndContainerRegister *)
Pass the container register to the process, and get the processes container requirements.
virtual void GetDataContainer(PndContainerRegister *)
Pass the container register to the process, and set the processes container requirements.
virtual void SetupParameters(const PndParameterRegister *)
Fetch all parameters from the PndParameterRegister.
virtual void PreProcess()
PreProcess() is called before the actual Process() call in each event.
TestPndProcessTask(const std::string &t_detectorName)
virtual void PostProcessing(Option_t *)
Do some task post clean up after PndProcesses are run once per event.
virtual void Exec(Option_t *t_opt=nullptr)
Prepare Task for processing of PndProcess (e.g. reset data arrays), process the PndProcesses and do c...
TString GetDetectorName() const
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
virtual void Process()
The actual data transformation (digitizing, clustering, etc.) should be defined here.
std::string fDetectorName
std::vector< PndProcess * > fProcesses
virtual void PostProcess()
Immediately after calling Process() PostProcess() is called for cleanup of internal process data...