42 TOPSignalShape(std::vector<double> shape,
double timeBin,
double tau,
43 double pole1,
double pole2);
Normalized shape of single photon pulse (waveform) Pulse must be positive.
double m_peakTime
do not write out
const TSpline5 * getInterpolator() const
Returns interpolator.
double getTMin() const
Returns time of the first waveform sample.
double getTau() const
Returns time constant of the exponential used for the extrapolation of tail.
double getTMax() const
Returns time of the last waveform sample.
const std::vector< double > & getShape() const
Returns waveform values.
ClassDef(TOPSignalShape, 1)
do not write out
std::vector< double > m_shape
waveform values
TOPSignalShape(const TOPSignalShape &shape)
Copy constructor.
double m_pole2
noise bandwidth: second pole [GHz]
TSpline5 * m_interpolator
cache for the interpolator
double m_tau
time constant of the exponential tail [ns]
double m_tmin
time of the first waveform sample [ns]
double m_tmax
time of the last waveform sample [ns]
TOPSignalShape & operator=(const TOPSignalShape &shape)
Assignment operator.
double getPole2() const
Returns second pole of noise bandwidth.
double m_pole1
noise bandwidth: first pole [GHz]
double getPole1() const
Returns first pole of noise bandwidth.
TOPSignalShape()
Default constructor.
~TOPSignalShape()
Destructor.
double getPeakingTime() const
Returns peaking time of the signal.
double getValue(double t) const
Returns value at time t of the normalized waveform using interpolator.
Abstract base class for different kinds of events.