MarlinTPC  1.2.0
GaussianADCPulse.h
1 
2 #ifndef GAUSSIANADCPULSE_H_
3 #define GAUSSIANADCPULSE_H_
4 #include "ADCPulse.h"
5 namespace marlintpc
6 {
7 
31 {
32 
33  public:
45 
46  GaussianADCPulse(double frequencyMHz, double riseTime, double asymmetry, double nElectronsDynamicRange, int ADCMaxValue,
47  int threshold);
48 
49  void add(double startTime, int nElectrons);
50 
52 
53  protected:
54 
55  double _riseTime;
56  double _asym;//asymmetry of pulse shape: width left = _asym*width right
57  double _sqrt2_sigma;
58 };
60 
61 }
62 
63 
64 #endif /* GaussianADCPULSE_H_ */
void add(double startTime, int nElectrons)
Add signal from charge (nElectrons) arriving.
Definition: GaussianADCPulse.cc:41
double _riseTime
Rise time of the pulse.
Definition: GaussianADCPulse.h:55
GaussianADCPulse(double frequencyMHz, double riseTime, double asymmetry, double nElectronsDynamicRange, int ADCMaxValue, int threshold)
The constructor.
Definition: GaussianADCPulse.cc:18
A simple Gaussian shaping.
Definition: GaussianADCPulse.h:30
A base class interface which holds the raw data of the pulse and represents the ADC and its shaping a...
Definition: ADCPulse.h:16
double _sqrt2_sigma
is often needed during calculation, where
Definition: GaussianADCPulse.h:57