CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
20 // system include files
21 #include <memory>
22 
23 // user include files
28 
36 
37 //
38 // class declaration
39 //
40 
42  public:
45 
46  typedef std::shared_ptr<L1TMuonGlobalParams> ReturnType;
47 
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 {
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::TrigSystem 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(), topCfgXmlFile.fullPath(), iConfig.getParameter<std::string>("xmlCfgKey"));
79 
80  m_params_helper.loadFromOnline(trgSys, iConfig.getParameter<std::string>("uGmtProcessorId"));
81  } else {
82  // Firmware version
83  unsigned fwVersion = iConfig.getParameter<unsigned>("fwVersion");
84  m_params_helper.setFwVersion(fwVersion);
85 
86  // LUTs
87  m_params_helper.setFwdPosSingleMatchQualLUTMaxDR(iConfig.getParameter<double>("FwdPosSingleMatchQualLUTMaxDR"),
88  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfEta"),
89  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfPhi"));
90  m_params_helper.setFwdNegSingleMatchQualLUTMaxDR(iConfig.getParameter<double>("FwdNegSingleMatchQualLUTMaxDR"),
91  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfEta"),
92  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfPhi"));
93  m_params_helper.setOvlPosSingleMatchQualLUTMaxDR(iConfig.getParameter<double>("OvlPosSingleMatchQualLUTMaxDR"),
94  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEta"),
95  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEtaCoarse"),
96  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfPhi"));
97  m_params_helper.setOvlNegSingleMatchQualLUTMaxDR(iConfig.getParameter<double>("OvlNegSingleMatchQualLUTMaxDR"),
98  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEta"),
99  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEtaCoarse"),
100  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfPhi"));
101  m_params_helper.setBOPosMatchQualLUTMaxDR(iConfig.getParameter<double>("BOPosMatchQualLUTMaxDR"),
102  iConfig.getParameter<double>("BOPosMatchQualLUTfEta"),
103  iConfig.getParameter<double>("BOPosMatchQualLUTfEtaCoarse"),
104  iConfig.getParameter<double>("BOPosMatchQualLUTfPhi"));
105  m_params_helper.setBONegMatchQualLUTMaxDR(iConfig.getParameter<double>("BONegMatchQualLUTMaxDR"),
106  iConfig.getParameter<double>("BONegMatchQualLUTfEta"),
107  iConfig.getParameter<double>("BONegMatchQualLUTfEtaCoarse"),
108  iConfig.getParameter<double>("BONegMatchQualLUTfPhi"));
109  m_params_helper.setFOPosMatchQualLUTMaxDR(iConfig.getParameter<double>("FOPosMatchQualLUTMaxDR"),
110  iConfig.getParameter<double>("FOPosMatchQualLUTfEta"),
111  iConfig.getParameter<double>("FOPosMatchQualLUTfEtaCoarse"),
112  iConfig.getParameter<double>("FOPosMatchQualLUTfPhi"));
113  m_params_helper.setFONegMatchQualLUTMaxDR(iConfig.getParameter<double>("FONegMatchQualLUTMaxDR"),
114  iConfig.getParameter<double>("FONegMatchQualLUTfEta"),
115  iConfig.getParameter<double>("FONegMatchQualLUTfEtaCoarse"),
116  iConfig.getParameter<double>("FONegMatchQualLUTfPhi"));
117 
118  unsigned sortRankLUTPtFactor = iConfig.getParameter<unsigned>("SortRankLUTPtFactor");
119  unsigned sortRankLUTQualFactor = iConfig.getParameter<unsigned>("SortRankLUTQualFactor");
120  m_params_helper.setSortRankLUTFactors(sortRankLUTPtFactor, sortRankLUTQualFactor);
121 
122  auto absIsoCheckMemLUT = l1t::MicroGMTAbsoluteIsolationCheckLUTFactory::create (iConfig.getParameter<std::string>("AbsIsoCheckMemLUTPath"), fwVersion);
123  auto relIsoCheckMemLUT = l1t::MicroGMTRelativeIsolationCheckLUTFactory::create (iConfig.getParameter<std::string>("RelIsoCheckMemLUTPath"), fwVersion);
124  auto idxSelMemPhiLUT = l1t::MicroGMTCaloIndexSelectionLUTFactory::create (iConfig.getParameter<std::string>("IdxSelMemPhiLUTPath"), l1t::MicroGMTConfiguration::PHI, fwVersion);
125  auto idxSelMemEtaLUT = l1t::MicroGMTCaloIndexSelectionLUTFactory::create (iConfig.getParameter<std::string>("IdxSelMemEtaLUTPath"), l1t::MicroGMTConfiguration::ETA, fwVersion);
126  auto fwdPosSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("FwdPosSingleMatchQualLUTPath"),
127  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTMaxDR"),
128  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfEta"),
129  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfEta"), // set the coarse eta factor = fine eta factor
130  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfPhi"),
131  l1t::cancel_t::emtf_emtf_pos, fwVersion);
132  auto fwdNegSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("FwdNegSingleMatchQualLUTPath"),
133  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTMaxDR"),
134  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfEta"),
135  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfEta"), // set the coarse eta factor = fine eta factor
136  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfPhi"),
137  l1t::cancel_t::emtf_emtf_neg, fwVersion);
138  auto ovlPosSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("OvlPosSingleMatchQualLUTPath"),
139  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTMaxDR"),
140  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEta"),
141  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEtaCoarse"),
142  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfPhi"),
143  l1t::cancel_t::omtf_omtf_pos, fwVersion);
144  auto ovlNegSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("OvlNegSingleMatchQualLUTPath"),
145  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTMaxDR"),
146  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEta"),
147  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEtaCoarse"),
148  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfPhi"),
149  l1t::cancel_t::omtf_omtf_neg, fwVersion);
150  auto bOPosMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("BOPosMatchQualLUTPath"),
151  iConfig.getParameter<double>("BOPosMatchQualLUTMaxDR"),
152  iConfig.getParameter<double>("BOPosMatchQualLUTfEta"),
153  iConfig.getParameter<double>("BOPosMatchQualLUTfEtaCoarse"),
154  iConfig.getParameter<double>("BOPosMatchQualLUTfPhi"),
155  l1t::cancel_t::omtf_bmtf_pos, fwVersion);
156  auto bONegMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("BONegMatchQualLUTPath"),
157  iConfig.getParameter<double>("BONegMatchQualLUTMaxDR"),
158  iConfig.getParameter<double>("BONegMatchQualLUTfEta"),
159  iConfig.getParameter<double>("BONegMatchQualLUTfEtaCoarse"),
160  iConfig.getParameter<double>("BONegMatchQualLUTfPhi"),
161  l1t::cancel_t::omtf_bmtf_neg, fwVersion);
162  auto fOPosMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("FOPosMatchQualLUTPath"),
163  iConfig.getParameter<double>("FOPosMatchQualLUTMaxDR"),
164  iConfig.getParameter<double>("FOPosMatchQualLUTfEta"),
165  iConfig.getParameter<double>("FOPosMatchQualLUTfEtaCoarse"),
166  iConfig.getParameter<double>("FOPosMatchQualLUTfPhi"),
167  l1t::cancel_t::omtf_emtf_pos, fwVersion);
168  auto fONegMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("FONegMatchQualLUTPath"),
169  iConfig.getParameter<double>("FONegMatchQualLUTMaxDR"),
170  iConfig.getParameter<double>("FONegMatchQualLUTfEta"),
171  iConfig.getParameter<double>("FONegMatchQualLUTfEtaCoarse"),
172  iConfig.getParameter<double>("FONegMatchQualLUTfPhi"),
173  l1t::cancel_t::omtf_emtf_neg, fwVersion);
174  auto bPhiExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("BPhiExtrapolationLUTPath"), l1t::MicroGMTConfiguration::PHI_OUT, fwVersion);
175  auto oPhiExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("OPhiExtrapolationLUTPath"), l1t::MicroGMTConfiguration::PHI_OUT, fwVersion);
176  auto fPhiExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("FPhiExtrapolationLUTPath"), l1t::MicroGMTConfiguration::PHI_OUT, fwVersion);
177  auto bEtaExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("BEtaExtrapolationLUTPath"), l1t::MicroGMTConfiguration::ETA_OUT, fwVersion);
178  auto oEtaExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("OEtaExtrapolationLUTPath"), l1t::MicroGMTConfiguration::ETA_OUT, fwVersion);
179  auto fEtaExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("FEtaExtrapolationLUTPath"), l1t::MicroGMTConfiguration::ETA_OUT, fwVersion);
180  auto rankPtQualityLUT = l1t::MicroGMTRankPtQualLUTFactory::create (iConfig.getParameter<std::string>("SortRankLUTPath"), fwVersion, sortRankLUTPtFactor, sortRankLUTQualFactor); // LUTs defined from config file
181  m_params_helper.setAbsIsoCheckMemLUT(*absIsoCheckMemLUT);
182  m_params_helper.setRelIsoCheckMemLUT(*relIsoCheckMemLUT);
183  m_params_helper.setIdxSelMemPhiLUT(*idxSelMemPhiLUT);
184  m_params_helper.setIdxSelMemEtaLUT(*idxSelMemEtaLUT);
185  m_params_helper.setFwdPosSingleMatchQualLUT(*fwdPosSingleMatchQualLUT);
186  m_params_helper.setFwdNegSingleMatchQualLUT(*fwdNegSingleMatchQualLUT);
187  m_params_helper.setOvlPosSingleMatchQualLUT(*ovlPosSingleMatchQualLUT);
188  m_params_helper.setOvlNegSingleMatchQualLUT(*ovlNegSingleMatchQualLUT);
189  m_params_helper.setBOPosMatchQualLUT(*bOPosMatchQualLUT);
190  m_params_helper.setBONegMatchQualLUT(*bONegMatchQualLUT);
191  m_params_helper.setFOPosMatchQualLUT(*fOPosMatchQualLUT);
192  m_params_helper.setFONegMatchQualLUT(*fONegMatchQualLUT);
193  m_params_helper.setBPhiExtrapolationLUT(*bPhiExtrapolationLUT);
194  m_params_helper.setOPhiExtrapolationLUT(*oPhiExtrapolationLUT);
195  m_params_helper.setFPhiExtrapolationLUT(*fPhiExtrapolationLUT);
196  m_params_helper.setBEtaExtrapolationLUT(*bEtaExtrapolationLUT);
197  m_params_helper.setOEtaExtrapolationLUT(*oEtaExtrapolationLUT);
198  m_params_helper.setFEtaExtrapolationLUT(*fEtaExtrapolationLUT);
199  m_params_helper.setSortRankLUT(*rankPtQualityLUT);
200 
201  // LUT paths
202  m_params_helper.setAbsIsoCheckMemLUTPath (iConfig.getParameter<std::string>("AbsIsoCheckMemLUTPath"));
203  m_params_helper.setRelIsoCheckMemLUTPath (iConfig.getParameter<std::string>("RelIsoCheckMemLUTPath"));
204  m_params_helper.setIdxSelMemPhiLUTPath (iConfig.getParameter<std::string>("IdxSelMemPhiLUTPath"));
205  m_params_helper.setIdxSelMemEtaLUTPath (iConfig.getParameter<std::string>("IdxSelMemEtaLUTPath"));
206  m_params_helper.setFwdPosSingleMatchQualLUTPath (iConfig.getParameter<std::string>("FwdPosSingleMatchQualLUTPath"));
207  m_params_helper.setFwdNegSingleMatchQualLUTPath (iConfig.getParameter<std::string>("FwdNegSingleMatchQualLUTPath"));
208  m_params_helper.setOvlPosSingleMatchQualLUTPath (iConfig.getParameter<std::string>("OvlPosSingleMatchQualLUTPath"));
209  m_params_helper.setOvlNegSingleMatchQualLUTPath (iConfig.getParameter<std::string>("OvlNegSingleMatchQualLUTPath"));
210  m_params_helper.setBOPosMatchQualLUTPath (iConfig.getParameter<std::string>("BOPosMatchQualLUTPath"));
211  m_params_helper.setBONegMatchQualLUTPath (iConfig.getParameter<std::string>("BONegMatchQualLUTPath"));
212  m_params_helper.setFOPosMatchQualLUTPath (iConfig.getParameter<std::string>("FOPosMatchQualLUTPath"));
213  m_params_helper.setFONegMatchQualLUTPath (iConfig.getParameter<std::string>("FONegMatchQualLUTPath"));
214  m_params_helper.setBPhiExtrapolationLUTPath (iConfig.getParameter<std::string>("BPhiExtrapolationLUTPath"));
215  m_params_helper.setOPhiExtrapolationLUTPath (iConfig.getParameter<std::string>("OPhiExtrapolationLUTPath"));
216  m_params_helper.setFPhiExtrapolationLUTPath (iConfig.getParameter<std::string>("FPhiExtrapolationLUTPath"));
217  m_params_helper.setBEtaExtrapolationLUTPath (iConfig.getParameter<std::string>("BEtaExtrapolationLUTPath"));
218  m_params_helper.setOEtaExtrapolationLUTPath (iConfig.getParameter<std::string>("OEtaExtrapolationLUTPath"));
219  m_params_helper.setFEtaExtrapolationLUTPath (iConfig.getParameter<std::string>("FEtaExtrapolationLUTPath"));
220  m_params_helper.setSortRankLUTPath (iConfig.getParameter<std::string>("SortRankLUTPath"));
221 
222  // uGMT disabled inputs
223  bool disableCaloInputs = iConfig.getParameter<bool>("caloInputsDisable");
224  std::vector<unsigned> bmtfInputsToDisable = iConfig.getParameter<std::vector<unsigned> >("bmtfInputsToDisable");
225  std::vector<unsigned> omtfInputsToDisable = iConfig.getParameter<std::vector<unsigned> >("omtfInputsToDisable");
226  std::vector<unsigned> emtfInputsToDisable = iConfig.getParameter<std::vector<unsigned> >("emtfInputsToDisable");
227 
228  if (disableCaloInputs) {
229  m_params_helper.setCaloInputsToDisable(std::bitset<28>(0xFFFFFFF));
230  } else {
231  m_params_helper.setCaloInputsToDisable(std::bitset<28>());
232  }
233 
234  std::bitset<12> bmtfDisables;
235  for (size_t i = 0; i < bmtfInputsToDisable.size(); ++i) {
236  bmtfDisables.set(i, bmtfInputsToDisable[i] > 0);
237  }
238  m_params_helper.setBmtfInputsToDisable(bmtfDisables);
239 
240  std::bitset<6> omtfpDisables;
241  std::bitset<6> omtfnDisables;
242  for (size_t i = 0; i < omtfInputsToDisable.size(); ++i) {
243  if (i < 6) {
244  omtfpDisables.set(i, omtfInputsToDisable[i] > 0);
245  } else {
246  omtfnDisables.set(i-6, omtfInputsToDisable[i] > 0);
247  }
248  }
249  m_params_helper.setOmtfpInputsToDisable(omtfpDisables);
250  m_params_helper.setOmtfnInputsToDisable(omtfnDisables);
251 
252  std::bitset<6> emtfpDisables;
253  std::bitset<6> emtfnDisables;
254  for (size_t i = 0; i < emtfInputsToDisable.size(); ++i) {
255  if (i < 6) {
256  emtfpDisables.set(i, emtfInputsToDisable[i] > 0);
257  } else {
258  emtfnDisables.set(i-6, emtfInputsToDisable[i] > 0);
259  }
260  }
261  m_params_helper.setEmtfpInputsToDisable(emtfpDisables);
262  m_params_helper.setEmtfnInputsToDisable(emtfnDisables);
263 
264  // masked inputs
265  bool caloInputsMasked = iConfig.getParameter<bool>("caloInputsMasked");
266  std::vector<unsigned> maskedBmtfInputs = iConfig.getParameter<std::vector<unsigned> >("maskedBmtfInputs");
267  std::vector<unsigned> maskedOmtfInputs = iConfig.getParameter<std::vector<unsigned> >("maskedOmtfInputs");
268  std::vector<unsigned> maskedEmtfInputs = iConfig.getParameter<std::vector<unsigned> >("maskedEmtfInputs");
269 
270  if (caloInputsMasked) {
271  m_params_helper.setMaskedCaloInputs(std::bitset<28>(0xFFFFFFF));
272  } else {
273  m_params_helper.setMaskedCaloInputs(std::bitset<28>());
274  }
275 
276  std::bitset<12> bmtfMasked;
277  for (size_t i = 0; i < maskedBmtfInputs.size(); ++i) {
278  bmtfMasked.set(i, maskedBmtfInputs[i] > 0);
279  }
280  m_params_helper.setMaskedBmtfInputs(bmtfMasked);
281 
282  std::bitset<6> omtfpMasked;
283  std::bitset<6> omtfnMasked;
284  for (size_t i = 0; i < maskedOmtfInputs.size(); ++i) {
285  if (i < 6) {
286  omtfpMasked.set(i, maskedOmtfInputs[i] > 0);
287  } else {
288  omtfnMasked.set(i-6, maskedOmtfInputs[i] > 0);
289  }
290  }
291  m_params_helper.setMaskedOmtfpInputs(omtfpMasked);
292  m_params_helper.setMaskedOmtfnInputs(omtfnMasked);
293 
294  std::bitset<6> emtfpMasked;
295  std::bitset<6> emtfnMasked;
296  for (size_t i = 0; i < maskedEmtfInputs.size(); ++i) {
297  if (i < 6) {
298  emtfpMasked.set(i, maskedEmtfInputs[i] > 0);
299  } else {
300  emtfnMasked.set(i-6, maskedEmtfInputs[i] > 0);
301  }
302  }
303  m_params_helper.setMaskedEmtfpInputs(emtfpMasked);
304  m_params_helper.setMaskedEmtfnInputs(emtfnMasked);
305  }
306 
307  // temp hack to avoid ALCA/DB signoff:
309 }
310 
311 
313 {
314 }
315 
316 
317 //
318 // member functions
319 //
320 
321 // ------------ method called to produce the data ------------
324 {
325  using namespace edm::es;
326 
327  return std::make_shared<L1TMuonGlobalParams>(m_params);
328 }
329 
330 //define this as a plug-in
const L1TMuonGlobalParams & cast_to_L1TMuonGlobalParams(const L1TMuonGlobalParams_PUBLIC &x)
L1TMuonGlobalParamsESProducer(const edm::ParameterSet &)
T getParameter(std::string const &) const
void setFOPosMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
int i
Definition: DBlmapReader.cc:9
void setMaskedCaloInputs(const std::bitset< 28 > &masked)
void setBOPosMatchQualLUTPath(std::string path)
void setIdxSelMemEtaLUT(const l1t::LUT &lut)
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 setBONegMatchQualLUTPath(std::string path)
void setFEtaExtrapolationLUT(const l1t::LUT &lut)
void setIdxSelMemEtaLUTPath(std::string path)
void setFPhiExtrapolationLUT(const l1t::LUT &lut)
void setFONegMatchQualLUTPath(std::string path)
void setOmtfpInputsToDisable(const std::bitset< 6 > &disables)
void setOEtaExtrapolationLUT(const l1t::LUT &lut)
void setSortRankLUTFactors(unsigned ptFactor, unsigned qualFactor)
static ReturnType create(const std::string &filename, const int fwVersion)
void setAbsIsoCheckMemLUTPath(std::string path)
void setIdxSelMemPhiLUT(const l1t::LUT &lut)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
static ReturnType create(const std::string &filename, const int type, const int fwVersion)
void configureSystemFromFiles(const std::string &hwCfgFile, const std::string &topCfgFile, const std::string &key)
Definition: TrigSystem.cc:19
void setBPhiExtrapolationLUT(const l1t::LUT &lut)
void setOPhiExtrapolationLUTPath(std::string path)
void setFwdPosSingleMatchQualLUTPath(std::string path)
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 setSortRankLUTPath(std::string path)
void setFOPosMatchQualLUTPath(std::string path)
void setMaskedOmtfpInputs(const std::bitset< 6 > &masked)
void setRelIsoCheckMemLUTPath(std::string path)
void setFONegMatchQualLUT(const l1t::LUT &lut)
void setOvlNegSingleMatchQualLUTPath(std::string path)
void setRelIsoCheckMemLUT(const l1t::LUT &lut)
void setFPhiExtrapolationLUTPath(std::string path)
void setEmtfnInputsToDisable(const std::bitset< 6 > &disables)
void setOvlPosSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
void setFEtaExtrapolationLUTPath(std::string path)
void setAbsIsoCheckMemLUT(const l1t::LUT &lut)
void setOvlPosSingleMatchQualLUT(const l1t::LUT &lut)
void setFwVersion(unsigned fwVersion)
void setBEtaExtrapolationLUTPath(std::string path)
void setBOPosMatchQualLUT(const l1t::LUT &lut)
void setFwdNegSingleMatchQualLUTPath(std::string path)
void setMaskedOmtfnInputs(const std::bitset< 6 > &masked)
void setOEtaExtrapolationLUTPath(std::string path)
void setCaloInputsToDisable(const std::bitset< 28 > &disables)
void loadFromOnline(l1t::TrigSystem &trgSys, const std::string &processorId="")
void setBOPosMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
void setIdxSelMemPhiLUTPath(std::string path)
void setMaskedBmtfInputs(const std::bitset< 12 > &masked)
void setFONegMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
void setFwdNegSingleMatchQualLUT(const l1t::LUT &lut)
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)
ReturnType produce(const L1TMuonGlobalParamsRcd &)
void setMaskedEmtfnInputs(const std::bitset< 6 > &masked)
void setEmtfpInputsToDisable(const std::bitset< 6 > &disables)
void setBPhiExtrapolationLUTPath(std::string path)
void setOmtfnInputsToDisable(const std::bitset< 6 > &disables)
std::shared_ptr< L1TMuonGlobalParams > ReturnType
std::string fullPath() const
Definition: FileInPath.cc:184
void setFwdNegSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fPhi)
void setOvlPosSingleMatchQualLUTPath(std::string path)
void setOvlNegSingleMatchQualLUT(const l1t::LUT &lut)
static ReturnType create(const std::string &filename, const int type, const int fwVersion)