57 const char * expectedParams[] = {
58 "leptonSeedThreshold",
59 "leptonTowerThreshold",
60 "pileUpTowerThreshold",
69 "ecalET_energyCalibLUT",
70 "METX_energyCalibLUT",
71 "METY_energyCalibLUT",
72 "egammaRelaxationThreshold",
74 "egammaEnergyCalibLUT",
80 "towerCountThreshold",
86 "egammaHOverECut_iEtaLT15",
87 "egammaHOverECut_iEtaGTEq15" 89 for (
const auto param : expectedParams) {
90 if ( conf.find(param) == conf.end() ) {
91 std::cerr <<
"Unable to locate expected CaloLayer2 parameter: " << param <<
" in L1 settings payload!";
101 paramsHelper.
setJetBypassPUS(conf[
"jetBypassPileUpSub"].getValue<bool>());
111 std::vector<int> etSumEtaMax;
112 std::vector<int> etSumEtThresh;
114 etSumEtaMax.push_back(conf[
"ETMET_maxTowerEta"].getValue<int>());
115 etSumEtaMax.push_back(conf[
"HTMHT_maxJetEta"].getValue<int>());
116 etSumEtaMax.push_back(conf[
"ETMET_maxTowerEta"].getValue<int>());
117 etSumEtaMax.push_back(conf[
"HTMHT_maxJetEta"].getValue<int>());
118 etSumEtaMax.push_back(conf[
"towerCountMaxEta"].getValue<int>());
120 etSumEtThresh.push_back(conf[
"ET_towerThreshold"].getValue<int>()/2);
121 etSumEtThresh.push_back(conf[
"HT_jetThreshold"].getValue<int>()/2);
122 etSumEtThresh.push_back(conf[
"MET_towerThreshold"].getValue<int>()/2);
123 etSumEtThresh.push_back(conf[
"MHT_jetThreshold"].getValue<int>()/2);
124 etSumEtThresh.push_back(conf[
"ET_towerThreshold"].getValue<int>()/2);
126 for (uint
i=0;
i<5; ++
i) {
135 paramsHelper.
setEgMaxPtHOverE((conf[
"egammaRelaxationThreshold"].getValue<int>())/2.);
136 paramsHelper.
setEgEtaCut((conf[
"egammaMaxEta"].getValue<int>()));
void setEtSumEtaMax(unsigned isum, int eta)
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 setEtSumXPUSLUT(const l1t::LUT &lut)
void setEgCalibrationLUT(const l1t::LUT &lut)
void setEtSumEttPUSLUT(const l1t::LUT &lut)
void setEgHOverEcutBarrel(int cut)
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)
void setEtSumEcalSumPUSLUT(const l1t::LUT &lut)