CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
L1TCaloParamsESProducer Class Reference
Inheritance diagram for L1TCaloParamsESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Types

using ReturnType = std::unique_ptr< CaloParams >
 

Public Member Functions

 L1TCaloParamsESProducer (const edm::ParameterSet &)
 
ReturnType produce (const L1TCaloParamsRcd &)
 
 ~L1TCaloParamsESProducer () override
 
- Public Member Functions inherited from edm::ESProducer
 ESProducer ()
 
 ESProducer (const ESProducer &)=delete
 
ESProxyIndex const * getTokenIndices (unsigned int iIndex) const
 
ESRecordIndex const * getTokenRecordIndices (unsigned int iIndex) const
 
bool hasMayConsumes () const noexcept
 
size_t numberOfTokenIndices (unsigned int iIndex) const
 
ESProducer const & operator= (const ESProducer &)=delete
 
SerialTaskQueueChainqueue ()
 
template<typename Record >
std::optional< std::vector< ESProxyIndex > > updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &) final
 
 ~ESProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::ESProxyFactoryProducer
 ESProxyFactoryProducer ()
 
 ESProxyFactoryProducer (const ESProxyFactoryProducer &)=delete
 
const ESProxyFactoryProduceroperator= (const ESProxyFactoryProducer &)=delete
 
 ~ESProxyFactoryProducer () noexcept(false) override
 
- Public Member Functions inherited from edm::eventsetup::DataProxyProvider
void createKeyedProxies (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
 DataProxyProvider ()
 
 DataProxyProvider (const DataProxyProvider &)=delete
 
const ComponentDescriptiondescription () const
 
void fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
 
virtual void initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs)
 
bool isUsingRecord (const EventSetupRecordKey &key) const
 
KeyedProxieskeyedProxies (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0)
 
const DataProxyProvideroperator= (const DataProxyProvider &)=delete
 
void setAppendToDataLabel (const edm::ParameterSet &)
 
void setDescription (const ComponentDescription &iDescription)
 
std::set< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider () noexcept(false)
 

Private Attributes

std::string m_label
 
CaloParams m_params
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Types inherited from edm::ESProxyFactoryProducer
using EventSetupRecordKey = eventsetup::EventSetupRecordKey
 
- Protected Types inherited from edm::eventsetup::DataProxyProvider
using KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >>
 
- Protected Member Functions inherited from edm::ESProducer
template<typename T >
auto setWhatProduced (T *iThis, const char *iLabel)
 
template<typename T >
auto setWhatProduced (T *iThis, const es::Label &iLabel={})
 
template<typename T >
auto setWhatProduced (T *iThis, const std::string &iLabel)
 
template<typename T , typename TDecorator >
auto setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord >
auto setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={})
 
template<typename T , typename TReturn , typename TRecord , typename TArg >
ESConsumesCollectorT< TRecord > setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={})
 
void usesResources (std::vector< std::string > const &)
 
- Protected Member Functions inherited from edm::ESProxyFactoryProducer
template<class TFactory >
void registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string())
 
virtual void registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string())
 
KeyedProxiesVector registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override
 
- Protected Member Functions inherited from edm::eventsetup::DataProxyProvider
template<class T >
void usingRecord ()
 
void usingRecordWithKey (const EventSetupRecordKey &key)
 

Detailed Description

Description: Produces configuration parameters for the fictitious Yellow trigger.

Implementation: Dummy producer for L1 calo upgrade configuration parameters

Author
: Jim Brooke, University of Bristol

Definition at line 41 of file L1TCaloParamsESProducer.cc.

Member Typedef Documentation

◆ ReturnType

Definition at line 46 of file L1TCaloParamsESProducer.cc.

Constructor & Destructor Documentation

◆ L1TCaloParamsESProducer()

L1TCaloParamsESProducer::L1TCaloParamsESProducer ( const edm::ParameterSet conf)

Definition at line 66 of file L1TCaloParamsESProducer.cc.

