51 B2FATAL(
"Parameter index should be within [0, " <<
53 LogVar(
"parameter index", n));
72 void setParams(
const std::vector<double>& new_params)
75 B2FATAL(
"Count of parameters must always be equal to " <<
77 LogVar(
"count of parameters", new_params.size()));
This object contain parameters of the Time-Walk correction function of the ECL.
void setParamFormat(int newval)
Set parameter format ID.
int m_parFormat
Format of the correction parameters 0 - same set of (c_expectedParametersCount) parameters for all Ce...
ClassDef(ECLTimeWalkCorrection, 1)
tells ROOT not to write it to file
ECLTimeWalkCorrection()
Default constructor.
static const int c_expectedParametersCount
Number of values expected to be in the m_par vector.
std::vector< double > m_par
List of time walk correction parameters.
void setParam(int n, double newval)
set nth parameter of the time-walk correction.
std::vector< double > getParams() const
Return std::vector containing all parameters of the time walk correction function.
double getParam(int n) const
return nth parameter of the time-walk correction.
int getParamFormat()
Get parameter format ID.
~ECLTimeWalkCorrection()
Destructor.
void setParams(const std::vector< double > &new_params)
Set std::vector containing all parameters of the time walk correction function.
Class to store variables with their name which were sent to the logging service.
Abstract base class for different kinds of events.