1 #ifndef CastorQIECoder_h 2 #define CastorQIECoder_h 64 float offset(
unsigned fCapId,
unsigned fRange)
const;
65 float slope(
unsigned fCapId,
unsigned fRange)
const;
67 void setOffset(
unsigned fCapId,
unsigned fRange,
float fValue);
68 void setSlope(
unsigned fCapId,
unsigned fRange,
float fValue);
float charge(const CastorQIEShape &fShape, unsigned fAdc, unsigned fCapId) const
ADC [0..127] + capid [0..3] -> fC conversion.
void setSlope(unsigned fCapId, unsigned fRange, float fValue)
unsigned adc(const CastorQIEShape &fShape, float fCharge, unsigned fCapId) const
fC + capid [0..3] -> ADC conversion
float slope(unsigned fCapId, unsigned fRange) const
float offset(unsigned fCapId, unsigned fRange) const
void setOffset(unsigned fCapId, unsigned fRange, float fValue)
CastorQIECoder(unsigned long fId=0)
#define COND_SERIALIZABLE