CMS 3D CMS Logo

L1TMuonGlobalParamsESProducer.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: L1Trigger/L1TMuonGlobalParamsESProducer
4 // Class: L1TMuonGlobalParamsESProducer
5 //
13 //
14 // Original Author: Thomas Reis
15 // Created: Mon, 21 Sep 2015 13:28:49 GMT
16 //
17 //
18 
19 // system include files
20 #include <memory>
21 #include <strstream>
22 
23 // user include files
28 
36 
37 //
38 // class declaration
39 //
40 
42 public:
45 
46  using ReturnType = std::unique_ptr<L1TMuonGlobalParams>;
47 
49 
50 private:
52 };
53 
54 //
55 // constants, enums and typedefs
56 //
57 
58 //
59 // static data member definitions
60 //
61 
62 //
63 // constructors and destructor
64 //
66  //the following line is needed to tell the framework what
67  // data is being produced
68  setWhatProduced(this);
69 
70  L1TMuonGlobalParamsHelper m_params_helper;
71 
72  // get configuration from DB
73  if (iConfig.getParameter<bool>("configFromXml")) {
74  l1t::TriggerSystem trgSys;
75  edm::FileInPath hwXmlFile(iConfig.getParameter<std::string>("hwXmlFile"));
76  edm::FileInPath topCfgXmlFile(iConfig.getParameter<std::string>("topCfgXmlFile"));
77  // These xml files are for testing the configuration from the online DB
78  trgSys.configureSystemFromFiles(hwXmlFile.fullPath().c_str(),
79  topCfgXmlFile.fullPath().c_str(),
80  iConfig.getParameter<std::string>("xmlCfgKey").c_str());
81 
82  m_params_helper.loadFromOnline(trgSys, iConfig.getParameter<std::string>("uGmtProcessorId"));
83  } else {
84  // Firmware version
85  unsigned fwVersion = iConfig.getParameter<unsigned>("fwVersion");
86  m_params_helper.setFwVersion(fwVersion);
87 
88  // LUTs
89  m_params_helper.setFwdPosSingleMatchQualLUTMaxDR(iConfig.getParameter<double>("FwdPosSingleMatchQualLUTMaxDR"),
90  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfEta"),
91  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfPhi"));
92  m_params_helper.setFwdNegSingleMatchQualLUTMaxDR(iConfig.getParameter<double>("FwdNegSingleMatchQualLUTMaxDR"),
93  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfEta"),
94  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfPhi"));
95  m_params_helper.setOvlPosSingleMatchQualLUTMaxDR(iConfig.getParameter<double>("OvlPosSingleMatchQualLUTMaxDR"),
96  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEta"),
97  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEtaCoarse"),
98  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfPhi"));
99  m_params_helper.setOvlNegSingleMatchQualLUTMaxDR(iConfig.getParameter<double>("OvlNegSingleMatchQualLUTMaxDR"),
100  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEta"),
101  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEtaCoarse"),
102  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfPhi"));
103  m_params_helper.setBOPosMatchQualLUTMaxDR(iConfig.getParameter<double>("BOPosMatchQualLUTMaxDR"),
104  iConfig.getParameter<double>("BOPosMatchQualLUTfEta"),
105  iConfig.getParameter<double>("BOPosMatchQualLUTfEtaCoarse"),
106  iConfig.getParameter<double>("BOPosMatchQualLUTfPhi"));
107  m_params_helper.setBONegMatchQualLUTMaxDR(iConfig.getParameter<double>("BONegMatchQualLUTMaxDR"),
108  iConfig.getParameter<double>("BONegMatchQualLUTfEta"),
109  iConfig.getParameter<double>("BONegMatchQualLUTfEtaCoarse"),
110  iConfig.getParameter<double>("BONegMatchQualLUTfPhi"));
111  m_params_helper.setFOPosMatchQualLUTMaxDR(iConfig.getParameter<double>("FOPosMatchQualLUTMaxDR"),
112  iConfig.getParameter<double>("FOPosMatchQualLUTfEta"),
113  iConfig.getParameter<double>("FOPosMatchQualLUTfEtaCoarse"),
114  iConfig.getParameter<double>("FOPosMatchQualLUTfPhi"));
115  m_params_helper.setFONegMatchQualLUTMaxDR(iConfig.getParameter<double>("FONegMatchQualLUTMaxDR"),
116  iConfig.getParameter<double>("FONegMatchQualLUTfEta"),
117  iConfig.getParameter<double>("FONegMatchQualLUTfEtaCoarse"),
118  iConfig.getParameter<double>("FONegMatchQualLUTfPhi"));
119 
120  unsigned sortRankLUTPtFactor = iConfig.getParameter<unsigned>("SortRankLUTPtFactor");
121  unsigned sortRankLUTQualFactor = iConfig.getParameter<unsigned>("SortRankLUTQualFactor");
122  m_params_helper.setSortRankLUTFactors(sortRankLUTPtFactor, sortRankLUTQualFactor);
123 
125  iConfig.getParameter<std::string>("AbsIsoCheckMemLUTPath"), fwVersion);
127  iConfig.getParameter<std::string>("RelIsoCheckMemLUTPath"), fwVersion);
129  iConfig.getParameter<std::string>("IdxSelMemPhiLUTPath"), l1t::MicroGMTConfiguration::PHI, fwVersion);
131  iConfig.getParameter<std::string>("IdxSelMemEtaLUTPath"), l1t::MicroGMTConfiguration::ETA, fwVersion);
132  auto fwdPosSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create(
133  iConfig.getParameter<std::string>("FwdPosSingleMatchQualLUTPath"),
134  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTMaxDR"),
135  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfEta"),
136  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfEta"), // set the coarse eta factor = fine eta factor
137  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfPhi"),
139  fwVersion);
140  auto fwdNegSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create(
141  iConfig.getParameter<std::string>("FwdNegSingleMatchQualLUTPath"),
142  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTMaxDR"),
143  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfEta"),
144  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfEta"), // set the coarse eta factor = fine eta factor
145  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfPhi"),
147  fwVersion);
148  auto ovlPosSingleMatchQualLUT =
149  l1t::MicroGMTMatchQualLUTFactory::create(iConfig.getParameter<std::string>("OvlPosSingleMatchQualLUTPath"),
150  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTMaxDR"),
151  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEta"),
152  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEtaCoarse"),
153  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfPhi"),
155  fwVersion);
156  auto ovlNegSingleMatchQualLUT =
157  l1t::MicroGMTMatchQualLUTFactory::create(iConfig.getParameter<std::string>("OvlNegSingleMatchQualLUTPath"),
158  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTMaxDR"),
159  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEta"),
160  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEtaCoarse"),
161  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfPhi"),
163  fwVersion);
164  auto bOPosMatchQualLUT =
165  l1t::MicroGMTMatchQualLUTFactory::create(iConfig.getParameter<std::string>("BOPosMatchQualLUTPath"),
166  iConfig.getParameter<double>("BOPosMatchQualLUTMaxDR"),
167  iConfig.getParameter<double>("BOPosMatchQualLUTfEta"),
168  iConfig.getParameter<double>("BOPosMatchQualLUTfEtaCoarse"),
169  iConfig.getParameter<double>("BOPosMatchQualLUTfPhi"),
171  fwVersion);
172  auto bONegMatchQualLUT =
173  l1t::MicroGMTMatchQualLUTFactory::create(iConfig.getParameter<std::string>("BONegMatchQualLUTPath"),
174  iConfig.getParameter<double>("BONegMatchQualLUTMaxDR"),
175  iConfig.getParameter<double>("BONegMatchQualLUTfEta"),
176  iConfig.getParameter<double>("BONegMatchQualLUTfEtaCoarse"),
177  iConfig.getParameter<double>("BONegMatchQualLUTfPhi"),
179  fwVersion);
180  auto fOPosMatchQualLUT =
181  l1t::MicroGMTMatchQualLUTFactory::create(iConfig.getParameter<std::string>("FOPosMatchQualLUTPath"),
182  iConfig.getParameter<double>("FOPosMatchQualLUTMaxDR"),
183  iConfig.getParameter<double>("FOPosMatchQualLUTfEta"),
184  iConfig.getParameter<double>("FOPosMatchQualLUTfEtaCoarse"),
185  iConfig.getParameter<double>("FOPosMatchQualLUTfPhi"),
187  fwVersion);
188  auto fONegMatchQualLUT =
189  l1t::MicroGMTMatchQualLUTFactory::create(iConfig.getParameter<std::string>("FONegMatchQualLUTPath"),
190  iConfig.getParameter<double>("FONegMatchQualLUTMaxDR"),
191  iConfig.getParameter<double>("FONegMatchQualLUTfEta"),
192  iConfig.getParameter<double>("FONegMatchQualLUTfEtaCoarse"),
193  iConfig.getParameter<double>("FONegMatchQualLUTfPhi"),
195  fwVersion);
196  auto bPhiExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create(
197  iConfig.getParameter<std::string>("BPhiExtrapolationLUTPath"), l1t::MicroGMTConfiguration::PHI_OUT, fwVersion);
198  auto oPhiExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create(
199  iConfig.getParameter<std::string>("OPhiExtrapolationLUTPath"), l1t::MicroGMTConfiguration::PHI_OUT, fwVersion);
200  auto fPhiExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create(
201  iConfig.getParameter<std::string>("FPhiExtrapolationLUTPath"), l1t::MicroGMTConfiguration::PHI_OUT, fwVersion);
202  auto bEtaExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create(
203  iConfig.getParameter<std::string>("BEtaExtrapolationLUTPath"), l1t::MicroGMTConfiguration::ETA_OUT, fwVersion);
204  auto oEtaExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create(
205  iConfig.getParameter<std::string>("OEtaExtrapolationLUTPath"), l1t::MicroGMTConfiguration::ETA_OUT, fwVersion);
206  auto fEtaExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create(
207  iConfig.getParameter<std::string>("FEtaExtrapolationLUTPath"), l1t::MicroGMTConfiguration::ETA_OUT, fwVersion);
208  auto rankPtQualityLUT =
210  fwVersion,
211  sortRankLUTPtFactor,
212  sortRankLUTQualFactor); // LUTs defined from config file
213  m_params_helper.setAbsIsoCheckMemLUT(*absIsoCheckMemLUT);
214  m_params_helper.setRelIsoCheckMemLUT(*relIsoCheckMemLUT);
215  m_params_helper.setIdxSelMemPhiLUT(*idxSelMemPhiLUT);
216  m_params_helper.setIdxSelMemEtaLUT(*idxSelMemEtaLUT);
217  m_params_helper.setFwdPosSingleMatchQualLUT(*fwdPosSingleMatchQualLUT);
218  m_params_helper.setFwdNegSingleMatchQualLUT(*fwdNegSingleMatchQualLUT);
219  m_params_helper.setOvlPosSingleMatchQualLUT(*ovlPosSingleMatchQualLUT);
220  m_params_helper.setOvlNegSingleMatchQualLUT(*ovlNegSingleMatchQualLUT);
221  m_params_helper.setBOPosMatchQualLUT(*bOPosMatchQualLUT);
222  m_params_helper.setBONegMatchQualLUT(*bONegMatchQualLUT);
223  m_params_helper.setFOPosMatchQualLUT(*fOPosMatchQualLUT);
224  m_params_helper.setFONegMatchQualLUT(*fONegMatchQualLUT);
225  m_params_helper.setBPhiExtrapolationLUT(*bPhiExtrapolationLUT);
226  m_params_helper.setOPhiExtrapolationLUT(*oPhiExtrapolationLUT);
227  m_params_helper.setFPhiExtrapolationLUT(*fPhiExtrapolationLUT);
228  m_params_helper.setBEtaExtrapolationLUT(*bEtaExtrapolationLUT);
229  m_params_helper.setOEtaExtrapolationLUT(*oEtaExtrapolationLUT);
230  m_params_helper.setFEtaExtrapolationLUT(*fEtaExtrapolationLUT);
231  m_params_helper.setSortRankLUT(*rankPtQualityLUT);
232 
233  // LUT paths
234  m_params_helper.setAbsIsoCheckMemLUTPath(iConfig.getParameter<std::string>("AbsIsoCheckMemLUTPath"));
235  m_params_helper.setRelIsoCheckMemLUTPath(iConfig.getParameter<std::string>("RelIsoCheckMemLUTPath"));
236  m_params_helper.setIdxSelMemPhiLUTPath(iConfig.getParameter<std::string>("IdxSelMemPhiLUTPath"));
237  m_params_helper.setIdxSelMemEtaLUTPath(iConfig.getParameter<std::string>("IdxSelMemEtaLUTPath"));
238  m_params_helper.setFwdPosSingleMatchQualLUTPath(iConfig.getParameter<std::string>("FwdPosSingleMatchQualLUTPath"));
239  m_params_helper.setFwdNegSingleMatchQualLUTPath(iConfig.getParameter<std::string>("FwdNegSingleMatchQualLUTPath"));
240  m_params_helper.setOvlPosSingleMatchQualLUTPath(iConfig.getParameter<std::string>("OvlPosSingleMatchQualLUTPath"));
241  m_params_helper.setOvlNegSingleMatchQualLUTPath(iConfig.getParameter<std::string>("OvlNegSingleMatchQualLUTPath"));
242  m_params_helper.setBOPosMatchQualLUTPath(iConfig.getParameter<std::string>("BOPosMatchQualLUTPath"));
243  m_params_helper.setBONegMatchQualLUTPath(iConfig.getParameter<std::string>("BONegMatchQualLUTPath"));
244  m_params_helper.setFOPosMatchQualLUTPath(iConfig.getParameter<std::string>("FOPosMatchQualLUTPath"));
245  m_params_helper.setFONegMatchQualLUTPath(iConfig.getParameter<std::string>("FONegMatchQualLUTPath"));
246  m_params_helper.setBPhiExtrapolationLUTPath(iConfig.getParameter<std::string>("BPhiExtrapolationLUTPath"));
247  m_params_helper.setOPhiExtrapolationLUTPath(iConfig.getParameter<std::string>("OPhiExtrapolationLUTPath"));
248  m_params_helper.setFPhiExtrapolationLUTPath(iConfig.getParameter<std::string>("FPhiExtrapolationLUTPath"));
249  m_params_helper.setBEtaExtrapolationLUTPath(iConfig.getParameter<std::string>("BEtaExtrapolationLUTPath"));
250  m_params_helper.setOEtaExtrapolationLUTPath(iConfig.getParameter<std::string>("OEtaExtrapolationLUTPath"));
251  m_params_helper.setFEtaExtrapolationLUTPath(iConfig.getParameter<std::string>("FEtaExtrapolationLUTPath"));
252  m_params_helper.setSortRankLUTPath(iConfig.getParameter<std::string>("SortRankLUTPath"));
253 
254  // uGMT disabled inputs
255  bool disableCaloInputs = iConfig.getParameter<bool>("caloInputsDisable");
256  std::vector<unsigned> bmtfInputsToDisable = iConfig.getParameter<std::vector<unsigned> >("bmtfInputsToDisable");
257  std::vector<unsigned> omtfInputsToDisable = iConfig.getParameter<std::vector<unsigned> >("omtfInputsToDisable");
258  std::vector<unsigned> emtfInputsToDisable = iConfig.getParameter<std::vector<unsigned> >("emtfInputsToDisable");
259 
260  if (disableCaloInputs) {
261  m_params_helper.setCaloInputsToDisable(std::bitset<28>(0xFFFFFFF));
262  } else {
263  m_params_helper.setCaloInputsToDisable(std::bitset<28>());
264  }
265 
266  std::bitset<12> bmtfDisables;
267  for (size_t i = 0; i < bmtfInputsToDisable.size(); ++i) {
268  bmtfDisables.set(i, bmtfInputsToDisable[i] > 0);
269  }
270  m_params_helper.setBmtfInputsToDisable(bmtfDisables);
271 
272  std::bitset<6> omtfpDisables;
273  std::bitset<6> omtfnDisables;
274  for (size_t i = 0; i < omtfInputsToDisable.size(); ++i) {
275  if (i < 6) {
276  omtfpDisables.set(i, omtfInputsToDisable[i] > 0);
277  } else {
278  omtfnDisables.set(i - 6, omtfInputsToDisable[i] > 0);
279  }
280  }
281  m_params_helper.setOmtfpInputsToDisable(omtfpDisables);
282  m_params_helper.setOmtfnInputsToDisable(omtfnDisables);
283 
284  std::bitset<6> emtfpDisables;
285  std::bitset<6> emtfnDisables;
286  for (size_t i = 0; i < emtfInputsToDisable.size(); ++i) {
287  if (i < 6) {
288  emtfpDisables.set(i, emtfInputsToDisable[i] > 0);
289  } else {
290  emtfnDisables.set(i - 6, emtfInputsToDisable[i] > 0);
291  }
292  }
293  m_params_helper.setEmtfpInputsToDisable(emtfpDisables);
294  m_params_helper.setEmtfnInputsToDisable(emtfnDisables);
295 
296  // masked inputs
297  bool caloInputsMasked = iConfig.getParameter<bool>("caloInputsMasked");
298  std::vector<unsigned> maskedBmtfInputs = iConfig.getParameter<std::vector<unsigned> >("maskedBmtfInputs");
299  std::vector<unsigned> maskedOmtfInputs = iConfig.getParameter<std::vector<unsigned> >("maskedOmtfInputs");
300  std::vector<unsigned> maskedEmtfInputs = iConfig.getParameter<std::vector<unsigned> >("maskedEmtfInputs");
301 
302  if (caloInputsMasked) {
303  m_params_helper.setMaskedCaloInputs(std::bitset<28>(0xFFFFFFF));
304  } else {
305  m_params_helper.setMaskedCaloInputs(std::bitset<28>());
306  }
307 
308  std::bitset<12> bmtfMasked;
309  for (size_t i = 0; i < maskedBmtfInputs.size(); ++i) {
310  bmtfMasked.set(i, maskedBmtfInputs[i] > 0);
311  }
312  m_params_helper.setMaskedBmtfInputs(bmtfMasked);
313 
314  std::bitset<6> omtfpMasked;
315  std::bitset<6> omtfnMasked;
316  for (size_t i = 0; i < maskedOmtfInputs.size(); ++i) {
317  if (i < 6) {
318  omtfpMasked.set(i, maskedOmtfInputs[i] > 0);
319  } else {
320  omtfnMasked.set(i - 6, maskedOmtfInputs[i] > 0);
321  }
322  }
323  m_params_helper.setMaskedOmtfpInputs(omtfpMasked);
324  m_params_helper.setMaskedOmtfnInputs(omtfnMasked);
325 
326  std::bitset<6> emtfpMasked;
327  std::bitset<6> emtfnMasked;
328  for (size_t i = 0; i < maskedEmtfInputs.size(); ++i) {
329  if (i < 6) {
330  emtfpMasked.set(i, maskedEmtfInputs[i] > 0);
331  } else {
332  emtfnMasked.set(i - 6, maskedEmtfInputs[i] > 0);
333  }
334  }
335  m_params_helper.setMaskedEmtfpInputs(emtfpMasked);
336  m_params_helper.setMaskedEmtfnInputs(emtfnMasked);
337  }
338 
339  // temp hack to avoid ALCA/DB signoff:
341 }
342 
344 
345 //
346 // member functions
347 //
348 
349 // ------------ method called to produce the data ------------
351  return std::make_unique<L1TMuonGlobalParams>(m_params);
352 }
353 
354 //define this as a plug-in
L1TMuonGlobalParamsHelper::setMaskedEmtfnInputs
void setMaskedEmtfnInputs(const std::bitset< 6 > &masked)
Definition: L1TMuonGlobalParamsHelper.h:135
L1TMuonGlobalParamsHelper::setFwVersion
void setFwVersion(unsigned fwVersion)
Definition: L1TMuonGlobalParamsHelper.cc:68
amcDumpToRaw_cfi.fwVersion
fwVersion
Definition: amcDumpToRaw_cfi.py:11
L1TMuonGlobalParamsHelper::setBPhiExtrapolationLUT
void setBPhiExtrapolationLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:205
L1TMuonGlobalParamsHelper::setAbsIsoCheckMemLUT
void setAbsIsoCheckMemLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:157
l1t::emtf_emtf_pos
Definition: MicroGMTMatchQualLUT.h:16
L1TMuonGlobalParamsHelper::setFPhiExtrapolationLUTPath
void setFPhiExtrapolationLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:328
mps_fire.i
i
Definition: mps_fire.py:355
L1TMuonGlobalParamsHelper::setIdxSelMemPhiLUTPath
void setIdxSelMemPhiLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:308
L1TMuonGlobalParamsHelper::setOvlNegSingleMatchQualLUTMaxDR
void setOvlNegSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
Definition: L1TMuonGlobalParamsHelper.cc:351
L1TMuonGlobalParamsHelper::setBONegMatchQualLUT
void setBONegMatchQualLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:193
L1TMuonGlobalParamsESProducer::L1TMuonGlobalParamsESProducer
L1TMuonGlobalParamsESProducer(const edm::ParameterSet &)
Definition: L1TMuonGlobalParamsESProducer.cc:65
L1TMuonGlobalParamsHelper::setOmtfpInputsToDisable
void setOmtfpInputsToDisable(const std::bitset< 6 > &disables)
Definition: L1TMuonGlobalParamsHelper.h:106
l1t::MicroGMTConfiguration::PHI
Definition: MicroGMTConfiguration.h:22
ESHandle.h
L1TMuonGlobalParamsHelper::setFOPosMatchQualLUT
void setFOPosMatchQualLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:197
l1t::MicroGMTAbsoluteIsolationCheckLUTFactory::create
static ReturnType create(const std::string &filename, const int fwVersion)
Definition: MicroGMTAbsoluteIsolationCheckLUTFactory.cc:18
L1TMuonGlobalParamsHelper::setCaloInputsToDisable
void setCaloInputsToDisable(const std::bitset< 28 > &disables)
Definition: L1TMuonGlobalParamsHelper.h:102
L1TMuonGlobalParamsHelper::setOvlPosSingleMatchQualLUTPath
void setOvlPosSingleMatchQualLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:316
L1TMuonGlobalParamsHelper::setAbsIsoCheckMemLUTPath
void setAbsIsoCheckMemLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:306
L1TMuonGlobalParamsHelper::loadFromOnline
void loadFromOnline(l1t::TriggerSystem &trgSys, const std::string &processorId="")
Definition: L1TMuonGlobalParamsHelper.cc:115
L1TMuonGlobalParamsHelper::setOPhiExtrapolationLUTPath
void setOPhiExtrapolationLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:327
L1TMuonGlobalParams
Definition: L1TMuonGlobalParams.h:21
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
fakeGmtParams_cff.bmtfInputsToDisable
bmtfInputsToDisable
Definition: fakeGmtParams_cff.py:30
L1TMuonGlobalParamsHelper::setFwdNegSingleMatchQualLUTMaxDR
void setFwdNegSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fPhi)
Definition: L1TMuonGlobalParamsHelper.cc:334
ESProducer.h
L1TMuonGlobalParamsHelper::setSortRankLUTFactors
void setSortRankLUTFactors(unsigned ptFactor, unsigned qualFactor)
Definition: L1TMuonGlobalParamsHelper.h:479
L1TMuonGlobalParamsHelper::setOvlPosSingleMatchQualLUTMaxDR
void setOvlPosSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
Definition: L1TMuonGlobalParamsHelper.cc:341
fakeGmtParams_cff.hwXmlFile
hwXmlFile
Definition: fakeGmtParams_cff.py:18
L1TMuonGlobalParamsHelper::setFONegMatchQualLUTMaxDR
void setFONegMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
Definition: L1TMuonGlobalParamsHelper.cc:382
L1TMuonGlobalParamsHelper::setBEtaExtrapolationLUT
void setBEtaExtrapolationLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:217
L1TMuonGlobalParamsHelper::setRelIsoCheckMemLUT
void setRelIsoCheckMemLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:161
L1TMuonGlobalParamsHelper::setBONegMatchQualLUTPath
void setBONegMatchQualLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:323
fakeGmtParams_cff.emtfInputsToDisable
emtfInputsToDisable
Definition: fakeGmtParams_cff.py:32
L1TMuonGlobalParamsHelper::setEmtfpInputsToDisable
void setEmtfpInputsToDisable(const std::bitset< 6 > &disables)
Definition: L1TMuonGlobalParamsHelper.h:112
l1t::TriggerSystem
Definition: TriggerSystem.h:14
l1t::MicroGMTCaloIndexSelectionLUTFactory::create
static ReturnType create(const std::string &filename, const int type, const int fwVersion)
Definition: MicroGMTCaloIndexSelectionLUTFactory.cc:18
edm::FileInPath
Definition: FileInPath.h:64
L1TMuonGlobalParamsHelper::setFONegMatchQualLUT
void setFONegMatchQualLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:201
fakeGmtParams_cff.maskedEmtfInputs
maskedEmtfInputs
Definition: fakeGmtParams_cff.py:39
l1t::MicroGMTRankPtQualLUTFactory::create
static ReturnType create(const std::string &filename, const int fwVersion, const unsigned ptFactor, const unsigned qualFactor)
Definition: MicroGMTRankPtQualLUTFactory.cc:18
l1t::MicroGMTExtrapolationLUTFactory::create
static ReturnType create(const std::string &filename, const int type, const int fwVersion)
Definition: MicroGMTExtrapolationLUTFactory.cc:18
L1TMuonGlobalParamsHelper::setFwdPosSingleMatchQualLUTMaxDR
void setFwdPosSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fPhi)
Definition: L1TMuonGlobalParamsHelper.cc:327
L1TMuonGlobalParamsHelper::setMaskedBmtfInputs
void setMaskedBmtfInputs(const std::bitset< 12 > &masked)
Definition: L1TMuonGlobalParamsHelper.h:131
L1TMuonGlobalParamsHelper::setIdxSelMemPhiLUT
void setIdxSelMemPhiLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:165
L1TMuonGlobalParamsHelper::setMaskedEmtfpInputs
void setMaskedEmtfpInputs(const std::bitset< 6 > &masked)
Definition: L1TMuonGlobalParamsHelper.h:134
L1TMuonGlobalParams_PUBLIC
Definition: L1TMuonGlobalParams_PUBLIC.h:21
L1TMuonGlobalParamsESProducer::~L1TMuonGlobalParamsESProducer
~L1TMuonGlobalParamsESProducer() override
Definition: L1TMuonGlobalParamsESProducer.cc:343
l1t::emtf_emtf_neg
Definition: MicroGMTMatchQualLUT.h:20
L1TMuonGlobalParamsHelper::setOEtaExtrapolationLUTPath
void setOEtaExtrapolationLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:330
L1TMuonGlobalParamsHelper::setFONegMatchQualLUTPath
void setFONegMatchQualLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:325
L1TMuonGlobalParamsESProducer::ReturnType
std::unique_ptr< L1TMuonGlobalParams > ReturnType
Definition: L1TMuonGlobalParamsESProducer.cc:46
l1t::MicroGMTRelativeIsolationCheckLUTFactory::create
static ReturnType create(const std::string &filename, const int fwVersion)
Definition: MicroGMTRelativeIsolationCheckLUTFactory.cc:18
L1TMuonGlobalParamsHelper::setMaskedOmtfpInputs
void setMaskedOmtfpInputs(const std::bitset< 6 > &masked)
Definition: L1TMuonGlobalParamsHelper.h:132
L1TMuonGlobalParamsHelper::setFEtaExtrapolationLUT
void setFEtaExtrapolationLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:225
L1TMuonGlobalParamsHelper::setBONegMatchQualLUTMaxDR
void setBONegMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
Definition: L1TMuonGlobalParamsHelper.cc:368
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ESProducts.h
L1TMuonGlobalParamsHelper::setBOPosMatchQualLUT
void setBOPosMatchQualLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:189
L1TMuonGlobalParamsHelper::setFPhiExtrapolationLUT
void setFPhiExtrapolationLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:213
edm::ParameterSet
Definition: ParameterSet.h:36
L1TMuonGlobalParamsHelper::setEmtfnInputsToDisable
void setEmtfnInputsToDisable(const std::bitset< 6 > &disables)
Definition: L1TMuonGlobalParamsHelper.h:115
L1TMuonGlobalParamsHelper::setRelIsoCheckMemLUTPath
void setRelIsoCheckMemLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:307
l1t::omtf_omtf_neg
Definition: MicroGMTMatchQualLUT.h:19
L1TMuonGlobalParamsHelper::setIdxSelMemEtaLUT
void setIdxSelMemEtaLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:169
fakeGmtParams_cff.topCfgXmlFile
topCfgXmlFile
Definition: fakeGmtParams_cff.py:19
L1TMuonGlobalParamsHelper::setSortRankLUTPath
void setSortRankLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:332
fakeGmtParams_cff.caloInputsMasked
caloInputsMasked
Definition: fakeGmtParams_cff.py:36
L1TMuonGlobalParamsHelper::setFwdNegSingleMatchQualLUT
void setFwdNegSingleMatchQualLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:177
MicroGMTLUTFactories.h
L1TMuonGlobalParams.h
l1t::MicroGMTConfiguration::ETA_OUT
Definition: MicroGMTConfiguration.h:31
L1TMuonGlobalParamsHelper::setFEtaExtrapolationLUTPath
void setFEtaExtrapolationLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:331
l1t::TriggerSystem::configureSystemFromFiles
void configureSystemFromFiles(const char *hwCfgFile, const char *topCfgFile, const char *key)
Definition: TriggerSystem.cc:8
L1TMuonGlobalParamsHelper::setMaskedOmtfnInputs
void setMaskedOmtfnInputs(const std::bitset< 6 > &masked)
Definition: L1TMuonGlobalParamsHelper.h:133
Mask.h
l1t::omtf_omtf_pos
Definition: MicroGMTMatchQualLUT.h:15
L1TMuonGlobalParamsHelper::setSortRankLUT
void setSortRankLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:229
L1TMuonGlobalParamsHelper::setFwdNegSingleMatchQualLUTPath
void setFwdNegSingleMatchQualLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:313
L1TMuonGlobalParamsRcd
Definition: L1TMuonGlobalParamsRcd.h:23
l1t::MicroGMTMatchQualLUTFactory::create
static ReturnType create(const std::string &filename, const double maxDR, const double fEta, const double fEtaCoarse, const double fPhi, cancel_t cancelType, const int fwVersion)
Definition: MicroGMTMatchQualLUTFactory.cc:18
L1TMuonGlobalParamsESProducer::m_params
L1TMuonGlobalParams m_params
Definition: L1TMuonGlobalParamsESProducer.cc:51
L1TMuonGlobalParamsHelper::setOvlNegSingleMatchQualLUTPath
void setOvlNegSingleMatchQualLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:319
L1TMuonGlobalParamsESProducer::produce
ReturnType produce(const L1TMuonGlobalParamsRcd &)
Definition: L1TMuonGlobalParamsESProducer.cc:350
l1t::omtf_bmtf_neg
Definition: MicroGMTMatchQualLUT.h:17
L1TMuonGlobalParamsHelper.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
L1TMuonGlobalParamsHelper::setBOPosMatchQualLUTPath
void setBOPosMatchQualLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:322
ModuleFactory.h
L1TMuonGlobalParamsHelper::setIdxSelMemEtaLUTPath
void setIdxSelMemEtaLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:309
L1TMuonGlobalParamsHelper::setFwdPosSingleMatchQualLUTPath
void setFwdPosSingleMatchQualLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:310
l1t::omtf_bmtf_pos
Definition: MicroGMTMatchQualLUT.h:13
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
L1TMuonGlobalParamsHelper::setFwdPosSingleMatchQualLUT
void setFwdPosSingleMatchQualLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:173
L1TMuonGlobalParamsESProducer
Definition: L1TMuonGlobalParamsESProducer.cc:41
L1TMuonGlobalParamsHelper::setFOPosMatchQualLUTPath
void setFOPosMatchQualLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:324
fakeGmtParams_cff.omtfInputsToDisable
omtfInputsToDisable
Definition: fakeGmtParams_cff.py:31
l1t::omtf_emtf_pos
Definition: MicroGMTMatchQualLUT.h:14
Parameter.h
L1TMuonGlobalParamsHelper::setOPhiExtrapolationLUT
void setOPhiExtrapolationLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:209
L1TMuonGlobalParamsHelper::setOvlNegSingleMatchQualLUT
void setOvlNegSingleMatchQualLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:185
l1t::omtf_emtf_neg
Definition: MicroGMTMatchQualLUT.h:18
TriggerSystem.h
cast_to_L1TMuonGlobalParams
const L1TMuonGlobalParams & cast_to_L1TMuonGlobalParams(const L1TMuonGlobalParams_PUBLIC &x)
Definition: L1TMuonGlobalParams_PUBLIC.cc:10
edm::ESProducer
Definition: ESProducer.h:101
L1TMuonGlobalParamsHelper::setBEtaExtrapolationLUTPath
void setBEtaExtrapolationLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:329
L1TMuonGlobalParamsHelper::setOvlPosSingleMatchQualLUT
void setOvlPosSingleMatchQualLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:181
L1TMuonGlobalParamsHelper::setFOPosMatchQualLUTMaxDR
void setFOPosMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
Definition: L1TMuonGlobalParamsHelper.cc:375
fakeGmtParams_cff.maskedBmtfInputs
maskedBmtfInputs
Definition: fakeGmtParams_cff.py:37
L1TMuonGlobalParamsHelper::setBPhiExtrapolationLUTPath
void setBPhiExtrapolationLUTPath(const std::string &path)
Definition: L1TMuonGlobalParamsHelper.h:326
L1TMuonGlobalParamsHelper::setMaskedCaloInputs
void setMaskedCaloInputs(const std::bitset< 28 > &masked)
Definition: L1TMuonGlobalParamsHelper.h:130
L1TMuonGlobalParamsHelper::setOmtfnInputsToDisable
void setOmtfnInputsToDisable(const std::bitset< 6 > &disables)
Definition: L1TMuonGlobalParamsHelper.h:109
L1TMuonGlobalParamsHelper::setOEtaExtrapolationLUT
void setOEtaExtrapolationLUT(const l1t::LUT &lut)
Definition: L1TMuonGlobalParamsHelper.h:221
L1TMuonGlobalParamsRcd.h
L1TMuonGlobalParamsHelper::setBmtfInputsToDisable
void setBmtfInputsToDisable(const std::bitset< 12 > &disables)
Definition: L1TMuonGlobalParamsHelper.h:103
fakeGmtParams_cff.maskedOmtfInputs
maskedOmtfInputs
Definition: fakeGmtParams_cff.py:38
L1TMuonGlobalParamsHelper
Definition: L1TMuonGlobalParamsHelper.h:24
L1TMuonGlobalParamsHelper::setBOPosMatchQualLUTMaxDR
void setBOPosMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
Definition: L1TMuonGlobalParamsHelper.cc:361
l1t::MicroGMTConfiguration::PHI_OUT
Definition: MicroGMTConfiguration.h:31
l1t::MicroGMTConfiguration::ETA
Definition: MicroGMTConfiguration.h:23