23 for (
int i = 0;
i < 4; ++
i) {
24 if (std::abs(arrParams[
i] -
other.getTimeSlewingParam(
i)) > DBL_EPSILON) {
46 return arrParams[
index];
52 for (
unsigned int i = 0;
i < arrParams.size(); ++
i) {
53 val += arrParams[
i] * std::pow(energy,
i);
bool operator==(const TimeCalibrationSlewingParams &other) const
Comparison of two time calibration coefficients.
double eval(const double energy) const
Get value of time calib slewing for a given energy.
void addTimeSlewingParam(const std::array< double, 4 > arr)
Add time calibration slewing function to the container.
double getTimeSlewingParam(const unsigned int index) const
Get time calibration slewing parameter index of function.
TimeCalibrationSlewingParams()=default
Constructor.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
VectorOfTObjectPtrs other