Base class Process to create waveforms out of BSEmcMCDeposits.
More...
#include <BSEmcWaveformGenerationProcess.h>
|
| 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) |
|
| 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...
|
|
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
- Author
- Phil Strother Original author
-
Dima Melnichuk - adaption for PANDA
-
Philipp Mahlberg mahlb.nosp@m.erg@.nosp@m.hiskp.nosp@m..uni.nosp@m.-bonn.nosp@m..de - integration in timebased
-
Ben Salisbury salis.nosp@m.bury.nosp@m.@hisk.nosp@m.p.un.nosp@m.i-bon.nosp@m.n.de - process changes
Definition at line 45 of file BSEmcWaveformGenerationProcess.h.
◆ BSEmcWaveformGenerationProcess()
BSEmcWaveformGenerationProcess::BSEmcWaveformGenerationProcess |
( |
BSEmcAbsWaveformSimulator * |
t_simulator = nullptr , |
|
|
Bool_t |
t_storewaves = kTRUE , |
|
|
Bool_t |
t_storeData = kTRUE , |
|
|
Bool_t |
t_timebased = kFALSE |
|
) |
| |
◆ ~BSEmcWaveformGenerationProcess()
virtual BSEmcWaveformGenerationProcess::~BSEmcWaveformGenerationProcess |
( |
| ) |
|
|
virtual |
◆ AddDepositData()
void BSEmcWaveformGenerationProcess::AddDepositData |
( |
const BSEmcMCDeposit * |
t_deposit, |
|
|
const Int_t |
t_depositIndex |
|
) |
| |
◆ ClassDef()
◆ GetDataContainer()
Pass the container register to the process, and set the processes container requirements.
- Parameters
-
Reimplemented from PndProcess.
◆ Process()
virtual void BSEmcWaveformGenerationProcess::Process |
( |
| ) |
|
|
virtual |
The actual data transformation (digitizing, clustering, etc.) should be defined here.
Implements PndProcess.
◆ RequestDataContainer()
Pass the container register to the process, and get the processes container requirements.
- Parameters
-
Reimplemented from PndProcess.
◆ RunTimebased()
void BSEmcWaveformGenerationProcess::RunTimebased |
( |
Bool_t |
t_timebased = kTRUE | ) |
|
|
inline |
◆ SetDetectorName()
virtual void BSEmcWaveformGenerationProcess::SetDetectorName |
( |
const std::string & |
t_detectorname | ) |
|
|
virtual |
◆ SetMCDepositBranchName()
void BSEmcWaveformGenerationProcess::SetMCDepositBranchName |
( |
const TString & |
t_branchName | ) |
|
|
inline |
◆ SetPhotonStatisticParName()
void BSEmcWaveformGenerationProcess::SetPhotonStatisticParName |
( |
const std::string & |
t_photonStatParName | ) |
|
|
inline |
◆ SetSimulator()
◆ SetStorageOfData()
void BSEmcWaveformGenerationProcess::SetStorageOfData |
( |
Bool_t |
t_storeWaves = kTRUE | ) |
|
|
inline |
◆ SetupParameters()
virtual void BSEmcWaveformGenerationProcess::SetupParameters |
( |
const PndParameterRegister * |
t_parameter | ) |
|
|
virtual |
◆ SetWaveformBranchName()
void BSEmcWaveformGenerationProcess::SetWaveformBranchName |
( |
const TString & |
t_branchName | ) |
|
|
inline |
◆ SetWaveformDataBranchName()
void BSEmcWaveformGenerationProcess::SetWaveformDataBranchName |
( |
const TString & |
t_branchName | ) |
|
|
inline |
◆ StoreDataClass()
void BSEmcWaveformGenerationProcess::StoreDataClass |
( |
Bool_t |
t_storeData = kTRUE | ) |
|
|
inline |
◆ fActivateBuffering
Bool_t BSEmcWaveformGenerationProcess::fActivateBuffering {kFALSE} |
|
protected |
◆ fExcessNoiseFactor
Double_t BSEmcWaveformGenerationProcess::fExcessNoiseFactor {0} |
|
protected |
◆ fMCDepositArray
◆ fMCDepositBranchname
TString BSEmcWaveformGenerationProcess::fMCDepositBranchname {""} |
|
protected |
◆ fNPhotoElectronsPerMeV
Double_t BSEmcWaveformGenerationProcess::fNPhotoElectronsPerMeV {0} |
|
protected |
◆ fOverlapTime
Double_t BSEmcWaveformGenerationProcess::fOverlapTime {0} |
|
protected |
◆ fPhotonStatisticPar
BSEmcDigiPar* BSEmcWaveformGenerationProcess::fPhotonStatisticPar {nullptr} |
|
protected |
◆ fPhotonStatisticParName
std::string BSEmcWaveformGenerationProcess::fPhotonStatisticParName {""} |
|
protected |
◆ fSimulator
◆ fStoreDataClass
Bool_t BSEmcWaveformGenerationProcess::fStoreDataClass {kFALSE} |
|
protected |
◆ fStoreWaves
Bool_t BSEmcWaveformGenerationProcess::fStoreWaves {kFALSE} |
|
protected |
◆ fUse_photon_statistic
Bool_t BSEmcWaveformGenerationProcess::fUse_photon_statistic {kFALSE} |
|
protected |
◆ fWaveformBranchName
TString BSEmcWaveformGenerationProcess::fWaveformBranchName {""} |
|
protected |
◆ fWaveformBuffer
◆ fWaveformDataBranchName
TString BSEmcWaveformGenerationProcess::fWaveformDataBranchName {""} |
|
protected |
The documentation for this class was generated from the following file: