Go to the documentation of this file.
12 : mCoder(&fCoder), mShape(&fShape) {}
17 for (
int i = 0;
i <
df.size();
i++) {
28 for (
int i = 0;
i < clf.
size();
i++) {
29 int capId = (fCapIdOffset +
i) % 4;
int size() const
get the size
uint16_t *__restrict__ uint16_t const *__restrict__ adc
void fC2adc(const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const override
const CastorQIEShape * mShape
void fC2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
void setPresamples(int pre)
set presample information
const CastorQIECoder * mCoder
float charge(const CastorQIEShape &fShape, unsigned fAdc, unsigned fCapId) const
ADC [0..127] + capid [0..3] -> fC conversion.
CastorCoderDb(const CastorQIECoder &fCoder, const CastorQIEShape &fShape)
DetId id() const
get the (generic) id
unsigned adc(const CastorQIEShape &fShape, float fCharge, unsigned fCapId) const
fC + capid [0..3] -> ADC conversion
int presamples() const
access presample information
void adc2fC_(const Digi &df, CaloSamples &clf) const
void adc2fC(const CastorDataFrame &df, CaloSamples &lf) const override