12 #include <boost/cstdint.hpp>
26 unsigned adc (
const HcalQIEShape& fShape,
float fCharge,
unsigned fCapId)
const;
29 float offset (
unsigned fCapId,
unsigned fRange)
const;
30 float slope (
unsigned fCapId,
unsigned fRange)
const;
32 void setOffset (
unsigned fCapId,
unsigned fRange,
float fValue);
33 void setSlope (
unsigned fCapId,
unsigned fRange,
float fValue);
float slope(unsigned fCapId, unsigned fRange) const
uint32_t qieIndex() const
void setOffset(unsigned fCapId, unsigned fRange, float fValue)
float offset(unsigned fCapId, unsigned fRange) const
HcalQIECoder(unsigned long fId=0)
void setQIEIndex(uint32_t v)
unsigned adc(const HcalQIEShape &fShape, float fCharge, unsigned fCapId) const
fC + capid [0..3] -> ADC conversion
void setSlope(unsigned fCapId, unsigned fRange, float fValue)
float charge(const HcalQIEShape &fShape, unsigned fAdc, unsigned fCapId) const
ADC [0..127] + capid [0..3] -> fC conversion.