![]() |
PandaRoot
|
Base class Process to create waveforms out of BSEmcMCDeposits. More...
#include <BSEmcWaveformGenerationProcess.h>
Public Member Functions | |
| BSEmcWaveformGenerationProcess (BSEmcAbsWaveformSimulator *t_simulator=nullptr, Bool_t t_storewaves=kTRUE, Bool_t t_storeData=kTRUE, Bool_t t_timebased=kFALSE) | |
| virtual | ~BSEmcWaveformGenerationProcess () |
| virtual void | RequestDataContainer (PndContainerRegister *t_register) |
| Pass the container register to the process, and get the processes container requirements. More... | |
| virtual void | GetDataContainer (PndContainerRegister *t_register) |
| Pass the container register to the process, and set the processes container requirements. More... | |
| 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 be fetched (each Emc Subdetector has its own set of parameters) More... | |
| virtual void | SetupParameters (const PndParameterRegister *t_parameterRegister) |
| Fetch all parameters from the PndParameterRegister. More... | |
| virtual void | Process () |
| The actual data transformation (digitizing, clustering, etc.) should be defined here. More... | |
| void | AddDepositData (const BSEmcMCDeposit *t_deposit, const Int_t t_depositIndex) |
| void | RunTimebased (Bool_t t_timebased=kTRUE) |
| void | SetStorageOfData (Bool_t t_storeWaves=kTRUE) |
| void | StoreDataClass (Bool_t t_storeData=kTRUE) |
| void | SetMCDepositBranchName (const TString &t_branchName) |
| void | SetWaveformBranchName (const TString &t_branchName) |
| void | SetWaveformDataBranchName (const TString &t_branchName) |
| void | SetPhotonStatisticParName (const std::string &t_photonStatParName) |
Public Member Functions inherited from PndProcess | |
| PndProcess () | |
| PndProcess (const std::string &t_processname) | |
| virtual | ~PndProcess () |
| const std::vector< std::string > & | GetListOfRequiredParameters () const |
| Get the List Of Required Parameters. More... | |
| virtual void | PreProcess () |
| PreProcess() is called before the actual Process() call in each event. More... | |
| virtual void | PostProcess () |
| Immediately after calling Process() PostProcess() is called for cleanup of internal process data, or if not needed, to end the time and memory increase measurement started by PreProcess() More... | |
| virtual void | TearDown () |
| Last actions at the end of the run. More... | |
| virtual void | SetEventTime (Double_t t_eventtime) |
| Set the Event time. More... | |
Protected Member Functions | |
| void | SetSimulator (BSEmcAbsWaveformSimulator *t_simulator) |
| ClassDef (BSEmcWaveformGenerationProcess, 2) | |
Protected Attributes | |
| TString | fMCDepositBranchname {""} |
| TString | fWaveformBranchName {""} |
| TString | fWaveformDataBranchName {""} |
| PndContainerI< BSEmcMCDeposit > * | fMCDepositArray {nullptr} |
| BSEmcWaveformBuffer * | fWaveformBuffer {nullptr} |
| BSEmcAbsWaveformSimulator * | fSimulator {nullptr} |
| Bool_t | fStoreWaves {kFALSE} |
| Bool_t | fStoreDataClass {kFALSE} |
| Bool_t | fActivateBuffering {kFALSE} |
| std::string | fPhotonStatisticParName {""} |
| BSEmcDigiPar * | fPhotonStatisticPar {nullptr} |
| Bool_t | fUse_photon_statistic {kFALSE} |
| Double_t | fNPhotoElectronsPerMeV {0} |
| Double_t | fExcessNoiseFactor {0} |
| Double_t | fOverlapTime {0} |
Protected Attributes inherited from PndProcess | |
| std::vector< std::string > | fParameterList {} |
| Parameter names required by this PndProcess. Needs to be populated in derived class. More... | |
| std::string | fDetectorName {""} |
| Set Detector name this PndProcess transforms data for. Required for example by EMC Processes to fetch right parameters. More... | |
| std::string | fProcessName {"PndProcess"} |
| Name of current PndProcess (for debugging) More... | |
| TStopwatch | fTimer {} |
| Timer to monitor Process() time. More... | |
| Double_t | fTotalTime {0} |
| Time taken by this Process' Process() More... | |
| ProcInfo_t | fProcInfo |
| Helper to access cpu process Memory Info. More... | |
| Long_t | fLastMemSize |
| Double_t | fEventTime {0} |
Base class Process to create waveforms out of BSEmcMCDeposits.
This is a base class for emc detector specific waveform generation processes. Derived processes need to implement and set the BSEmcAbsWaveformSimulator. The BSEmcAbsWaveformSimulator should actually be a BSEmcMultiWaveformSimulator
Definition at line 57 of file BSEmcWaveformGenerationProcess.h.
| BSEmcWaveformGenerationProcess::BSEmcWaveformGenerationProcess | ( | BSEmcAbsWaveformSimulator * | t_simulator = nullptr, |
| Bool_t | t_storewaves = kTRUE, |
||
| Bool_t | t_storeData = kTRUE, |
||
| Bool_t | t_timebased = kFALSE |
||
| ) |
|
virtual |
| void BSEmcWaveformGenerationProcess::AddDepositData | ( | const BSEmcMCDeposit * | t_deposit, |
| const Int_t | t_depositIndex | ||
| ) |
|
protected |
|
virtual |
Pass the container register to the process, and set the processes container requirements.
| t_register |
Reimplemented from PndProcess.
|
virtual |
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Implements PndProcess.
|
virtual |
Pass the container register to the process, and get the processes container requirements.
| t_register |
Reimplemented from PndProcess.
|
inline |
Definition at line 70 of file BSEmcWaveformGenerationProcess.h.
References fActivateBuffering.
|
virtual |
Set the Detector name. Important, as most EmcParameter need to know for which detector they need to be fetched (each Emc Subdetector has its own set of parameters)
| t_detectorname |
Reimplemented from PndProcess.
Reimplemented in BSEmcFwEndcapWaveformGeneration, and BSEmcFwEndcapCosmicWaveformGeneration.
|
inline |
Definition at line 74 of file BSEmcWaveformGenerationProcess.h.
References fMCDepositBranchname.
|
inline |
Definition at line 77 of file BSEmcWaveformGenerationProcess.h.
References fPhotonStatisticParName.
|
inlineprotected |
Definition at line 80 of file BSEmcWaveformGenerationProcess.h.
References fSimulator.
|
inline |
Definition at line 71 of file BSEmcWaveformGenerationProcess.h.
References fStoreWaves.
|
virtual |
Fetch all parameters from the PndParameterRegister.
| t_parameter |
Implements PndProcess.
Reimplemented in BSEmcFwEndcapWaveformGeneration, and BSEmcFwEndcapCosmicWaveformGeneration.
|
inline |
Definition at line 75 of file BSEmcWaveformGenerationProcess.h.
References fWaveformBranchName.
|
inline |
Definition at line 76 of file BSEmcWaveformGenerationProcess.h.
References fWaveformDataBranchName.
|
inline |
Definition at line 72 of file BSEmcWaveformGenerationProcess.h.
References fStoreDataClass.
|
protected |
Definition at line 91 of file BSEmcWaveformGenerationProcess.h.
Referenced by RunTimebased().
|
protected |
Definition at line 96 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 84 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 81 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetMCDepositBranchName().
|
protected |
Definition at line 95 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 97 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 93 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 92 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetPhotonStatisticParName().
|
protected |
Definition at line 87 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetSimulator().
|
protected |
Definition at line 90 of file BSEmcWaveformGenerationProcess.h.
Referenced by StoreDataClass().
|
protected |
Definition at line 89 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetStorageOfData().
|
protected |
Definition at line 94 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 82 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetWaveformBranchName().
|
protected |
Output array of BSEmcWaveforms
Definition at line 86 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 83 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetWaveformDataBranchName().