9#include <top/dbobjects/TOPCalTimeWalk.h>
19 double noise,
double quadratic)
43 if (pulseHeight <= 0)
return 0;
44 double x = pulseHeight;
EStatus m_status
calibration status
double m_quadratic
quadratic term coefficient [ns]
@ c_Calibrated
good calibrated value
double m_noise
noise term excess coefficient [ns]
std::vector< double > m_timeWalkParams
parameters of calibration curve [ns]
double sqrt(double a)
sqrt for double
double getTimeWalk(int pulseHeight) const
Returns time-walk at given pulse height.
double getSigmaSq(int pulseHeight) const
Returns an excess of electronic time resolution at given pulse height.
void set(const std::vector< double > &timeWalkParams, double noise, double quadratic)
Sets all the parameters and switches status to calibrated.
double getSigma(int pulseHeight) const
Returns an excess of electronic time resolution at given pulse height.
Abstract base class for different kinds of events.