PandaRoot
BSEmcMultiWaveformSimulator Class Reference

Simulator to create BSEmcMultiWaveform. More...

#include <BSEmcMultiWaveformSimulator.h>

Inheritance diagram for BSEmcMultiWaveformSimulator:
BSEmcFullStackedWaveformSimulator BSEmcAbsWaveformSimulator

Public Member Functions

 BSEmcMultiWaveformSimulator ()
 
 BSEmcMultiWaveformSimulator (Double_t t_sampleRate, BSEmcAbsPulseshape *t_pulseshape, Int_t t_wfMultiplicity)
 
virtual void AddModifier (BSEmcAbsWaveformModifier *t_wfModifier, Int_t t_wfIndex)
 
virtual Double_t GetTotalScale (Int_t t_wfIndex)
 
- Public Member Functions inherited from BSEmcFullStackedWaveformSimulator
 BSEmcFullStackedWaveformSimulator ()
 
 BSEmcFullStackedWaveformSimulator (Double_t t_sampleRate, BSEmcAbsPulseshape *t_pulseShape)
 
virtual ~BSEmcFullStackedWaveformSimulator ()
 
virtual void Init (Double_t t_samplingBeforeFirstPulse, Double_t t_samplingAfterLastPulse, Double_t t_cutoff, Double_t t_activeTimeIncrement)
 
virtual void GetAbsoluteTimeInterval (BSEmcWaveformData *t_wfData, Double_t &t_startTime, Double_t &t_activeTime)
 
virtual Double_t GetTimeBeforeFirstHit (BSEmcWaveformData *)
 
virtual Double_t GetScale ()
 
virtual BSEmcWaveformGet1GevWaveform ()
 
virtual Double_t GetPulseRiseTime ()
 
- Public Member Functions inherited from BSEmcAbsWaveformSimulator
virtual BSEmcWaveformSimulate (BSEmcWaveformData *t_wfData, TClonesArray *t_arrayToStore=nullptr)
 
virtual BSEmcWaveformSimulateSinglePulse (Double_t t_hitEnergy, Double_t t_hitTime, TClonesArray *t_arrayToStore=nullptr, Int_t t_detId=-1, Int_t t_trackId=-1, Int_t t_hitIndex=-1)
 
virtual Double_t GetTotalScale ()
 
virtual Double_t GetSampleRate ()
 
virtual void AddModifier (BSEmcAbsWaveformModifier *t_wfModifier)
 
void SetHitBranchName (const TString &t_branchname)
 

Protected Member Functions

virtual BSEmcWaveformCallModifiers (BSEmcWaveform *t_wf)
 
virtual BSEmcWaveformMakeWaveform (BSEmcWaveformData *t_wfData, TClonesArray *t_arrayToStore=nullptr)
 
virtual BSEmcWaveformMakeSingleWaveform (Double_t t_hitEnergy, Double_t t_hitTime, TClonesArray *t_arrayToStore=nullptr, Int_t t_detId=-1, Int_t t_trackId=-1, Int_t t_hitIndex=-1)
 
- Protected Member Functions inherited from BSEmcFullStackedWaveformSimulator
virtual Double_t CalcWaveForTime (Double_t t_absoluteTime, BSEmcWaveformData *t_wfData)
 
Double_t CalcSingleWaveForTime (Double_t t_absoluteTime, Double_t t_energy, Double_t t_pulseTime)
 
- Protected Member Functions inherited from BSEmcAbsWaveformSimulator
 BSEmcAbsWaveformSimulator ()
 
 BSEmcAbsWaveformSimulator (Double_t sampleRate)
 
void SyncWithADCClock (Double_t &t_time)
 
 ClassDef (BSEmcAbsWaveformSimulator, 3)
 

Additional Inherited Members

- Protected Attributes inherited from BSEmcAbsWaveformSimulator
TList fListOfWaveformModifiers {}
 
Double_t fSampleRate {-1}
 sampling rate of SADC. In 1/ns More...
 
TString fHitBranchName {""}
 

Detailed Description

Constructor & Destructor Documentation

◆ BSEmcMultiWaveformSimulator() [1/2]

BSEmcMultiWaveformSimulator::BSEmcMultiWaveformSimulator ( )

◆ BSEmcMultiWaveformSimulator() [2/2]

BSEmcMultiWaveformSimulator::BSEmcMultiWaveformSimulator ( Double_t  t_sampleRate,
BSEmcAbsPulseshape t_pulseshape,
Int_t  t_wfMultiplicity 
)

Member Function Documentation

◆ AddModifier()

virtual void BSEmcMultiWaveformSimulator::AddModifier ( BSEmcAbsWaveformModifier t_wfModifier,
Int_t  t_wfIndex 
)
virtual

wfIndex characterizes wf, the modifier will apllied on* If the modifier itself will work on the multiwaveform itself, pass a -1. In this case, the Modifier is considered to scale all waveforms equally.

◆ CallModifiers()

virtual BSEmcWaveform* BSEmcMultiWaveformSimulator::CallModifiers ( BSEmcWaveform t_wf)
protectedvirtual

Reimplemented from BSEmcAbsWaveformSimulator.

◆ GetTotalScale()

virtual Double_t BSEmcMultiWaveformSimulator::GetTotalScale ( Int_t  t_wfIndex)
virtual

◆ MakeSingleWaveform()

virtual BSEmcWaveform* BSEmcMultiWaveformSimulator::MakeSingleWaveform ( Double_t  t_hitEnergy,
Double_t  t_hitTime,
TClonesArray *  t_arrayToStore = nullptr,
Int_t  t_detId = -1,
Int_t  t_trackId = -1,
Int_t  t_hitIndex = -1 
)
protectedvirtual

Reimplemented from BSEmcFullStackedWaveformSimulator.

◆ MakeWaveform()

virtual BSEmcWaveform* BSEmcMultiWaveformSimulator::MakeWaveform ( BSEmcWaveformData t_wfData,
TClonesArray *  t_arrayToStore = nullptr 
)
protectedvirtual

Reimplemented from BSEmcFullStackedWaveformSimulator.


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