1 #ifndef CALIBFORMATS_CASTOROBJECTS_CASTORTPGCODER_H
2 #define CALIBFORMATS_CASTOROBJECTS_CASTORTPGCODER_H 1
unsigned short adc2Linear(unsigned char adc, HcalDetId id) const
virtual ~CastorTPGCoder()=default
virtual std::vector< unsigned short > getLinearizationLUT(HcalDetId id) const
Get the full linearization LUT (128 elements). Default implementation just uses adc2Linear to get all...
virtual unsigned short adc2Linear(HcalQIESample sample, HcalDetId id) const =0
virtual float getLUTPedestal(HcalDetId id) const =0
virtual float getLUTGain(HcalDetId id) const =0
uint16_t *__restrict__ uint16_t const *__restrict__ adc