1 #ifndef CalibCalorimetry_HcalAlgos_AbsElectronicODERHS_h_ 2 #define CalibCalorimetry_HcalAlgos_AbsElectronicODERHS_h_ 30 template <
class Pulse>
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) {
133 #endif // CalibCalorimetry_HcalAlgos_AbsElectronicODERHS_h_ static const unsigned invalidNode
virtual unsigned numberOfNodes() const =0
double getParameter(const unsigned which) const
std::vector< double > params_
virtual unsigned outputNode() const =0
HcalInterpolatedPulse & inputPulse()
const std::vector< double > & getAllParameters() const
const HcalInterpolatedPulse & inputPulse() const
AbsElectronicODERHS(const HcalInterpolatedPulse &pulse)
void setLeadingParameters(const double *values, const unsigned len)
void setParameter(const unsigned which, const double value)
double pulse(double x, double y, double z, double t)
void setInputPulse(const Pulse &pulse)
std::vector< unsigned char > paramMask_
HcalInterpolatedPulse inputPulse_
virtual unsigned controlNode() const
virtual unsigned nParameters() const =0
~AbsElectronicODERHS() override
void setLeadingParameters(const std::vector< double > &values)
bool allParametersSet() const