14 #include <boost/cstdint.hpp>
28 unsigned adc (
const HcalQIEShape& fShape,
float fCharge,
unsigned fCapId)
const;
31 float offset (
unsigned fCapId,
unsigned fRange)
const;
32 float slope (
unsigned fCapId,
unsigned fRange)
const;
float slope(unsigned fCapId, unsigned fRange) const
void setOffset(unsigned fCapId, unsigned fRange, float fValue)
float offset(unsigned fCapId, unsigned fRange) const
HcalQIECoder(unsigned long fId=0)
#define COND_SERIALIZABLE
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.