CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CalibFormats/CastorObjects/src/CastorTPGCoder.cc

Go to the documentation of this file.
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 }