11#include <framework/database/DBObjPtr.h>
12#include <ecl/dbobjects/ECLTimeWalkCorrection.h>
55 void setTimeWalkFuncParams(
const double p0,
const double p1,
const double p2,
const double p3,
const double p4,
const double p5)
Class for accessing objects in the database.
Class to storing timing calibration functions.
double energyDependenceTimeOffsetFitParam_p4
p4 in "energy dependence equation"
bool m_loadFromDB
If true, load time walk parameters from the database.
DBObjPtr< ECLTimeWalkCorrection > m_correctionData
Payload that contains the parameters p0..p5.
double energyDependenceTimeOffsetFitParam_p2
p2 in "energy dependence equation"
double energyDependenceTimeOffsetFitParam_p5
p5 in "energy dependence equation"
void setLoadFromDatabase(bool flag)
Whether to load time walk correction coefficients from database (default) or get them from energyDepe...
double energyDependenceTimeOffsetFitParam_p3
p3 in "energy dependence equation"
double energyDependenceTimeOffsetFitParam_p0
p0 in "energy dependence equation"
void setTimeWalkFuncParams(const double p0, const double p1, const double p2, const double p3, const double p4, const double p5)
Sets the time walk function parameters to the values given by the user.
double energyDependentTimeOffsetElectronic(const double amplitude) const
Time walk function for the pre-amps i.e.
double energyDependenceTimeOffsetFitParam_p1
p1 in "energy dependence equation"
Abstract base class for different kinds of events.