1 #ifndef CalibCalorimetry_HcalAlgos_AbsElectronicODERHS_h_
2 #define CalibCalorimetry_HcalAlgos_AbsElectronicODERHS_h_
30 template <
class Pulse>
61 for (
unsigned i = 0;
i < nExpected; ++
i)
80 "In AbsElectronicODERHS::getParameter: no such parameter or "
81 "parameter value is not established yet");
88 "In AbsElectronicODERHS::getAllParameters: "
89 "some parameter values were not established yet");
98 const unsigned sz =
params_.size();
99 const unsigned imax =
std::min(sz, len);
100 for (
unsigned i = 0;
i < imax; ++
i) {
126 for (
unsigned i = 0;
i < nExpected; ++
i)
133 #endif // CalibCalorimetry_HcalAlgos_AbsElectronicODERHS_h_
static const unsigned invalidNode
virtual unsigned numberOfNodes() const =0
std::vector< double > params_
virtual unsigned outputNode() const =0
HcalInterpolatedPulse & inputPulse()
const HcalInterpolatedPulse & inputPulse() const
virtual unsigned controlNode() const
double getParameter(const unsigned which) const
AbsElectronicODERHS(const HcalInterpolatedPulse &pulse)
void setLeadingParameters(const double *values, const unsigned len)
void setParameter(const unsigned which, const double value)
const std::vector< double > & getAllParameters() const
double pulse(double x, double y, double z, double t)
void setInputPulse(const Pulse &pulse)
std::vector< unsigned char > paramMask_
HcalInterpolatedPulse inputPulse_
bool allParametersSet() const
virtual unsigned nParameters() const =0
~AbsElectronicODERHS() override
void setLeadingParameters(const std::vector< double > &values)