Go to the documentation of this file. 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_
HcalInterpolatedPulse & inputPulse()
virtual unsigned controlNode() const
const std::vector< double > & getAllParameters() const
double pulse(double x, double y, double z, double t)
void setParameter(const unsigned which, const double value)
std::vector< double > params_
AbsElectronicODERHS(const HcalInterpolatedPulse &pulse)
virtual unsigned outputNode() const =0
void setInputPulse(const Pulse &pulse)
virtual unsigned nParameters() const =0
virtual unsigned numberOfNodes() const =0
std::vector< unsigned char > paramMask_
bool allParametersSet() const
void setLeadingParameters(const std::vector< double > &values)
HcalInterpolatedPulse inputPulse_
const HcalInterpolatedPulse & inputPulse() const
double getParameter(const unsigned which) const
~AbsElectronicODERHS() override
void setLeadingParameters(const double *values, const unsigned len)
static const unsigned invalidNode