|
|
Go to the documentation of this file.
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);
357 if (conf.
existsAs<std::vector<unsigned>>(
"layer1SecondStageLUT")) {
375 return std::make_unique<CaloParams>(m_params);
void setTowerNBitsRatio(int n)
void setTauMaxJetIsolationA(double cutValue)
void setEtSumEcalSumCalibrationLUT(const l1t::LUT &lut)
void setEtSumEtaMax(unsigned isum, int eta)
void setEtSumEcalSumPUSType(std::string type)
void setEgCalibrationVersion(unsigned version)
void setTauEtToHFRingEtLUT(const l1t::LUT &lut)
void setCentralityLUT(const l1t::LUT &lut)
void setMetPhiCalibrationLUT(const l1t::LUT &lut)
void setLayer1HFScaleFactors(std::vector< double > params)
void setEgLsb(double lsb)
void setJetCalibrationParams(std::vector< double > params)
void setIsoTauEtaMax(int value)
void setEgNeighbourThreshold(double thresh)
metHFPhiCalibrationLUTFile
void setTauIsolationLUT(const l1t::LUT &lut)
void setEgMinPtHOverEIsolation(int cutValue)
void setJetCalibrationLUT(const l1t::LUT &lut)
void setRegionPUSType(std::string type)
void setTauLsb(double lsb)
void setTauMinPtJetIsolationB(double limit)
void setEtSumBypassMetPUS(unsigned flag)
void setEtSumMetPUSLUT(const l1t::LUT &lut)
void setTauCalibrationLUT(const l1t::LUT &lut)
void setEtSumBypassEcalSumPUS(unsigned flag)
etSumEttCalibrationLUTFile
void setEgMaxPtJetIsolation(int cutValue)
void setEgHcalThreshold(double thresh)
void setEgHOverEcutEndcap(int cut)
~L1TCaloParamsESProducer() override
void setCentralityRegionMask(int mask)
L1TCaloParamsESProducer(const edm::ParameterSet &)
void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi)
void setEgBypassExtHOverE(unsigned flag)
void setTauNeighbourThreshold(double thresh)
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
void setEtSumEttCalibrationLUT(const l1t::LUT &lut)
void setLayer1ECalScalePhiBins(std::vector< unsigned > params)
void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta)
void setJetCompressEtaLUT(const l1t::LUT &lut)
void setLayer1HCalScalePhiBins(std::vector< unsigned > params)
void setEtSumEttPUSLUT(const l1t::LUT &lut)
ReturnType produce(const L1TCaloParamsRcd &)
tauTrimmingShapeVetoLUTFile
void setEgShapeIdLUT(const l1t::LUT &lut)
void setEgCalibrationLUT(const l1t::LUT &lut)
void setJetCompressPtLUT(const l1t::LUT &lut)
void setTauMaxPtTauVeto(double limit)
void setEtSumEcalSumCalibrationType(std::string type)
void setEtSumCentLower(unsigned centClass, double loBound)
void setEgHOverEcutBarrel(int cut)
void setEtSumMetPUSType(std::string type)
void setTowerLsbH(double lsb)
etSumEcalSumCalibrationLUTFile
void setEtSumEtaMin(unsigned isum, int eta)
void setEgMinPtJetIsolation(int cutValue)
void setJetCalibrationType(std::string type)
void setRegionLsb(double lsb)
void setEgBypassECALFG(unsigned flag)
void setEgIsolationLUT2(const l1t::LUT &lut)
void setEtSumCentUpper(unsigned centClass, double upBound)
void setTowerNBitsH(int n)
void setJetPUSUsePhiRing(unsigned flag)
void setLayer1HCalScaleETBins(std::vector< int > params)
void setEgBypassEGVetos(unsigned flag)
void setTauCompressLUT(const l1t::LUT &lut)
void setLayer1HCalScaleFactors(std::vector< double > params)
void setEtSumEtThreshold(unsigned isum, double thresh)
void setEgPUSType(std::string type)
void setTowerEncoding(bool doit)
void setLayer1ECalScaleETBins(std::vector< int > params)
void setTauPUSType(std::string type)
void setTauSeedThreshold(double thresh)
void setEgBypassShape(unsigned flag)
void setEgMaxHcalEt(double cut)
void setEgShapeIdVersion(unsigned version)
void setJetNeighbourThreshold(double thresh)
void setTauRegionMask(int mask)
void setTauMaxJetIsolationB(double limit)
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
void setEgEtaCut(int mask)
void setTowerNBitsSum(int n)
void setJetLsb(double lsb)
Log< level::Error, false > LogError
void setJetRegionMask(int mask)
void setLayer1SecondStageLUT(const std::vector< unsigned > &lut)
void setLayer1HFScalePhiBins(std::vector< unsigned > params)
void setLayer1HFScaleETBins(std::vector< int > params)
void setQ2LUT(const l1t::LUT &lut)
void setMetHFCalibrationType(std::string type)
void setMetCalibrationType(std::string type)
void setTauPUSParams(const std::vector< double > ¶ms)
void setEtSumEttCalibrationType(std::string type)
void setEtSumBypassEttPUS(unsigned flag)
void setEgTrimmingLUT(const l1t::LUT &lut)
void setJetSeedThreshold(double thresh)
void setLayer1ECalScaleFactors(std::vector< double > params)
void setEgMaxPtHOverE(double thresh)
void setEgMaxHOverELUT(const l1t::LUT &lut)
std::unique_ptr< CaloParams > ReturnType
void setEgIsolationLUT(const l1t::LUT &lut)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::vector< unsigned short int > LUT
void setTowerNBitsE(int n)
void setEgMaxPtHOverEIsolation(int cutValue)
void setMetHFCalibrationLUT(const l1t::LUT &lut)
void setMinimumBiasThresholds(std::vector< int > thresholds)
void setEgBypassHoE(unsigned flag)
void setEgSeedThreshold(double thresh)
void setTauTrimmingShapeVetoLUT(const l1t::LUT &lut)
T getParameter(std::string const &) const
void setRegionPUSParams(const std::vector< double > ¶ms)
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
void setEtSumLsb(double lsb)
void setTauIsolationLUT2(const l1t::LUT &lut)
void setJetBypassPUS(unsigned flag)
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
void setMetCalibrationLUT(const l1t::LUT &lut)
void setMetHFPhiCalibrationLUT(const l1t::LUT &lut)
void setIsoTauEtaMin(int value)
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
void setEtSumEttPUSType(std::string type)
void setEgShapeIdType(std::string type)
void setEgPUSParams(const std::vector< double > ¶ms)
void setEgCalibrationType(std::string type)
void setJetPUSType(std::string type)
void setTowerLsbSum(double lsb)
void setTowerLsbE(double lsb)
void setEgCompressShapesLUT(const l1t::LUT &lut)
void setEgIsolationType(std::string type)
void setEtSumEcalSumPUSLUT(const l1t::LUT &lut)