![]() |
PandaRoot
|
Task to manage all Processes required to transfrom BSEmcMCPoints into BSEmcMCDeposits. More...
#include <BSEmcMCDepositProducerTask.h>
Public Member Functions | |
BSEmcMCDepositProducerTask (const std::string &t_detectorName="Barrel", Bool_t t_storeDeposits=kTRUE) | |
virtual | ~BSEmcMCDepositProducerTask () |
void | SetPointBranchName (const std::string &t_depositbranchname) |
void | SetMCDepositBranchName (const std::string &t_depositbranchname) |
![]() | |
PndProcessTask (const std::string &t_detectorName) | |
virtual | ~PndProcessTask () |
virtual InitStatus | Init () final |
Initialise this task. This must be called AFTER SetParContainers(), otherwise we will try to pass the parameters to the PndProcesses, while the parameter were not fetched yet. More... | |
virtual void | Exec (Option_t *t_opt=nullptr) |
Prepare Task for processing of PndProcess (e.g. reset data arrays), process the PndProcesses and do cleanup during the PostProcessing. More... | |
virtual void | Finish () |
End the task, call TearDown for all PndProcesses. More... | |
![]() | |
PndPersistencyTask () | |
PndPersistencyTask (const char *name, Int_t iVerbose=1) | |
virtual | ~PndPersistencyTask () |
void | SetPersistency (Bool_t val=kTRUE) |
Bool_t | GetPersistency () |
![]() | |
PndProcessHandler (const std::string &t_detectorname="") | |
virtual | ~PndProcessHandler () |
void | AddProcess (PndProcess *) |
Add a PndProcess of appropriate type to the list of PndProcesses to be managed. More... | |
void | CallProcesses () |
Call for all PndProcesses the PreProcess/Process/PosProcess functions. More... | |
void | SetupProcesses () |
Call for each PndProcess the SetupParameter. More... | |
const std::vector< PndProcess * > & | GetProcesses () |
PndParameterRegister * | GetParameterRegister () |
const PndParameterRegister * | GetParameterRegister () const |
const std::string & | GetDetectorName () const |
virtual void | GetRequiredDataContainerInfo () |
virtual void | PassDataContainersToProcesses () |
Protected Member Functions | |
virtual void | PreProcessing (Option_t *) |
Do some task preparation before PndProcesses are run once per event. More... | |
virtual void | PostProcessing (Option_t *) |
Do some task post clean up after PndProcesses are run once per event. More... | |
virtual void | SetupDataArrays () |
Define which data containers need to be fetched from the FairRootManager, pass the data container addresses into a simple struct to distribute the addresses to the PndProcesses so they can read and write the data to them. Needs to be implemented in the derived PndProcessTask, such as the BSEmcClusteringTask. More... | |
![]() | |
void | SetParContainers () final |
Fetch the FairRuntimeDb and populate the PndParameterRegister with all requested parameter. Has to be called before Init() More... | |
template<class T > | |
Bool_t | DispatchRequest (const PndContainerRegister::PndContainerType_t &t_container, PndContainerRegister *t_register, const TString &t_defaultName) |
TClonesArray * | GetInputArray (const TString &t_branchname, const TString &t_classtype) |
TClonesArray * | GetOutputArray (const TString &t_branchname, const TString &t_classtype, const TString &t_foldername, Bool_t t_persistenxy) |
template<class T > | |
Bool_t | HandledRequest (const PndContainerRegister::PndContainerType_t &t_container, PndContainerRegister *t_register, const TString &t_defaultName) |
![]() | |
virtual void | SetupProcess (PndProcess *t_process) |
Additional Inherited Members | |
![]() | |
std::vector< PndProcess * > | fProcesses {} |
std::unique_ptr< PndParameterRegister > | fParameterRegister {new PndParameterRegister} |
std::unique_ptr< PndContainerRegister > | fContainerRegister {new PndContainerRegister} |
std::string | fDetectorName {""} |
Task to manage all Processes required to transfrom BSEmcMCPoints into BSEmcMCDeposits.
Definition at line 24 of file BSEmcMCDepositProducerTask.h.
BSEmcMCDepositProducerTask::BSEmcMCDepositProducerTask | ( | const std::string & | t_detectorName = "Barrel" , |
Bool_t | t_storeDeposits = kTRUE |
||
) |
|
virtual |
|
protectedvirtual |
Do some task post clean up after PndProcesses are run once per event.
Reimplemented from PndProcessTask.
Referenced by SetMCDepositBranchName().
|
protectedvirtual |
Do some task preparation before PndProcesses are run once per event.
Reimplemented from PndProcessTask.
Referenced by SetMCDepositBranchName().
|
inline |
Definition at line 30 of file BSEmcMCDepositProducerTask.h.
References PostProcessing(), PreProcessing(), and SetupDataArrays().
|
inline |
Definition at line 29 of file BSEmcMCDepositProducerTask.h.
|
protectedvirtual |
Define which data containers need to be fetched from the FairRootManager, pass the data container addresses into a simple struct to distribute the addresses to the PndProcesses so they can read and write the data to them. Needs to be implemented in the derived PndProcessTask, such as the BSEmcClusteringTask.
Implements PndProcessTask.
Referenced by SetMCDepositBranchName().