66  {
67  //the following line is needed to tell the framework what
68  // data is being produced
69  setWhatProduced(this);
70  //setWhatProduced(this, conf.getParameter<std::string>("label"));
71 
72  CaloParamsHelper m_params_helper;
73 
74  // towers
75  m_params_helper.setTowerLsbH(conf.getParameter<double>("towerLsbH"));
76  m_params_helper.setTowerLsbE(conf.getParameter<double>("towerLsbE"));
77  m_params_helper.setTowerLsbSum(conf.getParameter<double>("towerLsbSum"));
78  m_params_helper.setTowerNBitsH(conf.getParameter<int>("towerNBitsH"));
79  m_params_helper.setTowerNBitsE(conf.getParameter<int>("towerNBitsE"));
80  m_params_helper.setTowerNBitsSum(conf.getParameter<int>("towerNBitsSum"));
81  m_params_helper.setTowerNBitsRatio(conf.getParameter<int>("towerNBitsRatio"));
82  m_params_helper.setTowerEncoding(conf.getParameter<bool>("towerEncoding"));
83 
84  // regions
85  m_params_helper.setRegionLsb(conf.getParameter<double>("regionLsb"));
86  m_params_helper.setRegionPUSType(conf.getParameter<std::string>("regionPUSType"));
87  m_params_helper.setRegionPUSParams(conf.getParameter<std::vector<double>>("regionPUSParams"));
88 
89  // EG
90  m_params_helper.setEgEtaCut(conf.getParameter<int>("egEtaCut"));
91 
92  m_params_helper.setEgLsb(conf.getParameter<double>("egLsb"));
93  m_params_helper.setEgSeedThreshold(conf.getParameter<double>("egSeedThreshold"));
94  m_params_helper.setEgNeighbourThreshold(conf.getParameter<double>("egNeighbourThreshold"));
95  m_params_helper.setEgHcalThreshold(conf.getParameter<double>("egHcalThreshold"));
96 
98  std::ifstream egTrimmingLUTStream(egTrimmingLUTFile.fullPath());
99  auto egTrimmingLUT = std::make_shared<LUT>(egTrimmingLUTStream);
100  m_params_helper.setEgTrimmingLUT(*egTrimmingLUT);
101 
102  m_params_helper.setEgMaxHcalEt(conf.getParameter<double>("egMaxHcalEt"));
103  m_params_helper.setEgMaxPtHOverE(conf.getParameter<double>("egMaxPtHOverE"));
104  m_params_helper.setEgHOverEcutBarrel(conf.getParameter<int>("egHOverEcutBarrel"));
105  m_params_helper.setEgHOverEcutEndcap(conf.getParameter<int>("egHOverEcutEndcap"));
106  m_params_helper.setEgMinPtJetIsolation(conf.getParameter<int>("egMinPtJetIsolation"));
107  m_params_helper.setEgMaxPtJetIsolation(conf.getParameter<int>("egMaxPtJetIsolation"));
108  m_params_helper.setEgMinPtHOverEIsolation(conf.getParameter<int>("egMinPtHOverEIsolation"));
109  m_params_helper.setEgMaxPtHOverEIsolation(conf.getParameter<int>("egMaxPtHOverEIsolation"));
110  m_params_helper.setEgBypassEGVetos(conf.getParameter<unsigned>("egBypassEGVetos"));
111  m_params_helper.setEgBypassExtHOverE(conf.getParameter<unsigned>("egBypassExtHOverE"));
112  m_params_helper.setEgBypassShape(conf.getParameter<unsigned>("egBypassShape"));
113  m_params_helper.setEgBypassECALFG(conf.getParameter<unsigned>("egBypassECALFG"));
114  m_params_helper.setEgBypassHoE(conf.getParameter<unsigned>("egBypassHoE"));
115 
116  edm::FileInPath egMaxHOverELUTFile = conf.getParameter<edm::FileInPath>("egMaxHOverELUTFile");
117  std::ifstream egMaxHOverELUTStream(egMaxHOverELUTFile.fullPath());
118  auto egMaxHOverELUT = std::make_shared<LUT>(egMaxHOverELUTStream);
119  m_params_helper.setEgMaxHOverELUT(*egMaxHOverELUT);
120 
121  edm::FileInPath egCompressShapesLUTFile = conf.getParameter<edm::FileInPath>("egCompressShapesLUTFile");
122  std::ifstream egCompressShapesLUTStream(egCompressShapesLUTFile.fullPath());
123  auto egCompressShapesLUT = std::make_shared<LUT>(egCompressShapesLUTStream);
124  m_params_helper.setEgCompressShapesLUT(*egCompressShapesLUT);
125 
126  m_params_helper.setEgShapeIdType(conf.getParameter<std::string>("egShapeIdType"));
127  m_params_helper.setEgShapeIdVersion(conf.getParameter<unsigned>("egShapeIdVersion"));
128  edm::FileInPath egShapeIdLUTFile = conf.getParameter<edm::FileInPath>("egShapeIdLUTFile");
129  std::ifstream egShapeIdLUTStream(egShapeIdLUTFile.fullPath());
130  auto egShapeIdLUT = std::make_shared<LUT>(egShapeIdLUTStream);
131  m_params_helper.setEgShapeIdLUT(*egShapeIdLUT);
132 
133  m_params_helper.setEgPUSType(conf.getParameter<std::string>("egPUSType"));
134 
135  m_params_helper.setEgIsolationType(conf.getParameter<std::string>("egIsolationType"));
137  std::ifstream egIsoLUTStream(egIsoLUTFile.fullPath());
138  auto egIsoLUT = std::make_shared<LUT>(egIsoLUTStream);
139  m_params_helper.setEgIsolationLUT(*egIsoLUT);
141  std::ifstream egIsoLUTStream2(egIsoLUTFile2.fullPath());
142  auto egIsoLUT2 = std::make_shared<LUT>(egIsoLUTStream2);
143  m_params_helper.setEgIsolationLUT2(*egIsoLUT2);
144 
145  //edm::FileInPath egIsoLUTFileBarrel = conf.getParameter<edm::FileInPath>("egIsoLUTFileBarrel");
146  //std::ifstream egIsoLUTBarrelStream(egIsoLUTFileBarrel.fullPath());
147  //auto egIsoLUTBarrel = std::make_shared<LUT>(egIsoLUTBarrelStream);
148  //m_params_helper.setEgIsolationLUTBarrel(egIsoLUTBarrel);
149 
150  //edm::FileInPath egIsoLUTFileEndcaps = conf.getParameter<edm::FileInPath>("egIsoLUTFileEndcaps");
151  //std::ifstream egIsoLUTEndcapsStream(egIsoLUTFileEndcaps.fullPath());
152  //auto egIsoLUTEndcaps = std::make_shared<LUT>(egIsoLUTEndcapsStream);
153  //m_params_helper.setEgIsolationLUTEndcaps(egIsoLUTEndcaps);
154 
155  m_params_helper.setEgIsoAreaNrTowersEta(conf.getParameter<unsigned int>("egIsoAreaNrTowersEta"));
156  m_params_helper.setEgIsoAreaNrTowersPhi(conf.getParameter<unsigned int>("egIsoAreaNrTowersPhi"));
157  m_params_helper.setEgIsoVetoNrTowersPhi(conf.getParameter<unsigned int>("egIsoVetoNrTowersPhi"));
158  //m_params_helper.setEgIsoPUEstTowerGranularity(conf.getParameter<unsigned int>("egIsoPUEstTowerGranularity"));
159  //m_params_helper.setEgIsoMaxEtaAbsForTowerSum(conf.getParameter<unsigned int>("egIsoMaxEtaAbsForTowerSum"));
160  //m_params_helper.setEgIsoMaxEtaAbsForIsoSum(conf.getParameter<unsigned int>("egIsoMaxEtaAbsForIsoSum"));
161  m_params_helper.setEgPUSParams(conf.getParameter<std::vector<double>>("egPUSParams"));
162 
163  m_params_helper.setEgCalibrationType(conf.getParameter<std::string>("egCalibrationType"));
164  m_params_helper.setEgCalibrationVersion(conf.getParameter<unsigned>("egCalibrationVersion"));
165  edm::FileInPath egCalibrationLUTFile = conf.getParameter<edm::FileInPath>("egCalibrationLUTFile");
166  std::ifstream egCalibrationLUTStream(egCalibrationLUTFile.fullPath());
167  auto egCalibrationLUT = std::make_shared<LUT>(egCalibrationLUTStream);
168  m_params_helper.setEgCalibrationLUT(*egCalibrationLUT);
169 
170  // tau
171  m_params_helper.setTauRegionMask(conf.getParameter<int>("tauRegionMask"));
172  m_params_helper.setTauLsb(conf.getParameter<double>("tauLsb"));
173  m_params_helper.setTauSeedThreshold(conf.getParameter<double>("tauSeedThreshold"));
174  m_params_helper.setTauNeighbourThreshold(conf.getParameter<double>("tauNeighbourThreshold"));
175  m_params_helper.setTauMaxPtTauVeto(conf.getParameter<double>("tauMaxPtTauVeto"));
176  m_params_helper.setTauMinPtJetIsolationB(conf.getParameter<double>("tauMinPtJetIsolationB"));
177  m_params_helper.setTauPUSType(conf.getParameter<std::string>("tauPUSType"));
178  m_params_helper.setTauMaxJetIsolationB(conf.getParameter<double>("tauMaxJetIsolationB"));
179  m_params_helper.setTauMaxJetIsolationA(conf.getParameter<double>("tauMaxJetIsolationA"));
180  m_params_helper.setTauIsoAreaNrTowersEta(conf.getParameter<unsigned int>("tauIsoAreaNrTowersEta"));
181  m_params_helper.setTauIsoAreaNrTowersPhi(conf.getParameter<unsigned int>("tauIsoAreaNrTowersPhi"));
182  m_params_helper.setTauIsoVetoNrTowersPhi(conf.getParameter<unsigned int>("tauIsoVetoNrTowersPhi"));
183 
185  std::ifstream tauIsoLUTStream(tauIsoLUTFile.fullPath());
186  auto tauIsoLUT = std::make_shared<LUT>(tauIsoLUTStream);
187  m_params_helper.setTauIsolationLUT(*tauIsoLUT);
188 
190  std::ifstream tauIsoLUTStream2(tauIsoLUTFile2.fullPath());
191  std::shared_ptr<LUT> tauIsoLUT2(new LUT(tauIsoLUTStream2));
192  m_params_helper.setTauIsolationLUT2(*tauIsoLUT2);
193 
194  edm::FileInPath tauTrimmingShapeVetoLUTFile = conf.getParameter<edm::FileInPath>("tauTrimmingShapeVetoLUTFile");
195  std::ifstream tauTrimmingShapeVetoLUTStream(tauTrimmingShapeVetoLUTFile.fullPath());
196  std::shared_ptr<LUT> tauTrimmingShapeVetoLUT(new LUT(tauTrimmingShapeVetoLUTStream));
197  m_params_helper.setTauTrimmingShapeVetoLUT(*tauTrimmingShapeVetoLUT);
198 
199  edm::FileInPath tauCalibrationLUTFile = conf.getParameter<edm::FileInPath>("tauCalibrationLUTFile");
200  std::ifstream tauCalibrationLUTStream(tauCalibrationLUTFile.fullPath());
201  auto tauCalibrationLUT = std::make_shared<LUT>(tauCalibrationLUTStream);
202  m_params_helper.setTauCalibrationLUT(*tauCalibrationLUT);
203 
204  edm::FileInPath tauCompressLUTFile = conf.getParameter<edm::FileInPath>("tauCompressLUTFile");
205  std::ifstream tauCompressLUTStream(tauCompressLUTFile.fullPath());
206  auto tauCompressLUT = std::make_shared<LUT>(tauCompressLUTStream);
207  m_params_helper.setTauCompressLUT(*tauCompressLUT);
208 
209  edm::FileInPath tauEtToHFRingEtLUTFile = conf.getParameter<edm::FileInPath>("tauEtToHFRingEtLUTFile");
210  std::ifstream tauEtToHFRingEtLUTStream(tauEtToHFRingEtLUTFile.fullPath());
211  auto tauEtToHFRingEtLUT = std::make_shared<LUT>(tauEtToHFRingEtLUTStream);
212  m_params_helper.setTauEtToHFRingEtLUT(*tauEtToHFRingEtLUT);
213 
214  m_params_helper.setIsoTauEtaMin(conf.getParameter<int>("isoTauEtaMin"));
215  m_params_helper.setIsoTauEtaMax(conf.getParameter<int>("isoTauEtaMax"));
216 
217  m_params_helper.setTauPUSParams(conf.getParameter<std::vector<double>>("tauPUSParams"));
218 
219  // jets
220  m_params_helper.setJetLsb(conf.getParameter<double>("jetLsb"));
221  m_params_helper.setJetSeedThreshold(conf.getParameter<double>("jetSeedThreshold"));
222  m_params_helper.setJetNeighbourThreshold(conf.getParameter<double>("jetNeighbourThreshold"));
223  m_params_helper.setJetRegionMask(conf.getParameter<int>("jetRegionMask"));
224  m_params_helper.setJetPUSType(conf.getParameter<std::string>("jetPUSType"));
225  m_params_helper.setJetBypassPUS(conf.getParameter<unsigned>("jetBypassPUS"));
226  m_params_helper.setJetPUSUsePhiRing(conf.getParameter<unsigned>("jetPUSUsePhiRing"));
227  m_params_helper.setJetCalibrationType(conf.getParameter<std::string>("jetCalibrationType"));
228  m_params_helper.setJetCalibrationParams(conf.getParameter<std::vector<double>>("jetCalibrationParams"));
229  edm::FileInPath jetCalibrationLUTFile = conf.getParameter<edm::FileInPath>("jetCalibrationLUTFile");
230  std::ifstream jetCalibrationLUTStream(jetCalibrationLUTFile.fullPath());
231  auto jetCalibrationLUT = std::make_shared<LUT>(jetCalibrationLUTStream);
232  m_params_helper.setJetCalibrationLUT(*jetCalibrationLUT);
233  edm::FileInPath jetCompressEtaLUTFile = conf.getParameter<edm::FileInPath>("jetCompressEtaLUTFile");
234  std::ifstream jetCompressEtaLUTStream(jetCompressEtaLUTFile.fullPath());
235  std::shared_ptr<LUT> jetCompressEtaLUT(new LUT(jetCompressEtaLUTStream));
236  m_params_helper.setJetCompressEtaLUT(*jetCompressEtaLUT);
237  edm::FileInPath jetCompressPtLUTFile = conf.getParameter<edm::FileInPath>("jetCompressPtLUTFile");
238  std::ifstream jetCompressPtLUTStream(jetCompressPtLUTFile.fullPath());
239  std::shared_ptr<LUT> jetCompressPtLUT(new LUT(jetCompressPtLUTStream));
240  m_params_helper.setJetCompressPtLUT(*jetCompressPtLUT);
241 
242  // sums
243  m_params_helper.setEtSumLsb(conf.getParameter<double>("etSumLsb"));
244 
245  std::vector<int> etSumEtaMin = conf.getParameter<std::vector<int>>("etSumEtaMin");
246  std::vector<int> etSumEtaMax = conf.getParameter<std::vector<int>>("etSumEtaMax");
247  std::vector<double> etSumEtThreshold = conf.getParameter<std::vector<double>>("etSumEtThreshold");
248  m_params_helper.setEtSumBypassMetPUS(conf.getParameter<unsigned>("etSumBypassMetPUS"));
249  m_params_helper.setEtSumBypassEttPUS(conf.getParameter<unsigned>("etSumBypassEttPUS"));
250  m_params_helper.setEtSumBypassEcalSumPUS(conf.getParameter<unsigned>("etSumBypassEcalSumPUS"));
251  m_params_helper.setEtSumMetPUSType(conf.getParameter<std::string>("etSumMetPUSType"));
252  m_params_helper.setEtSumEttPUSType(conf.getParameter<std::string>("etSumEttPUSType"));
253  m_params_helper.setEtSumEcalSumPUSType(conf.getParameter<std::string>("etSumEcalSumPUSType"));
254  m_params_helper.setMetCalibrationType(conf.getParameter<std::string>("metCalibrationType"));
255  m_params_helper.setMetHFCalibrationType(conf.getParameter<std::string>("metHFCalibrationType"));
256  m_params_helper.setEtSumEttCalibrationType(conf.getParameter<std::string>("etSumEttCalibrationType"));
257  m_params_helper.setEtSumEcalSumCalibrationType(conf.getParameter<std::string>("etSumEcalSumCalibrationType"));
258 
259  if ((etSumEtaMin.size() == etSumEtaMax.size()) && (etSumEtaMin.size() == etSumEtThreshold.size())) {
260  for (unsigned i = 0; i < etSumEtaMin.size(); ++i) {
261  m_params_helper.setEtSumEtaMin(i, etSumEtaMin.at(i));
262  m_params_helper.setEtSumEtaMax(i, etSumEtaMax.at(i));
263  m_params_helper.setEtSumEtThreshold(i, etSumEtThreshold.at(i));
264  }
265  } else {
266  edm::LogError("l1t|calo") << "Inconsistent number of EtSum parameters" << std::endl;
267  }
268 
269  edm::FileInPath etSumMetPUSLUTFile = conf.getParameter<edm::FileInPath>("etSumMetPUSLUTFile");
270  std::ifstream etSumMetPUSLUTStream(etSumMetPUSLUTFile.fullPath());
271  std::shared_ptr<LUT> etSumMetPUSLUT(new LUT(etSumMetPUSLUTStream));
272  m_params_helper.setEtSumMetPUSLUT(*etSumMetPUSLUT);
273 
274  edm::FileInPath etSumEttPUSLUTFile = conf.getParameter<edm::FileInPath>("etSumEttPUSLUTFile");
275  std::ifstream etSumEttPUSLUTStream(etSumEttPUSLUTFile.fullPath());
276  std::shared_ptr<LUT> etSumEttPUSLUT(new LUT(etSumEttPUSLUTStream));
277  m_params_helper.setEtSumEttPUSLUT(*etSumEttPUSLUT);
278 
279  edm::FileInPath etSumEcalSumPUSLUTFile = conf.getParameter<edm::FileInPath>("etSumEcalSumPUSLUTFile");
280  std::ifstream etSumEcalSumPUSLUTStream(etSumEcalSumPUSLUTFile.fullPath());
281  std::shared_ptr<LUT> etSumEcalSumPUSLUT(new LUT(etSumEcalSumPUSLUTStream));
282  m_params_helper.setEtSumEcalSumPUSLUT(*etSumEcalSumPUSLUT);
283 
284  edm::FileInPath metCalibrationLUTFile = conf.getParameter<edm::FileInPath>("metCalibrationLUTFile");
285  std::ifstream metCalibrationLUTStream(metCalibrationLUTFile.fullPath());
286  std::shared_ptr<LUT> metCalibrationLUT(new LUT(metCalibrationLUTStream));
287  m_params_helper.setMetCalibrationLUT(*metCalibrationLUT);
288 
289  edm::FileInPath metHFCalibrationLUTFile = conf.getParameter<edm::FileInPath>("metHFCalibrationLUTFile");
290  std::ifstream metHFCalibrationLUTStream(metHFCalibrationLUTFile.fullPath());
291  std::shared_ptr<LUT> metHFCalibrationLUT(new LUT(metHFCalibrationLUTStream));
292  m_params_helper.setMetHFCalibrationLUT(*metHFCalibrationLUT);
293 
294  edm::FileInPath etSumEttCalibrationLUTFile = conf.getParameter<edm::FileInPath>("etSumEttCalibrationLUTFile");
295  std::ifstream etSumEttCalibrationLUTStream(etSumEttCalibrationLUTFile.fullPath());
296  std::shared_ptr<LUT> etSumEttCalibrationLUT(new LUT(etSumEttCalibrationLUTStream));
297  m_params_helper.setEtSumEttCalibrationLUT(*etSumEttCalibrationLUT);
298 
299  edm::FileInPath etSumEcalSumCalibrationLUTFile = conf.getParameter<edm::FileInPath>("etSumEcalSumCalibrationLUTFile");
300  std::ifstream etSumEcalSumCalibrationLUTStream(etSumEcalSumCalibrationLUTFile.fullPath());
301  std::shared_ptr<LUT> etSumEcalSumCalibrationLUT(new LUT(etSumEcalSumCalibrationLUTStream));
302  m_params_helper.setEtSumEcalSumCalibrationLUT(*etSumEcalSumCalibrationLUT);
303 
304  edm::FileInPath metPhiCalibrationLUTFile = conf.getParameter<edm::FileInPath>("metPhiCalibrationLUTFile");
305  std::ifstream metPhiCalibrationLUTStream(metPhiCalibrationLUTFile.fullPath());
306  std::shared_ptr<LUT> metPhiCalibrationLUT(new LUT(metPhiCalibrationLUTStream));
307  m_params_helper.setMetPhiCalibrationLUT(*metPhiCalibrationLUT);
308 
309  edm::FileInPath metHFPhiCalibrationLUTFile = conf.getParameter<edm::FileInPath>("metHFPhiCalibrationLUTFile");
310  std::ifstream metHFPhiCalibrationLUTStream(metHFPhiCalibrationLUTFile.fullPath());
311  std::shared_ptr<LUT> metHFPhiCalibrationLUT(new LUT(metHFPhiCalibrationLUTStream));
312  m_params_helper.setMetHFPhiCalibrationLUT(*metHFPhiCalibrationLUT);
313 
314  // HI centrality trigger
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) {
319  m_params_helper.setEtSumCentLower(i, etSumCentLower.at(i));
320  m_params_helper.setEtSumCentUpper(i, etSumCentUpper.at(i));
321  }
322  } else {
323  edm::LogError("l1t|calo") << "Inconsistent number of Centrality boundaries" << std::endl;
324  }
325 
326  edm::FileInPath centralityLUTFile = conf.getParameter<edm::FileInPath>("centralityLUTFile");
327  std::ifstream centralityLUTStream(centralityLUTFile.fullPath());
328  auto centralityLUT = std::make_shared<LUT>(centralityLUTStream);
329  m_params_helper.setCentralityLUT(*centralityLUT);
330  m_params_helper.setCentralityRegionMask(conf.getParameter<int>("centralityRegionMask"));
331  std::vector<int> minbiasThresholds = conf.getParameter<std::vector<int>>("minimumBiasThresholds");
332  if (minbiasThresholds.size() == 4) {
333  m_params_helper.setMinimumBiasThresholds(minbiasThresholds);
334  } else {
335  edm::LogError("l1t|calo") << "Incorrect number of minimum bias thresholds set.";
336  }
337 
338  // HI Q2 trigger
340  std::ifstream q2LUTStream(q2LUTFile.fullPath());
341  auto q2LUT = std::make_shared<LUT>(q2LUTStream);
342  m_params_helper.setQ2LUT(*q2LUT);
343 
344  // Layer 1 LUT specification
345  m_params_helper.setLayer1ECalScaleFactors(conf.getParameter<std::vector<double>>("layer1ECalScaleFactors"));
346  m_params_helper.setLayer1HCalScaleFactors(conf.getParameter<std::vector<double>>("layer1HCalScaleFactors"));
347  m_params_helper.setLayer1HFScaleFactors(conf.getParameter<std::vector<double>>("layer1HFScaleFactors"));
348 
349  m_params_helper.setLayer1ECalScaleETBins(conf.getParameter<std::vector<int>>("layer1ECalScaleETBins"));
350  m_params_helper.setLayer1HCalScaleETBins(conf.getParameter<std::vector<int>>("layer1HCalScaleETBins"));
351  m_params_helper.setLayer1HFScaleETBins(conf.getParameter<std::vector<int>>("layer1HFScaleETBins"));
352 
353  m_params_helper.setLayer1ECalScalePhiBins(conf.getParameter<std::vector<unsigned>>("layer1ECalScalePhiBins"));
354  m_params_helper.setLayer1HCalScalePhiBins(conf.getParameter<std::vector<unsigned>>("layer1HCalScalePhiBins"));
355  m_params_helper.setLayer1HFScalePhiBins(conf.getParameter<std::vector<unsigned>>("layer1HFScalePhiBins"));
356 
357  if (conf.existsAs<std::vector<unsigned>>("layer1SecondStageLUT")) {
358  m_params_helper.setLayer1SecondStageLUT(conf.getParameter<std::vector<unsigned>>("layer1SecondStageLUT"));
359  }
360 
361  m_params = (CaloParams)m_params_helper;
362 }

