Main Page
Namespaces
Classes
Package Documentation
CalibFormats
CastorObjects
src
CastorTPGCoder.cc
Go to the documentation of this file.
1
#include "
CalibFormats/CastorObjects/interface/CastorTPGCoder.h
"
2
3
std::vector<unsigned short>
CastorTPGCoder::getLinearizationLUT
(
HcalDetId
id
)
const
{
4
std::vector<unsigned short>
lut
(128);
5
for
(
unsigned
char
i
=0;
i
<128; ++
i
) lut[
i
]=
adc2Linear
(
i
,
id
);
6
return
lut
;
7
}
mps_fire.i
i
Definition:
mps_fire.py:329
HcalDetId
Definition:
HcalDetId.h:13
CastorTPGCoder::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:
CastorTPGCoder.cc:3
CastorTPGCoder.h
lumiPlot.lut
lut
Definition:
lumiPlot.py:245
CastorTPGCoder::adc2Linear
virtual unsigned short adc2Linear(HcalQIESample sample, HcalDetId id) const =0
Generated for CMSSW Reference Manual by
1.8.11