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")),
92 ZS(iConfig.getParameter<std::
vector<int>>(
"ZS")),
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")),
97 NCTScaleShift(iConfig.getParameter<edm::
ParameterSet>(
"tpScales")
99 .getParameter<int>(
"NCTShift")),
100 RCTScaleShift(iConfig.getParameter<edm::
ParameterSet>(
"tpScales")
102 .getParameter<int>(
"RCTShift")),
103 lsbQIE8(iConfig.getParameter<edm::
ParameterSet>(
"tpScales")
105 .getParameter<double>(
"LSBQIE8")),
106 lsbQIE11(iConfig.getParameter<edm::
ParameterSet>(
"tpScales")
108 .getParameter<double>(
"LSBQIE11")) {
126 using namespace edm::es;
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";
163 auto pTCoder = std::make_unique<CaloTPGTranscoderULUT>(
file1, file2);
std::unique_ptr< CaloTPGTranscoder > ReturnType
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
~CaloTPGTranscoderULUTs() override
edm::ESGetToken< HcalTrigTowerGeometry, CaloGeometryRecord > theTrigTowerGeometryToken
CaloTPGTranscoderULUTs(const edm::ParameterSet &)
const double nominal_gain
const std::vector< int > LUTfactor
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
const std::vector< int > ietal
const DepRecordT getRecord() const
ReturnType produce(const CaloTPGRecord &)
const edm::FileInPath hfilename1_
const bool read_Ascii_RCT
Log< level::Info, false > LogInfo
const std::vector< int > ZS
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
const bool read_Ascii_Compression
const std::vector< int > ietah
std::string fullPath() const
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken
edm::ESGetToken< HcalLutMetadata, HcalLutMetadataRcd > lutMetadataToken
void setTopo(const HcalTopology *topo)
const edm::FileInPath hfilename2_