CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/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 }