References caloParams_cfi::centralityLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::egCalibrationLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::egCompressShapesLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::egIsoLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::egIsoLUTFile2, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::egMaxHOverELUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::egShapeIdLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::egTrimmingLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::etSumEcalSumCalibrationLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::etSumEcalSumPUSLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::etSumEtaMax, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::etSumEtaMin, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::etSumEttCalibrationLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::etSumEtThreshold, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::etSumEttPUSLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::etSumMetPUSLUTFile, edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), mps_fire::i, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::jetCalibrationLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::jetCompressEtaLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::jetCompressPtLUTFile, caloParams_2018_v1_4_1_cfi::metCalibrationLUTFile, caloParams_2018_v1_4_1_cfi::metHFCalibrationLUTFile, caloParams_2018_v1_4_1_cfi::metHFPhiCalibrationLUTFile, caloParams_2018_v1_4_1_cfi::metPhiCalibrationLUTFile, caloParams_cfi::q2LUTFile, l1t::CaloParamsHelper::setCentralityLUT(), l1t::CaloParamsHelper::setCentralityRegionMask(), l1t::CaloParamsHelper::setEgBypassECALFG(), l1t::CaloParamsHelper::setEgBypassEGVetos(), l1t::CaloParamsHelper::setEgBypassExtHOverE(), l1t::CaloParamsHelper::setEgBypassHoE(), l1t::CaloParamsHelper::setEgBypassShape(), l1t::CaloParamsHelper::setEgCalibrationLUT(), l1t::CaloParamsHelper::setEgCalibrationType(), l1t::CaloParamsHelper::setEgCalibrationVersion(), l1t::CaloParamsHelper::setEgCompressShapesLUT(), l1t::CaloParamsHelper::setEgEtaCut(), l1t::CaloParamsHelper::setEgHcalThreshold(), l1t::CaloParamsHelper::setEgHOverEcutBarrel(), l1t::CaloParamsHelper::setEgHOverEcutEndcap(), l1t::CaloParamsHelper::setEgIsoAreaNrTowersEta(), l1t::CaloParamsHelper::setEgIsoAreaNrTowersPhi(), l1t::CaloParamsHelper::setEgIsolationLUT(), l1t::CaloParamsHelper::setEgIsolationLUT2(), l1t::CaloParamsHelper::setEgIsolationType(), l1t::CaloParamsHelper::setEgIsoVetoNrTowersPhi(), l1t::CaloParamsHelper::setEgLsb(), l1t::CaloParamsHelper::setEgMaxHcalEt(), l1t::CaloParamsHelper::setEgMaxHOverELUT(), l1t::CaloParamsHelper::setEgMaxPtHOverE(), l1t::CaloParamsHelper::setEgMaxPtHOverEIsolation(), l1t::CaloParamsHelper::setEgMaxPtJetIsolation(), l1t::CaloParamsHelper::setEgMinPtHOverEIsolation(), l1t::CaloParamsHelper::setEgMinPtJetIsolation(), l1t::CaloParamsHelper::setEgNeighbourThreshold(), l1t::CaloParamsHelper::setEgPUSParams(), l1t::CaloParamsHelper::setEgPUSType(), l1t::CaloParamsHelper::setEgSeedThreshold(), l1t::CaloParamsHelper::setEgShapeIdLUT(), l1t::CaloParamsHelper::setEgShapeIdType(), l1t::CaloParamsHelper::setEgShapeIdVersion(), l1t::CaloParamsHelper::setEgTrimmingLUT(), l1t::CaloParamsHelper::setEtSumBypassEcalSumPUS(), l1t::CaloParamsHelper::setEtSumBypassEttPUS(), l1t::CaloParamsHelper::setEtSumBypassMetPUS(), l1t::CaloParamsHelper::setEtSumCentLower(), l1t::CaloParamsHelper::setEtSumCentUpper(), l1t::CaloParamsHelper::setEtSumEcalSumCalibrationLUT(), l1t::CaloParamsHelper::setEtSumEcalSumCalibrationType(), l1t::CaloParamsHelper::setEtSumEcalSumPUSLUT(), l1t::CaloParamsHelper::setEtSumEcalSumPUSType(), l1t::CaloParamsHelper::setEtSumEtaMax(), l1t::CaloParamsHelper::setEtSumEtaMin(), l1t::CaloParamsHelper::setEtSumEttCalibrationLUT(), l1t::CaloParamsHelper::setEtSumEttCalibrationType(), l1t::CaloParamsHelper::setEtSumEtThreshold(), l1t::CaloParamsHelper::setEtSumEttPUSLUT(), l1t::CaloParamsHelper::setEtSumEttPUSType(), l1t::CaloParamsHelper::setEtSumLsb(), l1t::CaloParamsHelper::setEtSumMetPUSLUT(), l1t::CaloParamsHelper::setEtSumMetPUSType(), l1t::CaloParamsHelper::setIsoTauEtaMax(), l1t::CaloParamsHelper::setIsoTauEtaMin(), l1t::CaloParamsHelper::setJetBypassPUS(), l1t::CaloParamsHelper::setJetCalibrationLUT(), l1t::CaloParamsHelper::setJetCalibrationParams(), l1t::CaloParamsHelper::setJetCalibrationType(), l1t::CaloParamsHelper::setJetCompressEtaLUT(), l1t::CaloParamsHelper::setJetCompressPtLUT(), l1t::CaloParamsHelper::setJetLsb(), l1t::CaloParamsHelper::setJetNeighbourThreshold(), l1t::CaloParamsHelper::setJetPUSType(), l1t::CaloParamsHelper::setJetPUSUsePhiRing(), l1t::CaloParamsHelper::setJetRegionMask(), l1t::CaloParamsHelper::setJetSeedThreshold(), l1t::CaloParamsHelper::setLayer1ECalScaleETBins(), l1t::CaloParamsHelper::setLayer1ECalScaleFactors(), l1t::CaloParamsHelper::setLayer1ECalScalePhiBins(), l1t::CaloParamsHelper::setLayer1HCalScaleETBins(), l1t::CaloParamsHelper::setLayer1HCalScaleFactors(), l1t::CaloParamsHelper::setLayer1HCalScalePhiBins(), l1t::CaloParamsHelper::setLayer1HFScaleETBins(), l1t::CaloParamsHelper::setLayer1HFScaleFactors(), l1t::CaloParamsHelper::setLayer1HFScalePhiBins(), l1t::CaloParamsHelper::setLayer1SecondStageLUT(), l1t::CaloParamsHelper::setMetCalibrationLUT(), l1t::CaloParamsHelper::setMetCalibrationType(), l1t::CaloParamsHelper::setMetHFCalibrationLUT(), l1t::CaloParamsHelper::setMetHFCalibrationType(), l1t::CaloParamsHelper::setMetHFPhiCalibrationLUT(), l1t::CaloParamsHelper::setMetPhiCalibrationLUT(), l1t::CaloParamsHelper::setMinimumBiasThresholds(), l1t::CaloParamsHelper::setQ2LUT(), l1t::CaloParamsHelper::setRegionLsb(), l1t::CaloParamsHelper::setRegionPUSParams(), l1t::CaloParamsHelper::setRegionPUSType(), l1t::CaloParamsHelper::setTauCalibrationLUT(), l1t::CaloParamsHelper::setTauCompressLUT(), l1t::CaloParamsHelper::setTauEtToHFRingEtLUT(), l1t::CaloParamsHelper::setTauIsoAreaNrTowersEta(), l1t::CaloParamsHelper::setTauIsoAreaNrTowersPhi(), l1t::CaloParamsHelper::setTauIsolationLUT(), l1t::CaloParamsHelper::setTauIsolationLUT2(), l1t::CaloParamsHelper::setTauIsoVetoNrTowersPhi(), l1t::CaloParamsHelper::setTauLsb(), l1t::CaloParamsHelper::setTauMaxJetIsolationA(), l1t::CaloParamsHelper::setTauMaxJetIsolationB(), l1t::CaloParamsHelper::setTauMaxPtTauVeto(), l1t::CaloParamsHelper::setTauMinPtJetIsolationB(), l1t::CaloParamsHelper::setTauNeighbourThreshold(), l1t::CaloParamsHelper::setTauPUSParams(), l1t::CaloParamsHelper::setTauPUSType(), l1t::CaloParamsHelper::setTauRegionMask(), l1t::CaloParamsHelper::setTauSeedThreshold(), l1t::CaloParamsHelper::setTauTrimmingShapeVetoLUT(), l1t::CaloParamsHelper::setTowerEncoding(), l1t::CaloParamsHelper::setTowerLsbE(), l1t::CaloParamsHelper::setTowerLsbH(), l1t::CaloParamsHelper::setTowerLsbSum(), l1t::CaloParamsHelper::setTowerNBitsE(), l1t::CaloParamsHelper::setTowerNBitsH(), l1t::CaloParamsHelper::setTowerNBitsRatio(), l1t::CaloParamsHelper::setTowerNBitsSum(), AlCaHLTBitMon_QueryRunRegistry::string, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::tauCalibrationLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::tauCompressLUTFile, caloParams_cfi::tauEtToHFRingEtLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::tauIsoLUTFile, caloParams_2018_v1_0_ECALZS_inconsistent_cfi::tauIsoLUTFile2, and caloParams_cfi::tauTrimmingShapeVetoLUTFile.

