00001 #include "CalibFormats/CastorObjects/interface/CastorTPGCoder.h" 00002 00003 std::vector<unsigned short> CastorTPGCoder::getLinearizationLUT(HcalDetId id) const { 00004 std::vector<unsigned short> lut(128); 00005 for (unsigned char i=0; i<128; ++i) lut[i]=adc2Linear(i,id); 00006 return lut; 00007 }