8 #include "TStopwatch.h" 11 #include "FairLogger.h"
virtual void Process()=0
The actual data transformation (digitizing, clustering, etc.) should be defined here.
virtual void TearDown()
Last actions at the end of the run.
std::vector< std::string > fParameterList
Parameter names required by this PndProcess. Needs to be populated in derived class.
std::string fDetectorName
Set Detector name this PndProcess transforms data for. Required for example by EMC Processes to fetch...
Double_t fTotalTime
Time taken by this Process' Process()
virtual void PreProcess()
PreProcess() is called before the actual Process() call in each event.
virtual void RequestDataContainer(PndContainerRegister *)
Pass the container register to the process, and get the processes container requirements.
const std::vector< std::string > & GetListOfRequiredParameters() const
Get the List Of Required Parameters.
virtual void PostProcess()
Immediately after calling Process() PostProcess() is called for cleanup of internal process data...
virtual void SetupParameters(const PndParameterRegister *t_parameter)=0
Fetch all parameters from the PndParameterRegister.
std::string fProcessName
Name of current PndProcess (for debugging)
PndProcess(const std::string &t_processname)
Helper class to indirect the Parameter fetching via the FairRuntimeDb.
ProcInfo_t fProcInfo
Helper to access cpu process Memory Info.
virtual void SetDetectorName(const std::string &t_detectorname)
Set the Detector name. Important, as most EmcParameter need to know for which detector they need to b...
TStopwatch fTimer
Timer to monitor Process() time.
virtual void GetDataContainer(PndContainerRegister *)
Pass the container register to the process, and set the processes container requirements.