PandaRoot
BSEmcFwEndcapWaveformGeneration Class Reference

Process to create Waveforms out of BSEmcMCHits based on BSEmcFwEndcapDigi. More...

#include <BSEmcFwEndcapWaveformGeneration.h>

Inheritance diagram for BSEmcFwEndcapWaveformGeneration:
BSEmcWaveformGenerationProcess PndProcess< BSEmcDigitizationData >

Public Member Functions

 BSEmcFwEndcapWaveformGeneration ()
 
virtual ~BSEmcFwEndcapWaveformGeneration ()
 
virtual void SetDetectorName (const std::string &t_detectorName)
 Sets the detectorname and fills the parameterlist with names of all required parameter. More...
 
virtual void SetupParameters (const PndParameterRegister *t_parameterRegister)
 Fetches the parameteres requested in SetDetectorName. More...
 
- Public Member Functions inherited from BSEmcWaveformGenerationProcess
 BSEmcWaveformGenerationProcess (BSEmcAbsWaveformSimulator *t_simulator=nullptr, Bool_t t_storewaves=kTRUE, Bool_t t_storeData=kTRUE, Bool_t t_timebased=kFALSE)
 
virtual ~BSEmcWaveformGenerationProcess ()
 
virtual void SetData (BSEmcDigitizationData *t_data)
 Pass the data container ptrs to the process, and store pointers in class members. 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

virtual void SetupSimulator ()
 Defines the waveform simulator. More...
 
 ClassDef (BSEmcFwEndcapWaveformGeneration, 1)
 
- Protected Member Functions inherited from BSEmcWaveformGenerationProcess
void SetSimulator (BSEmcAbsWaveformSimulator *t_simulator)
 
 ClassDef (BSEmcWaveformGenerationProcess, 2)
 

Protected Attributes

std::string fWaveformGenerationParName {""}
 
BSEmcFwEndcapWaveformGenParfWaveformGenerationPar {nullptr}
 
- Protected Attributes inherited from BSEmcWaveformGenerationProcess
TString fHitBranchName {""}
 
TString fWaveformBranchName {""}
 
TString fWaveformDataBranchName {""}
 
PndInputContainerI< BSEmcMCHit > * fHitArray {nullptr}
 
BSEmcWaveformBufferfWaveformBuffer {nullptr}
 
BSEmcAbsWaveformSimulatorfSimulator {nullptr}
 
Bool_t fStoreWaves {kFALSE}
 
Bool_t fStoreDataClass {kFALSE}
 
Bool_t fActivateBuffering {kFALSE}
 
std::string fPhotonStatisticParName {""}
 
BSEmcDigiParfPhotonStatisticPar {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
 

Detailed Description

Process to create Waveforms out of BSEmcMCHits based on BSEmcFwEndcapDigi.

Specific implementation of the Waveformsimulator for the FwEndcap then used in BSEmcWaveformGenerationProcess to transform BSEmcMCHits into BSEmcMultiWaveforms

Author
Ph. Mahlberg mahlb.nosp@m.erg@.nosp@m.hiskp.nosp@m..uni.nosp@m.-bonn.nosp@m..de

Definition at line 30 of file BSEmcFwEndcapWaveformGeneration.h.

Constructor & Destructor Documentation

◆ BSEmcFwEndcapWaveformGeneration()

BSEmcFwEndcapWaveformGeneration::BSEmcFwEndcapWaveformGeneration ( )

◆ ~BSEmcFwEndcapWaveformGeneration()

virtual BSEmcFwEndcapWaveformGeneration::~BSEmcFwEndcapWaveformGeneration ( )
virtual

Member Function Documentation

◆ ClassDef()

BSEmcFwEndcapWaveformGeneration::ClassDef ( BSEmcFwEndcapWaveformGeneration  ,
 
)
protected

◆ SetDetectorName()

virtual void BSEmcFwEndcapWaveformGeneration::SetDetectorName ( const std::string &  t_detectorName)
virtual

Sets the detectorname and fills the parameterlist with names of all required parameter.

Parameters
t_detectorName

Reimplemented from BSEmcWaveformGenerationProcess.

◆ SetupParameters()

virtual void BSEmcFwEndcapWaveformGeneration::SetupParameters ( const PndParameterRegister t_parameterRegister)
virtual

Fetches the parameteres requested in SetDetectorName.

Parameters
t_parameterRegister

Reimplemented from BSEmcWaveformGenerationProcess.

◆ SetupSimulator()

virtual void BSEmcFwEndcapWaveformGeneration::SetupSimulator ( )
protectedvirtual

Defines the waveform simulator.

Member Data Documentation

◆ fWaveformGenerationPar

BSEmcFwEndcapWaveformGenPar* BSEmcFwEndcapWaveformGeneration::fWaveformGenerationPar {nullptr}
protected

Definition at line 57 of file BSEmcFwEndcapWaveformGeneration.h.

◆ fWaveformGenerationParName

std::string BSEmcFwEndcapWaveformGeneration::fWaveformGenerationParName {""}
protected

Definition at line 56 of file BSEmcFwEndcapWaveformGeneration.h.


The documentation for this class was generated from the following file: