69 setWhatProduced(
this);
99 auto egTrimmingLUT = std::make_shared<LUT>(egTrimmingLUTStream);
118 auto egMaxHOverELUT = std::make_shared<LUT>(egMaxHOverELUTStream);
123 auto egCompressShapesLUT = std::make_shared<LUT>(egCompressShapesLUTStream);
130 auto egShapeIdLUT = std::make_shared<LUT>(egShapeIdLUTStream);
138 auto egIsoLUT = std::make_shared<LUT>(egIsoLUTStream);
142 auto egIsoLUT2 = std::make_shared<LUT>(egIsoLUTStream2);
167 auto egCalibrationLUT = std::make_shared<LUT>(egCalibrationLUTStream);
186 auto tauIsoLUT = std::make_shared<LUT>(tauIsoLUTStream);
191 std::shared_ptr<LUT> tauIsoLUT2(
new LUT(tauIsoLUTStream2));
196 std::shared_ptr<LUT> tauTrimmingShapeVetoLUT(
new LUT(tauTrimmingShapeVetoLUTStream));
201 auto tauCalibrationLUT = std::make_shared<LUT>(tauCalibrationLUTStream);
206 auto tauCompressLUT = std::make_shared<LUT>(tauCompressLUTStream);
211 auto tauEtToHFRingEtLUT = std::make_shared<LUT>(tauEtToHFRingEtLUTStream);
231 auto jetCalibrationLUT = std::make_shared<LUT>(jetCalibrationLUTStream);
235 std::shared_ptr<LUT> jetCompressEtaLUT(
new LUT(jetCompressEtaLUTStream));
239 std::shared_ptr<LUT> jetCompressPtLUT(
new LUT(jetCompressPtLUTStream));
266 edm::LogError(
"l1t|calo") <<
"Inconsistent number of EtSum parameters" << std::endl;
271 std::shared_ptr<LUT> etSumMetPUSLUT(
new LUT(etSumMetPUSLUTStream));
276 std::shared_ptr<LUT> etSumEttPUSLUT(
new LUT(etSumEttPUSLUTStream));
281 std::shared_ptr<LUT> etSumEcalSumPUSLUT(
new LUT(etSumEcalSumPUSLUTStream));
286 std::shared_ptr<LUT> metCalibrationLUT(
new LUT(metCalibrationLUTStream));
291 std::shared_ptr<LUT> metHFCalibrationLUT(
new LUT(metHFCalibrationLUTStream));
296 std::shared_ptr<LUT> etSumEttCalibrationLUT(
new LUT(etSumEttCalibrationLUTStream));
301 std::shared_ptr<LUT> etSumEcalSumCalibrationLUT(
new LUT(etSumEcalSumCalibrationLUTStream));
306 std::shared_ptr<LUT> metPhiCalibrationLUT(
new LUT(metPhiCalibrationLUTStream));
311 std::shared_ptr<LUT> metHFPhiCalibrationLUT(
new LUT(metHFPhiCalibrationLUTStream));
315 std::vector<double> etSumCentLower = conf.
getParameter<std::vector<double>>(
"etSumCentralityLower");
316 std::vector<double> etSumCentUpper = conf.
getParameter<std::vector<double>>(
"etSumCentralityUpper");
317 if (etSumCentLower.size() == etSumCentUpper.size()) {
318 for (
unsigned i = 0;
i < etSumCentLower.size(); ++
i) {
323 edm::LogError(
"l1t|calo") <<
"Inconsistent number of Centrality boundaries" << std::endl;
328 auto centralityLUT = std::make_shared<LUT>(centralityLUTStream);
331 std::vector<int> minbiasThresholds = conf.
getParameter<std::vector<int>>(
"minimumBiasThresholds");
332 if (minbiasThresholds.size() == 4) {
335 edm::LogError(
"l1t|calo") <<
"Incorrect number of minimum bias thresholds set.";
340 std::ifstream q2LUTStream(
q2LUTFile.fullPath());
341 auto q2LUT = std::make_shared<LUT>(q2LUTStream);
359 if (conf.
existsAs<std::vector<unsigned>>(
"layer1SecondStageLUT")) {
377 return std::make_unique<CaloParams>(m_params);
void setEtSumEtaMax(unsigned isum, int eta)
void setEtSumEcalSumCalibrationLUT(const l1t::LUT &lut)
void setEtSumEcalSumPUSType(std::string type)
void setMetPhiCalibrationLUT(const l1t::LUT &lut)
void setTauMaxJetIsolationA(double cutValue)
T getParameter(std::string const &) const
void setEgCalibrationVersion(unsigned version)
void setCentralityLUT(const l1t::LUT &lut)
void setLayer1HFScaleFactors(std::vector< double > params)
void setIsoTauEtaMax(int value)
void setTauMinPtJetIsolationB(double limit)
void setRegionPUSType(std::string type)
void setEtSumBypassMetPUS(unsigned flag)
void setEgNeighbourThreshold(double thresh)
void setEgMinPtHOverEIsolation(int cutValue)
void setEgLsb(double lsb)
void setJetCalibrationParams(std::vector< double > params)
void setTauEtToHFRingEtLUT(const l1t::LUT &lut)
void setTauCalibrationLUT(const l1t::LUT &lut)
etSumEttCalibrationLUTFile
void setTauLsb(double lsb)
~L1TCaloParamsESProducer() override
void setTauIsolationLUT(const l1t::LUT &lut)
void setJetCalibrationLUT(const l1t::LUT &lut)
void setEtSumBypassEcalSumPUS(unsigned flag)
void setTauNeighbourThreshold(double thresh)
void setEgMaxPtJetIsolation(int cutValue)
void setEtSumMetPUSLUT(const l1t::LUT &lut)
void setEgHOverEcutEndcap(int cut)
void setEgHcalThreshold(double thresh)
void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi)
void setEgBypassExtHOverE(unsigned flag)
void setLayer1HCalFBLUTLower(std::vector< unsigned > params)
void setEtSumEttCalibrationLUT(const l1t::LUT &lut)
void setLayer1ECalScalePhiBins(std::vector< unsigned > params)
void setCentralityRegionMask(int mask)
L1TCaloParamsESProducer(const edm::ParameterSet &)
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
void setJetCompressEtaLUT(const l1t::LUT &lut)
Log< level::Error, false > LogError
void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta)
void setEgCalibrationLUT(const l1t::LUT &lut)
void setLayer1HCalScalePhiBins(std::vector< unsigned > params)
void setEgShapeIdLUT(const l1t::LUT &lut)
void setEtSumEttPUSLUT(const l1t::LUT &lut)
void setJetCompressPtLUT(const l1t::LUT &lut)
void setEgHOverEcutBarrel(int cut)
void setEtSumEcalSumCalibrationType(std::string type)
void setEgBypassECALFG(unsigned flag)
ReturnType produce(const L1TCaloParamsRcd &)
void setEtSumEtaMin(unsigned isum, int eta)
void setEtSumCentLower(unsigned centClass, double loBound)
void setTauMaxPtTauVeto(double limit)
void setRegionLsb(double lsb)
void setJetCalibrationType(std::string type)
void setEtSumMetPUSType(std::string type)
void setJetPUSUsePhiRing(unsigned flag)
void setTowerLsbH(double lsb)
void setLayer1HCalScaleFactors(std::vector< double > params)
void setLayer1HCalFBLUTUpper(std::vector< unsigned > params)
void setEgMinPtJetIsolation(int cutValue)
void setEgBypassEGVetos(unsigned flag)
void setEtSumCentUpper(unsigned centClass, double upBound)
void setEgIsolationLUT2(const l1t::LUT &lut)
void setTauCompressLUT(const l1t::LUT &lut)
void setLayer1HCalScaleETBins(std::vector< int > params)
void setTowerNBitsH(int n)
void setEtSumEtThreshold(unsigned isum, double thresh)
void setTauPUSType(std::string type)
void setEgPUSType(std::string type)
void setLayer1ECalScaleETBins(std::vector< int > params)
void setTauSeedThreshold(double thresh)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void setTowerEncoding(bool doit)
void setTauMaxJetIsolationB(double limit)
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
void setEgBypassShape(unsigned flag)
void setTowerNBitsSum(int n)
void setJetNeighbourThreshold(double thresh)
void setEgShapeIdVersion(unsigned version)
void setTauRegionMask(int mask)
void setJetRegionMask(int mask)
void setEgEtaCut(int mask)
void setEgMaxHcalEt(double cut)
etSumEcalSumCalibrationLUTFile
void setLayer1SecondStageLUT(const std::vector< unsigned > &lut)
void setLayer1HFScalePhiBins(std::vector< unsigned > params)
void setJetLsb(double lsb)
void setTauPUSParams(const std::vector< double > ¶ms)
metHFPhiCalibrationLUTFile
void setLayer1HFScaleETBins(std::vector< int > params)
void setEtSumEttCalibrationType(std::string type)
void setQ2LUT(const l1t::LUT &lut)
void setEtSumBypassEttPUS(unsigned flag)
std::unique_ptr< CaloParams > ReturnType
void setEgMaxHOverELUT(const l1t::LUT &lut)
void setTowerNBitsE(int n)
void setMinimumBiasThresholds(std::vector< int > thresholds)
tauTrimmingShapeVetoLUTFile
void setMetCalibrationType(std::string type)
void setJetSeedThreshold(double thresh)
void setMetHFCalibrationType(std::string type)
void setEgMaxPtHOverE(double thresh)
void setLayer1ECalScaleFactors(std::vector< double > params)
void setEgTrimmingLUT(const l1t::LUT &lut)
void setRegionPUSParams(const std::vector< double > ¶ms)
void setEgIsolationLUT(const l1t::LUT &lut)
void setEgMaxPtHOverEIsolation(int cutValue)
void setTauIsolationLUT2(const l1t::LUT &lut)
void setJetBypassPUS(unsigned flag)
void setTauTrimmingShapeVetoLUT(const l1t::LUT &lut)
void setMetHFPhiCalibrationLUT(const l1t::LUT &lut)
void setEgBypassHoE(unsigned flag)
void setMetHFCalibrationLUT(const l1t::LUT &lut)
void setEtSumEttPUSType(std::string type)
void setEgSeedThreshold(double thresh)
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
void setMetCalibrationLUT(const l1t::LUT &lut)
void setJetPUSType(std::string type)
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
void setEtSumLsb(double lsb)
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
std::vector< unsigned short int > LUT
void setEgShapeIdType(std::string type)
void setIsoTauEtaMin(int value)
void setTowerLsbSum(double lsb)
void setEgPUSParams(const std::vector< double > ¶ms)
void setTowerLsbE(double lsb)
void setEgCalibrationType(std::string type)
void setEtSumEcalSumPUSLUT(const l1t::LUT &lut)
void setEgCompressShapesLUT(const l1t::LUT &lut)
void setTowerNBitsRatio(int n)
void setEgIsolationType(std::string type)