CMS 3D CMS Logo

HcalTPGCoder.cc
Go to the documentation of this file.
2 
3 std::vector<unsigned short> HcalTPGCoder::getLinearizationLUT(HcalDetId id) const {
4  std::vector<unsigned short> lut(128);
5  for (unsigned char i=0; i<128; ++i) lut[i]=adc2Linear(i,id);
6  return lut;
7 }
int i
Definition: DBlmapReader.cc:9
virtual std::vector< unsigned short > getLinearizationLUT(HcalDetId id) const
Get the full linearization LUT (128 elements). Default implementation just uses adc2Linear to get all...
Definition: HcalTPGCoder.cc:3
virtual void adc2Linear(const HBHEDataFrame &df, IntegerCaloSamples &ics) const =0