◆ ~L1TCaloParamsESProducer()

L1TCaloParamsESProducer::~L1TCaloParamsESProducer ( )
override

Definition at line 364 of file L1TCaloParamsESProducer.cc.

364  {
365  // do anything here that needs to be done at desctruction time
366  // (e.g. close files, deallocate resources etc.)
367 }

Member Function Documentation

◆ produce()

L1TCaloParamsESProducer::ReturnType L1TCaloParamsESProducer::produce ( const L1TCaloParamsRcd iRecord)

Definition at line 374 of file L1TCaloParamsESProducer.cc.

374  {
375  return std::make_unique<CaloParams>(m_params);
376 }

Member Data Documentation

◆ m_label

std::string L1TCaloParamsESProducer::m_label
private

Definition at line 52 of file L1TCaloParamsESProducer.cc.

◆ m_params

CaloParams L1TCaloParamsESProducer::m_params
private

Definition at line 51 of file L1TCaloParamsESProducer.cc.

caloParams_2018_v1_0_ECALZS_inconsistent_cfi.tauIsoLUTFile
tauIsoLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:61
l1t::CaloParamsHelper::setTowerNBitsRatio
void setTowerNBitsRatio(int n)
Definition: CaloParamsHelper.h:124
l1t::CaloParamsHelper::setTauMaxJetIsolationA
void setTauMaxJetIsolationA(double cutValue)
Definition: CaloParamsHelper.h:337
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.tauIsoLUTFile2
tauIsoLUTFile2
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:62
l1t::CaloParamsHelper::setEtSumEcalSumCalibrationLUT
void setEtSumEcalSumCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:483
l1t::CaloParamsHelper::setEtSumEtaMax
void setEtSumEtaMax(unsigned isum, int eta)
Definition: CaloParamsHelper.cc:45
l1t::CaloParamsHelper::setEtSumEcalSumPUSType
void setEtSumEcalSumPUSType(std::string type)
Definition: CaloParamsHelper.h:459
l1t::CaloParamsHelper::setEgCalibrationVersion
void setEgCalibrationVersion(unsigned version)
Definition: CaloParamsHelper.h:284
mps_fire.i
i
Definition: mps_fire.py:428
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.egShapeIdLUTFile
egShapeIdLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:35
l1t::CaloParamsHelper::setTauEtToHFRingEtLUT
void setTauEtToHFRingEtLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:361
l1t::CaloParamsHelper::setCentralityLUT
void setCentralityLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:519
l1t::CaloParamsHelper::setMetPhiCalibrationLUT
void setMetPhiCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:484
l1t::CaloParamsHelper::setLayer1HFScaleFactors
void setLayer1HFScaleFactors(std::vector< double > params)
Definition: CaloParamsHelper.h:562
l1t::CaloParamsHelper::setEgLsb
void setEgLsb(double lsb)
Definition: CaloParamsHelper.h:223
l1t::CaloParamsHelper::setJetCalibrationParams
void setJetCalibrationParams(std::vector< double > params)
Definition: CaloParamsHelper.h:404
caloParams_2018_v1_4_1_cfi.metCalibrationLUTFile
metCalibrationLUTFile
Definition: caloParams_2018_v1_4_1_cfi.py:113
l1t::CaloParamsHelper::setIsoTauEtaMax
void setIsoTauEtaMax(int value)
Definition: CaloParamsHelper.h:339
l1t::CaloParamsHelper::setEgNeighbourThreshold
void setEgNeighbourThreshold(double thresh)
Definition: CaloParamsHelper.h:225
caloParams_2018_v1_4_1_cfi.metHFPhiCalibrationLUTFile
metHFPhiCalibrationLUTFile
Definition: caloParams_2018_v1_4_1_cfi.py:118
l1t::CaloParamsHelper::setTauIsolationLUT
void setTauIsolationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:341
l1t::CaloParamsHelper::setEgMinPtHOverEIsolation
void setEgMinPtHOverEIsolation(int cutValue)
Definition: CaloParamsHelper.h:235
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.tauCalibrationLUTFile
tauCalibrationLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:63
l1t::CaloParamsHelper::setJetCalibrationLUT
void setJetCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:405
l1t::CaloParamsHelper::setRegionPUSType
void setRegionPUSType(std::string type)
Definition: CaloParamsHelper.h:143
l1t::CaloParamsHelper::setTauLsb
void setTauLsb(double lsb)
Definition: CaloParamsHelper.h:331
l1t::CaloParamsHelper::setTauMinPtJetIsolationB
void setTauMinPtJetIsolationB(double limit)
Definition: CaloParamsHelper.h:335
l1t::CaloParamsHelper::setEtSumBypassMetPUS
void setEtSumBypassMetPUS(unsigned flag)
Definition: CaloParamsHelper.h:464
l1t::CaloParamsHelper::setEtSumMetPUSLUT
void setEtSumMetPUSLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:477
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.jetCalibrationLUTFile
jetCalibrationLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:116
l1t::CaloParamsHelper::setTauCalibrationLUT
void setTauCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:357
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
l1t::CaloParamsHelper::setEtSumBypassEcalSumPUS
void setEtSumBypassEcalSumPUS(unsigned flag)
Definition: CaloParamsHelper.h:472
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.etSumEttCalibrationLUTFile
etSumEttCalibrationLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:140
l1t::CaloParamsHelper::setEgMaxPtJetIsolation
void setEgMaxPtJetIsolation(int cutValue)
Definition: CaloParamsHelper.h:234
l1t::CaloParamsHelper::setEgHcalThreshold
void setEgHcalThreshold(double thresh)
Definition: CaloParamsHelper.h:226
l1t::CaloParamsHelper::setEgHOverEcutEndcap
void setEgHOverEcutEndcap(int cut)
Definition: CaloParamsHelper.h:261
l1t::CaloParamsHelper::setCentralityRegionMask
void setCentralityRegionMask(int mask)
Definition: CaloParamsHelper.h:509
l1t::CaloParamsHelper::setTauIsoAreaNrTowersPhi
void setTauIsoAreaNrTowersPhi(unsigned iTauIsoAreaNrTowersPhi)
Definition: CaloParamsHelper.h:349
l1t::CaloParamsHelper::setEgBypassExtHOverE
void setEgBypassExtHOverE(unsigned flag)
Definition: CaloParamsHelper.h:241
l1t::CaloParamsHelper::setTauNeighbourThreshold
void setTauNeighbourThreshold(double thresh)
Definition: CaloParamsHelper.h:333
edm::ParameterSet::existsAs
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:171
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.egCalibrationLUTFile
egCalibrationLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:50
l1t::CaloParamsHelper::setEtSumEttCalibrationLUT
void setEtSumEttCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:482
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.egIsoLUTFile
egIsoLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:39
l1t::CaloParamsHelper::setLayer1ECalScalePhiBins
void setLayer1ECalScalePhiBins(std::vector< unsigned > params)
Definition: CaloParamsHelper.h:566
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.jetCompressPtLUTFile
jetCompressPtLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:114
l1t::CaloParamsHelper::setTauIsoAreaNrTowersEta
void setTauIsoAreaNrTowersEta(unsigned iTauIsoAreaNrTowersEta)
Definition: CaloParamsHelper.h:346
l1t::CaloParamsHelper::setJetCompressEtaLUT
void setJetCompressEtaLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:406
l1t::CaloParamsHelper::setLayer1HCalScalePhiBins
void setLayer1HCalScalePhiBins(std::vector< unsigned > params)
Definition: CaloParamsHelper.h:567
l1t::CaloParamsHelper::setEtSumEttPUSLUT
void setEtSumEttPUSLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:478
caloParams_cfi.tauTrimmingShapeVetoLUTFile
tauTrimmingShapeVetoLUTFile
Definition: caloParams_cfi.py:93
edm::FileInPath
Definition: FileInPath.h:61
l1t::CaloParamsHelper::setEgShapeIdLUT
void setEgShapeIdLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:232
l1t::CaloParamsHelper::setEgCalibrationLUT
void setEgCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:276
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.etSumEtaMax
etSumEtaMax
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:122
l1t::CaloParamsHelper::setJetCompressPtLUT
void setJetCompressPtLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:407
l1t::CaloParamsHelper::setTauMaxPtTauVeto
void setTauMaxPtTauVeto(double limit)
Definition: CaloParamsHelper.h:334
l1t::CaloParamsHelper::setEtSumEcalSumCalibrationType
void setEtSumEcalSumCalibrationType(std::string type)
Definition: CaloParamsHelper.h:463
l1t::CaloParamsHelper::setEtSumCentLower
void setEtSumCentLower(unsigned centClass, double loBound)
Definition: CaloParamsHelper.h:539
l1t::CaloParamsHelper::setEgHOverEcutBarrel
void setEgHOverEcutBarrel(int cut)
Definition: CaloParamsHelper.h:257
l1t::CaloParamsHelper::setEtSumMetPUSType
void setEtSumMetPUSType(std::string type)
Definition: CaloParamsHelper.h:457
l1t::CaloParamsHelper::setTowerLsbH
void setTowerLsbH(double lsb)
Definition: CaloParamsHelper.h:109
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.etSumEcalSumCalibrationLUTFile
etSumEcalSumCalibrationLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:141
l1t::CaloParamsHelper::setEtSumEtaMin
void setEtSumEtaMin(unsigned isum, int eta)
Definition: CaloParamsHelper.cc:39
l1t::CaloParamsHelper::setEgMinPtJetIsolation
void setEgMinPtJetIsolation(int cutValue)
Definition: CaloParamsHelper.h:233
l1t::CaloParamsHelper::setJetCalibrationType
void setJetCalibrationType(std::string type)
Definition: CaloParamsHelper.h:403
l1t::CaloParamsHelper::setRegionLsb
void setRegionLsb(double lsb)
Definition: CaloParamsHelper.h:142
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.etSumEtThreshold
etSumEtThreshold
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:123
caloParams_cfi.centralityLUTFile
centralityLUTFile
Definition: caloParams_cfi.py:143
l1t::CaloParamsHelper::setEgBypassECALFG
void setEgBypassECALFG(unsigned flag)
Definition: CaloParamsHelper.h:249
l1t::CaloParamsHelper::setEgIsolationLUT2
void setEgIsolationLUT2(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:273
l1t::CaloParamsHelper::setEtSumCentUpper
void setEtSumCentUpper(unsigned centClass, double upBound)
Definition: CaloParamsHelper.h:544
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.egIsoLUTFile2
egIsoLUTFile2
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:40
l1t::CaloParamsHelper::setTowerNBitsH
void setTowerNBitsH(int n)
Definition: CaloParamsHelper.h:112
l1t::CaloParamsHelper::setJetPUSUsePhiRing
void setJetPUSUsePhiRing(unsigned flag)
Definition: CaloParamsHelper.h:412
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.jetCompressEtaLUTFile
jetCompressEtaLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:115
l1t::CaloParamsHelper::setLayer1HCalScaleETBins
void setLayer1HCalScaleETBins(std::vector< int > params)
Definition: CaloParamsHelper.h:564
l1t::CaloParamsHelper::setEgBypassEGVetos
void setEgBypassEGVetos(unsigned flag)
Definition: CaloParamsHelper.h:237
l1t::CaloParamsHelper::setTauCompressLUT
void setTauCompressLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:358
l1t::CaloParamsHelper::setLayer1HCalScaleFactors
void setLayer1HCalScaleFactors(std::vector< double > params)
Definition: CaloParamsHelper.h:561
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.etSumEttPUSLUTFile
etSumEttPUSLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:136
l1t::CaloParamsHelper::setEtSumEtThreshold
void setEtSumEtThreshold(unsigned isum, double thresh)
Definition: CaloParamsHelper.cc:51
l1t::CaloParamsHelper::setEgPUSType
void setEgPUSType(std::string type)
Definition: CaloParamsHelper.h:269
l1t::CaloParamsHelper::setTowerEncoding
void setTowerEncoding(bool doit)
Definition: CaloParamsHelper.h:128
l1t::CaloParamsHelper::setLayer1ECalScaleETBins
void setLayer1ECalScaleETBins(std::vector< int > params)
Definition: CaloParamsHelper.h:563
l1t::CaloParamsHelper::setTauPUSType
void setTauPUSType(std::string type)
Definition: CaloParamsHelper.h:340
l1t::CaloParamsHelper::setTauSeedThreshold
void setTauSeedThreshold(double thresh)
Definition: CaloParamsHelper.h:332
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.etSumEtaMin
etSumEtaMin
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:121
l1t::CaloParamsHelper::setEgBypassShape
void setEgBypassShape(unsigned flag)
Definition: CaloParamsHelper.h:245
caloParams_2018_v1_4_1_cfi.metPhiCalibrationLUTFile
metPhiCalibrationLUTFile
Definition: caloParams_2018_v1_4_1_cfi.py:117
l1t::CaloParamsHelper::setEgMaxHcalEt
void setEgMaxHcalEt(double cut)
Definition: CaloParamsHelper.h:228
l1t::CaloParamsHelper::setEgShapeIdVersion
void setEgShapeIdVersion(unsigned version)
Definition: CaloParamsHelper.h:282
l1t::CaloParamsHelper::setJetNeighbourThreshold
void setJetNeighbourThreshold(double thresh)
Definition: CaloParamsHelper.h:396
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.egTrimmingLUTFile
egTrimmingLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:27
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.egCompressShapesLUTFile
egCompressShapesLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:32
l1t::CaloParamsHelper::setTauRegionMask
void setTauRegionMask(int mask)
Definition: CaloParamsHelper.h:327
l1t::CaloParamsHelper::setTauMaxJetIsolationB
void setTauMaxJetIsolationB(double limit)
Definition: CaloParamsHelper.h:336
l1t::CaloParamsHelper::setEgIsoAreaNrTowersPhi
void setEgIsoAreaNrTowersPhi(unsigned iEgIsoAreaNrTowersPhi)
Definition: CaloParamsHelper.h:267
l1t::CaloParamsHelper::setEgEtaCut
void setEgEtaCut(int mask)
Definition: CaloParamsHelper.h:219
l1t::CaloParamsHelper::setTowerNBitsSum
void setTowerNBitsSum(int n)
Definition: CaloParamsHelper.h:120
l1t::CaloParamsHelper::setJetLsb
void setJetLsb(double lsb)
Definition: CaloParamsHelper.h:394
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
l1t::CaloParamsHelper::setJetRegionMask
void setJetRegionMask(int mask)
Definition: CaloParamsHelper.h:397
l1t::CaloParamsHelper
Definition: CaloParamsHelper.h:21
l1t::CaloParamsHelper::setLayer1SecondStageLUT
void setLayer1SecondStageLUT(const std::vector< unsigned > &lut)
Definition: CaloParamsHelper.h:571
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::CaloParamsHelper::setLayer1HFScalePhiBins
void setLayer1HFScalePhiBins(std::vector< unsigned > params)
Definition: CaloParamsHelper.h:568
l1t::CaloParamsHelper::setLayer1HFScaleETBins
void setLayer1HFScaleETBins(std::vector< int > params)
Definition: CaloParamsHelper.h:565
l1t::CaloParamsHelper::setQ2LUT
void setQ2LUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:524
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.egMaxHOverELUTFile
egMaxHOverELUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:30
l1t::CaloParamsHelper::setMetHFCalibrationType
void setMetHFCalibrationType(std::string type)
Definition: CaloParamsHelper.h:461
l1t::CaloParamsHelper::setMetCalibrationType
void setMetCalibrationType(std::string type)
Definition: CaloParamsHelper.h:460
l1t::CaloParamsHelper::setTauPUSParams
void setTauPUSParams(const std::vector< double > &params)
Definition: CaloParamsHelper.h:359
l1t::CaloParamsHelper::setEtSumEttCalibrationType
void setEtSumEttCalibrationType(std::string type)
Definition: CaloParamsHelper.h:462
l1t::CaloParamsHelper::setEtSumBypassEttPUS
void setEtSumBypassEttPUS(unsigned flag)
Definition: CaloParamsHelper.h:468
l1t::CaloParamsHelper::setEgTrimmingLUT
void setEgTrimmingLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:227
l1t::CaloParams
Definition: CaloParams.h:25
l1t::CaloParamsHelper::setJetSeedThreshold
void setJetSeedThreshold(double thresh)
Definition: CaloParamsHelper.h:395
l1t::CaloParamsHelper::setLayer1ECalScaleFactors
void setLayer1ECalScaleFactors(std::vector< double > params)
Definition: CaloParamsHelper.h:560
l1t::CaloParamsHelper::setEgMaxPtHOverE
void setEgMaxPtHOverE(double thresh)
Definition: CaloParamsHelper.h:229
l1t::CaloParamsHelper::setEgMaxHOverELUT
void setEgMaxHOverELUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:230
l1t::CaloParamsHelper::setEgIsolationLUT
void setEgIsolationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:272
LUT
std::vector< unsigned short int > LUT
Definition: DTTracoLUTs.h:31
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.etSumMetPUSLUTFile
etSumMetPUSLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:135
l1t::CaloParamsHelper::setTowerNBitsE
void setTowerNBitsE(int n)
Definition: CaloParamsHelper.h:116
l1t::CaloParamsHelper::setEgMaxPtHOverEIsolation
void setEgMaxPtHOverEIsolation(int cutValue)
Definition: CaloParamsHelper.h:236
l1t::CaloParamsHelper::setMetHFCalibrationLUT
void setMetHFCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:481
l1t::CaloParamsHelper::setMinimumBiasThresholds
void setMinimumBiasThresholds(std::vector< int > thresholds)
Definition: CaloParamsHelper.h:513
l1t::CaloParamsHelper::setEgBypassHoE
void setEgBypassHoE(unsigned flag)
Definition: CaloParamsHelper.h:253
l1t::CaloParamsHelper::setEgSeedThreshold
void setEgSeedThreshold(double thresh)
Definition: CaloParamsHelper.h:224
l1t::CaloParamsHelper::setTauTrimmingShapeVetoLUT
void setTauTrimmingShapeVetoLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:343
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
l1t::CaloParamsHelper::setRegionPUSParams
void setRegionPUSParams(const std::vector< double > &params)
Definition: CaloParamsHelper.h:144
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.tauCompressLUTFile
tauCompressLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:64
l1t::CaloParamsHelper::setTauIsoVetoNrTowersPhi
void setTauIsoVetoNrTowersPhi(unsigned iTauIsoVetoNrTowersPhi)
Definition: CaloParamsHelper.h:352
caloParams_2018_v1_0_ECALZS_inconsistent_cfi.etSumEcalSumPUSLUTFile
etSumEcalSumPUSLUTFile
Definition: caloParams_2018_v1_0_ECALZS_inconsistent_cfi.py:137
l1t::CaloParamsHelper::setEtSumLsb
void setEtSumLsb(double lsb)
Definition: CaloParamsHelper.h:453
l1t::CaloParamsHelper::setTauIsolationLUT2
void setTauIsolationLUT2(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:342
l1t::CaloParamsHelper::setJetBypassPUS
void setJetBypassPUS(unsigned flag)
Definition: CaloParamsHelper.h:408
caloParams_2018_v1_4_1_cfi.metHFCalibrationLUTFile
metHFCalibrationLUTFile
Definition: caloParams_2018_v1_4_1_cfi.py:114
l1t::CaloParamsHelper::setEgIsoVetoNrTowersPhi
void setEgIsoVetoNrTowersPhi(unsigned iEgIsoVetoNrTowersPhi)
Definition: CaloParamsHelper.h:268
l1t::CaloParamsHelper::setMetCalibrationLUT
void setMetCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:480
l1t::CaloParamsHelper::setMetHFPhiCalibrationLUT
void setMetHFPhiCalibrationLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:485
l1t::CaloParamsHelper::setIsoTauEtaMin
void setIsoTauEtaMin(int value)
Definition: CaloParamsHelper.h:338
l1t::CaloParamsHelper::setEgIsoAreaNrTowersEta
void setEgIsoAreaNrTowersEta(unsigned iEgIsoAreaNrTowersEta)
Definition: CaloParamsHelper.h:266
l1t::CaloParamsHelper::setEtSumEttPUSType
void setEtSumEttPUSType(std::string type)
Definition: CaloParamsHelper.h:458
l1t::CaloParamsHelper::setEgShapeIdType
void setEgShapeIdType(std::string type)
Definition: CaloParamsHelper.h:280
l1t::CaloParamsHelper::setEgPUSParams
void setEgPUSParams(const std::vector< double > &params)
Definition: CaloParamsHelper.h:270
l1t::CaloParamsHelper::setEgCalibrationType
void setEgCalibrationType(std::string type)
Definition: CaloParamsHelper.h:274
l1t::CaloParamsHelper::setJetPUSType
void setJetPUSType(std::string type)
Definition: CaloParamsHelper.h:401
L1TCaloParamsESProducer::m_params
CaloParams m_params
Definition: L1TCaloParamsESProducer.cc:51
l1t::CaloParamsHelper::setTowerLsbSum
void setTowerLsbSum(double lsb)
Definition: CaloParamsHelper.h:111
l1t::CaloParamsHelper::setTowerLsbE
void setTowerLsbE(double lsb)
Definition: CaloParamsHelper.h:110
caloParams_cfi.tauEtToHFRingEtLUTFile
tauEtToHFRingEtLUTFile
Definition: caloParams_cfi.py:95
l1t::CaloParamsHelper::setEgCompressShapesLUT
void setEgCompressShapesLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:231
l1t::CaloParamsHelper::setEgIsolationType
void setEgIsolationType(std::string type)
Definition: CaloParamsHelper.h:271
caloParams_cfi.q2LUTFile
q2LUTFile
Definition: caloParams_cfi.py:144
l1t::CaloParamsHelper::setEtSumEcalSumPUSLUT
void setEtSumEcalSumPUSLUT(const l1t::LUT &lut)
Definition: CaloParamsHelper.h:479