PandaRoot
BSEmcWaveformDigitizer.h
Go to the documentation of this file.
1 //#pragma once
2 #ifndef BSEMCWAVEFORMDIGITIZER_HH
3 #define BSEMCWAVEFORMDIGITIZER_HH
4 #include "Rtypes.h"
5 #include "RtypesCore.h"
6 
8 
9 class BSEmcWaveform;
10 class TBuffer;
11 class TClass;
12 class TMemberInspector;
13 
20  public:
22  BSEmcWaveformDigitizer(Double_t t_onebitresolution, Double_t t_inputScale, Int_t t_totalChannels);
23 
24  virtual void Modify(BSEmcWaveform *t_wf) /*override*/;
25  virtual Double_t GetScale() /*override*/ { return fTotalChannels / fInputScale; }
26 
27  private:
28  Double_t fInputScale{0};
29  Double_t fOneBitResolution{0};
30  Int_t fTotalChannels{0};
31 
33 };
34 
35 #endif /*BSEMCWAVEFORMDIGITIZER_HH*/
represents a simulated waveform in an emc crystal
Definition: BSEmcWaveform.h:63
interface for waveform modifiers
ClassDef(BSEmcAbsWaveformModifier, 1)
virtual void Modify(BSEmcWaveform *t_wf)