Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:11

0001 #include "CalibFormats/CastorObjects/interface/CastorTPGCoder.h"
0002 
0003 std::vector<unsigned short> CastorTPGCoder::getLinearizationLUT(HcalDetId id) const {
0004   std::vector<unsigned short> lut(128);
0005   for (unsigned char i = 0; i < 128; ++i)
0006     lut[i] = adc2Linear(i, id);
0007   return lut;
0008 }