CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/CalibFormats/HcalObjects/src/HcalTPGCoder.cc

Go to the documentation of this file.
00001 #include "CalibFormats/HcalObjects/interface/HcalTPGCoder.h"
00002 
00003 std::vector<unsigned short> HcalTPGCoder::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 }