1 #ifndef CASTOR_CHANNEL_CODER_H
2 #define CASTOR_CHANNEL_CODER_H
16 double charge (
const QieShape& fShape,
int fAdc,
int fCapId)
const;
18 int adc (
const QieShape& fShape,
double fCharge,
int fCapId)
const;
CastorChannelCoder(const float fOffset[16], const float fSlope[16])
double charge(const QieShape &fShape, int fAdc, int fCapId) const
ADC[0..127]+capid[0..3]->fC conversion.
PixelRecoRange< float > Range
int index(int fCapId, int Range)
int adc(const QieShape &fShape, double fCharge, int fCapId) const
fC + capid[0..3] -> ADC conversion