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