60 const std::vector<int>
ZS;
86 : hfilename1_(iConfig.getParameter<
edm::FileInPath>(
"hcalLUT1")),
87 hfilename2_(iConfig.getParameter<
edm::FileInPath>(
"hcalLUT2")),
88 read_Ascii_Compression(iConfig.getParameter<
bool>(
"read_Ascii_Compression_LUTs")),
89 read_Ascii_RCT(iConfig.getParameter<
bool>(
"read_Ascii_RCT_LUTs")),
90 ietal(iConfig.getParameter<
std::
vector<
int>>(
"ietaLowerBound")),
91 ietah(iConfig.getParameter<
std::
vector<
int>>(
"ietaUpperBound")),
93 LUTfactor(iConfig.getParameter<
std::
vector<
int>>(
"LUTfactor")),
94 linearLUTs_(iConfig.getParameter<
bool>(
"linearLUTs")),
95 nominal_gain(iConfig.getParameter<double>(
"nominal_gain")),
96 RCTLSB(iConfig.getParameter<double>(
"RCTLSB")),
99 .getParameter<
int>(
"NCTShift")),
102 .getParameter<
int>(
"RCTShift")),
105 .getParameter<double>(
"LSBQIE8")),
108 .getParameter<double>(
"LSBQIE11")) {
131 <<
" for CaloTPGTranscoderULUTs HCAL initialization";
138 <<
" RCT decompression for CaloTPGTranscoderULUTs HCAL initialization";
144 <<
" and automatic RCT decompression for CaloTPGTranscoderULUTs HCAL initialization";
150 <<
"Using analytical compression and RCT decompression for CaloTPGTranscoderULUTs HCAL initialization";
164 auto pTCoder = std::make_unique<CaloTPGTranscoderULUT>(
file1,
file2);
std::unique_ptr< CaloTPGTranscoder > ReturnType
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
~CaloTPGTranscoderULUTs() override
std::string fullPath() const
uint32_t cc[maxCellsPerHit]
edm::ESGetToken< HcalTrigTowerGeometry, CaloGeometryRecord > theTrigTowerGeometryToken
CaloTPGTranscoderULUTs(const edm::ParameterSet &)
const double nominal_gain
const std::vector< int > LUTfactor
const std::vector< int > ietal
ReturnType produce(const CaloTPGRecord &)
const edm::FileInPath hfilename1_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
const bool read_Ascii_RCT
Log< level::Info, false > LogInfo
const std::vector< int > ZS
const bool read_Ascii_Compression
const std::vector< int > ietah
const DepRecordT getRecord() const
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken
edm::ESGetToken< HcalLutMetadata, HcalLutMetadataRcd > lutMetadataToken
void setTopo(const HcalTopology *topo)
const edm::FileInPath hfilename2_