60 const char * expectedParams[] = {
61 "leptonSeedThreshold",
62 "leptonTowerThreshold",
63 "pileUpTowerThreshold",
72 "ecalET_energyCalibLUT",
73 "METX_energyCalibLUT",
74 "METY_energyCalibLUT",
75 "egammaRelaxationThreshold",
77 "egammaEnergyCalibLUT",
83 "towerCountThreshold",
89 "egammaHOverECut_iEtaLT15",
90 "egammaHOverECut_iEtaGTEq15" 92 for (
const auto param : expectedParams) {
93 if ( conf.find(param) == conf.end() ) {
94 std::cerr <<
"Unable to locate expected CaloLayer2 parameter: " << param <<
" in L1 settings payload!";
104 paramsHelper.
setJetBypassPUS(conf[
"jetBypassPileUpSub"].getValue<bool>());
114 std::vector<int> etSumEtaMax;
115 std::vector<int> etSumEtThresh;
117 etSumEtaMax.push_back(conf[
"ETMET_maxTowerEta"].getValue<int>());
118 etSumEtaMax.push_back(conf[
"HTMHT_maxJetEta"].getValue<int>());
119 etSumEtaMax.push_back(conf[
"ETMET_maxTowerEta"].getValue<int>());
120 etSumEtaMax.push_back(conf[
"HTMHT_maxJetEta"].getValue<int>());
121 etSumEtaMax.push_back(conf[
"towerCountMaxEta"].getValue<int>());
123 etSumEtThresh.push_back(conf[
"ET_towerThreshold"].getValue<int>()/2);
124 etSumEtThresh.push_back(conf[
"HT_jetThreshold"].getValue<int>()/2);
125 etSumEtThresh.push_back(conf[
"MET_towerThreshold"].getValue<int>()/2);
126 etSumEtThresh.push_back(conf[
"MHT_jetThreshold"].getValue<int>()/2);
127 etSumEtThresh.push_back(conf[
"ET_towerThreshold"].getValue<int>()/2);
129 for (uint
i=0;
i<5; ++
i) {
138 paramsHelper.
setEgMaxPtHOverE((conf[
"egammaRelaxationThreshold"].getValue<int>())/2.);
139 paramsHelper.
setEgEtaCut((conf[
"egammaMaxEta"].getValue<int>()));
void setEtSumEtaMax(unsigned isum, int eta)
void setEtSumEcalSumCalibrationLUT(const l1t::LUT &lut)
void setIsoTauEtaMax(int value)
void setEgNeighbourThreshold(double thresh)
void setTauCalibrationLUT(const l1t::LUT &lut)
void setTauIsolationLUT(const l1t::LUT &lut)
void setJetCalibrationLUT(const l1t::LUT &lut)
void setTauNeighbourThreshold(double thresh)
void setEgHOverEcutEndcap(int cut)
void setEtSumEttCalibrationLUT(const l1t::LUT &lut)
void setEgCalibrationLUT(const l1t::LUT &lut)
void setEgHOverEcutBarrel(int cut)
void setEtSumXCalibrationLUT(const l1t::LUT &lut)
void setEgBypassEGVetos(unsigned flag)
void setEtSumEtThreshold(unsigned isum, double thresh)
void setTauSeedThreshold(double thresh)
l1t::LUT convertToLUT(const std::vector< uint64_t > &v, int padding=-1) noexcept
void setEgEtaCut(int mask)
void setJetSeedThreshold(double thresh)
void setEgMaxPtHOverE(double thresh)
void setEgIsolationLUT(const l1t::LUT &lut)
void setTauIsolationLUT2(const l1t::LUT &lut)
void setJetBypassPUS(unsigned flag)
void setEgSeedThreshold(double thresh)