14 for (
int capId = 0; capId < 4; capId++) {
22 int range = (fAdc >> 6) & 0x3;
35 if (
range == 3 && qieCharge > qieChargeMax)
37 if (qieCharge > qieChargeMax)
double linearization(int fAdc) const
CastorChannelCoder(const float fOffset[16], const float fSlope[16])
int adc(const reco::castor::QieShape &fShape, double fCharge, int fCapId) const
fC + capid[0..3] -> ADC conversion
double charge(const reco::castor::QieShape &fShape, int fAdc, int fCapId) const
ADC[0..127]+capid[0..3]->fC conversion.
double binSize(int fAdc) const
int index(int fCapId, int Range)