9 float low = coder->
charge(shape, 0, capid);
10 float high = coder->
charge(shape, bins - 1, capid);
11 float step = (high -
low) / (bins - 1);
19 float maxDiff(
float one,
float two,
float three,
float four) {
38 return fabs(max - min);
void getLinearizedADC(const CastorQIEShape &shape, const CastorQIECoder *coder, int bins, int capid, float &lo, float &hi)
float charge(const CastorQIEShape &fShape, unsigned fAdc, unsigned fCapId) const
ADC [0..127] + capid [0..3] -> fC conversion.
float maxDiff(float one, float two, float three, float four)