1 #ifndef CalibCalorimetry_HcalAlgos_AbsElectronicODERHS_h_ 2 #define CalibCalorimetry_HcalAlgos_AbsElectronicODERHS_h_ 64 for (
unsigned i=0;
i<nExpected; ++
i)
85 "In AbsElectronicODERHS::getParameter: no such parameter or " 86 "parameter value is not established yet");
93 "In AbsElectronicODERHS::getAllParameters: " 94 "some parameter values were not established yet");
105 const unsigned sz =
params_.size();
106 const unsigned imax =
std::min(sz, len);
107 for (
unsigned i=0;
i<imax; ++
i)
135 params_.resize(nExpected);
136 paramMask_.resize(nExpected);
137 for (
unsigned i=0;
i<nExpected; ++
i)
144 #endif // CalibCalorimetry_HcalAlgos_AbsElectronicODERHS_h_
virtual unsigned numberOfNodes() const =0
static const unsigned invalidNode
virtual unsigned nParameters() const =0
std::vector< double > params_
HcalInterpolatedPulse & inputPulse()
virtual unsigned outputNode() const =0
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
~AbsElectronicODERHS() override
void setLeadingParameters(const std::vector< double > &values)