1 #ifndef CALIBFORMATS_HCALOBJECTS_HCALTPGCODER_H
2 #define CALIBFORMATS_HCALOBJECTS_HCALTPGCODER_H 1
int adc(sample_type sample)
get the ADC sample (12 bits)
virtual float getLUTPedestal(HcalDetId id) const =0
virtual float getLUTGain(HcalDetId id) const =0
virtual void compress(const IntegerCaloSamples &ics, const std::vector< bool > &featureBits, HcalTriggerPrimitiveDigi &tp) const =0
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 void adc2Linear(const HBHEDataFrame &df, IntegerCaloSamples &ics) const =0
unsigned short adc2Linear(unsigned char adc, HcalDetId id) const