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;
34 void setOffset (
unsigned fCapId,
unsigned fRange,
float fValue);
35 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 int mQIEIndex COND_TRANSIENT
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.