CalibFormats
HcalObjects
src
HcalTPGCoder.cc
Go to the documentation of this file.
1
#include "
CalibFormats/HcalObjects/interface/HcalTPGCoder.h
"
2
3
std::vector<unsigned short>
HcalTPGCoder::getLinearizationLUT
(
HcalDetId
id
)
const
{
4
std::vector<unsigned short> lut(128);
5
for
(
unsigned
char
i
= 0;
i
< 128; ++
i
)
6
lut[
i
] =
adc2Linear
(
i
,
id
);
7
return
lut;
8
}
mps_fire.i
i
Definition:
mps_fire.py:428
HcalTPGCoder::getLinearizationLUT
virtual std::vector< unsigned short > getLinearizationLUT(HcalDetId id) const
Get the full linearization LUT (128 elements). Default implementation just uses adc2Linear to get all...
Definition:
HcalTPGCoder.cc:3
HcalTPGCoder::adc2Linear
virtual void adc2Linear(const HBHEDataFrame &df, IntegerCaloSamples &ics) const =0
HcalDetId
Definition:
HcalDetId.h:12
HcalTPGCoder.h
Generated for CMSSW Reference Manual by
1.8.16