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)
137 for (
unsigned i=0;
i<nExpected; ++
i)
144 #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
void setInputPulse(const Pulse &pulse)
std::vector< unsigned char > paramMask_
HcalInterpolatedPulse inputPulse_
bool allParametersSet() const
virtual unsigned nParameters() const =0
volatile std::atomic< bool > shutdown_flag false
virtual ~AbsElectronicODERHS()
void setLeadingParameters(const std::vector< double > &values)