PandaRoot
BSEmcBaselineAdder.h
Go to the documentation of this file.
1 #ifndef BSEMCBASELINEADDER_HH
2 #define BSEMCBASELINEADDER_HH
3 
4 #include "Rtypes.h"
5 #include "RtypesCore.h"
6 
8 
9 class BSEmcWaveform;
10 class TBuffer;
11 class TClass;
12 class TMemberInspector;
13 
23  public:
25  BSEmcBaselineAdder(Double_t t_distributionMean, Double_t t_distributionWidth);
26 
27  virtual void Modify(BSEmcWaveform *t_wf) /*override*/;
28  void SetDistributionMean(Double_t t_mean) { fBaselineDistributionMean = t_mean; }
29  void SetDistributionWidth(Double_t t_width) { fBaselineDistributionWidth = t_width; }
30 
31  private:
32  Double_t fBaselineDistributionMean{0};
33  Double_t fBaselineDistributionWidth{0};
35 };
36 
37 #endif /*BSEMCBASELINEADDER_HH*/
represents a simulated waveform in an emc crystal
Definition: BSEmcWaveform.h:63
Adds a Baseline to a waveform.
virtual void Modify(BSEmcWaveform *t_wf)
interface for waveform modifiers
ClassDef(BSEmcAbsWaveformModifier, 1)
void SetDistributionMean(Double_t t_mean)
void SetDistributionWidth(Double_t t_width)