![]() |
PandaRoot
|
Base class Process to create waveforms out of BSEmcMCHits. 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 | 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 | SetData (BSEmcDigitizationData *t_data) |
| Pass the data container ptrs to the process, and store pointers in class members. 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 | RunTimebased (Bool_t t_timebased=kTRUE) |
| void | SetStorageOfData (Bool_t t_storeWaves=kTRUE) |
| void | StoreDataClass (Bool_t t_storeData=kTRUE) |
| 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< BSEmcDigitizationData > | |
| 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... | |
Protected Member Functions | |
| void | SetSimulator (BSEmcAbsWaveformSimulator *t_simulator) |
| ClassDef (BSEmcWaveformGenerationProcess, 2) | |
Protected Attributes | |
| TString | fHitBranchName {""} |
| TString | fWaveformBranchName {""} |
| TString | fWaveformDataBranchName {""} |
| PndInputContainerI< BSEmcMCHit > * | fHitArray {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< BSEmcDigitizationData > | |
| 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 |
| Name of current PndProcess (for debugging) More... | |
| TStopwatch | fTimer |
| Timer to monitor Process() time. More... | |
| Double_t | fTotalTime |
| Time taken by this Process' Process() More... | |
| ProcInfo_t | fProcInfo |
| Helper to access cpu process Memory Info. More... | |
| Long_t | fLastMemSize |
Base class Process to create waveforms out of BSEmcMCHits.
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 45 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 |
|
protected |
|
virtual |
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Implements PndProcess< BSEmcDigitizationData >.
|
inline |
Definition at line 57 of file BSEmcWaveformGenerationProcess.h.
References fActivateBuffering.
|
virtual |
Pass the data container ptrs to the process, and store pointers in class members.
| t_data |
Implements PndProcess< BSEmcDigitizationData >.
|
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< BSEmcDigitizationData >.
Reimplemented in BSEmcFwEndcapWaveformGeneration, and BSEmcFwEndcapCosmicWaveformGeneration.
|
inline |
Definition at line 63 of file BSEmcWaveformGenerationProcess.h.
References fPhotonStatisticParName.
|
inlineprotected |
Definition at line 66 of file BSEmcWaveformGenerationProcess.h.
References fSimulator.
|
inline |
Definition at line 58 of file BSEmcWaveformGenerationProcess.h.
References fStoreWaves.
|
virtual |
Fetch all parameters from the PndParameterRegister.
| t_parameter |
Implements PndProcess< BSEmcDigitizationData >.
Reimplemented in BSEmcFwEndcapWaveformGeneration, and BSEmcFwEndcapCosmicWaveformGeneration.
|
inline |
Definition at line 61 of file BSEmcWaveformGenerationProcess.h.
References fWaveformBranchName.
|
inline |
Definition at line 62 of file BSEmcWaveformGenerationProcess.h.
References fWaveformDataBranchName.
|
inline |
Definition at line 59 of file BSEmcWaveformGenerationProcess.h.
References fStoreDataClass.
|
protected |
Definition at line 78 of file BSEmcWaveformGenerationProcess.h.
Referenced by RunTimebased().
|
protected |
Definition at line 83 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 71 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 68 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 82 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 84 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 80 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 79 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetPhotonStatisticParName().
|
protected |
Definition at line 74 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetSimulator().
|
protected |
Definition at line 77 of file BSEmcWaveformGenerationProcess.h.
Referenced by StoreDataClass().
|
protected |
Definition at line 76 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetStorageOfData().
|
protected |
Definition at line 81 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 69 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetWaveformBranchName().
|
protected |
Output array of BSEmcWaveforms
Definition at line 73 of file BSEmcWaveformGenerationProcess.h.
|
protected |
Definition at line 70 of file BSEmcWaveformGenerationProcess.h.
Referenced by SetWaveformDataBranchName().