test
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 #include <strstream>
23 #include "boost/shared_ptr.hpp"
24 
25 // user include files
30 
38 
39 //
40 // class declaration
41 //
42 
44  public:
47 
48  typedef boost::shared_ptr<L1TMuonGlobalParams> ReturnType;
49 
51  private:
53 };
54 
55 //
56 // constants, enums and typedefs
57 //
58 
59 //
60 // static data member definitions
61 //
62 
63 //
64 // constructors and destructor
65 //
67 {
68  //the following line is needed to tell the framework what
69  // data is being produced
70  setWhatProduced(this);
71 
72  L1TMuonGlobalParamsHelper m_params_helper;
73 
74  // get configuration from DB
75  if (iConfig.getParameter<bool>("configFromXml")) {
76  l1t::TrigSystem trgSys;
77  edm::FileInPath hwXmlFile(iConfig.getParameter<std::string>("hwXmlFile"));
78  edm::FileInPath topCfgXmlFile(iConfig.getParameter<std::string>("topCfgXmlFile"));
79  // These xml files are for testing the configuration from the online DB
80  trgSys.configureSystemFromFiles(hwXmlFile.fullPath(), topCfgXmlFile.fullPath(), iConfig.getParameter<std::string>("xmlCfgKey"));
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 
124  auto absIsoCheckMemLUT = l1t::MicroGMTAbsoluteIsolationCheckLUTFactory::create (iConfig.getParameter<std::string>("AbsIsoCheckMemLUTPath"), fwVersion);
125  auto relIsoCheckMemLUT = l1t::MicroGMTRelativeIsolationCheckLUTFactory::create (iConfig.getParameter<std::string>("RelIsoCheckMemLUTPath"), fwVersion);
126  auto idxSelMemPhiLUT = l1t::MicroGMTCaloIndexSelectionLUTFactory::create (iConfig.getParameter<std::string>("IdxSelMemPhiLUTPath"), l1t::MicroGMTConfiguration::PHI, fwVersion);
127  auto idxSelMemEtaLUT = l1t::MicroGMTCaloIndexSelectionLUTFactory::create (iConfig.getParameter<std::string>("IdxSelMemEtaLUTPath"), l1t::MicroGMTConfiguration::ETA, fwVersion);
128  auto fwdPosSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("FwdPosSingleMatchQualLUTPath"),
129  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTMaxDR"),
130  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfEta"),
131  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfEta"), // set the coarse eta factor = fine eta factor
132  iConfig.getParameter<double>("FwdPosSingleMatchQualLUTfPhi"),
133  l1t::cancel_t::emtf_emtf_pos, fwVersion);
134  auto fwdNegSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("FwdNegSingleMatchQualLUTPath"),
135  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTMaxDR"),
136  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfEta"),
137  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfEta"), // set the coarse eta factor = fine eta factor
138  iConfig.getParameter<double>("FwdNegSingleMatchQualLUTfPhi"),
139  l1t::cancel_t::emtf_emtf_neg, fwVersion);
140  auto ovlPosSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("OvlPosSingleMatchQualLUTPath"),
141  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTMaxDR"),
142  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEta"),
143  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfEtaCoarse"),
144  iConfig.getParameter<double>("OvlPosSingleMatchQualLUTfPhi"),
145  l1t::cancel_t::omtf_omtf_pos, fwVersion);
146  auto ovlNegSingleMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("OvlNegSingleMatchQualLUTPath"),
147  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTMaxDR"),
148  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEta"),
149  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfEtaCoarse"),
150  iConfig.getParameter<double>("OvlNegSingleMatchQualLUTfPhi"),
151  l1t::cancel_t::omtf_omtf_neg, fwVersion);
152  auto bOPosMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("BOPosMatchQualLUTPath"),
153  iConfig.getParameter<double>("BOPosMatchQualLUTMaxDR"),
154  iConfig.getParameter<double>("BOPosMatchQualLUTfEta"),
155  iConfig.getParameter<double>("BOPosMatchQualLUTfEtaCoarse"),
156  iConfig.getParameter<double>("BOPosMatchQualLUTfPhi"),
157  l1t::cancel_t::omtf_bmtf_pos, fwVersion);
158  auto bONegMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("BONegMatchQualLUTPath"),
159  iConfig.getParameter<double>("BONegMatchQualLUTMaxDR"),
160  iConfig.getParameter<double>("BONegMatchQualLUTfEta"),
161  iConfig.getParameter<double>("BONegMatchQualLUTfEtaCoarse"),
162  iConfig.getParameter<double>("BONegMatchQualLUTfPhi"),
163  l1t::cancel_t::omtf_bmtf_neg, fwVersion);
164  auto fOPosMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("FOPosMatchQualLUTPath"),
165  iConfig.getParameter<double>("FOPosMatchQualLUTMaxDR"),
166  iConfig.getParameter<double>("FOPosMatchQualLUTfEta"),
167  iConfig.getParameter<double>("FOPosMatchQualLUTfEtaCoarse"),
168  iConfig.getParameter<double>("FOPosMatchQualLUTfPhi"),
169  l1t::cancel_t::omtf_emtf_pos, fwVersion);
170  auto fONegMatchQualLUT = l1t::MicroGMTMatchQualLUTFactory::create (iConfig.getParameter<std::string>("FONegMatchQualLUTPath"),
171  iConfig.getParameter<double>("FONegMatchQualLUTMaxDR"),
172  iConfig.getParameter<double>("FONegMatchQualLUTfEta"),
173  iConfig.getParameter<double>("FONegMatchQualLUTfEtaCoarse"),
174  iConfig.getParameter<double>("FONegMatchQualLUTfPhi"),
175  l1t::cancel_t::omtf_emtf_neg, fwVersion);
176  auto bPhiExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("BPhiExtrapolationLUTPath"), l1t::MicroGMTConfiguration::PHI_OUT, fwVersion);
177  auto oPhiExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("OPhiExtrapolationLUTPath"), l1t::MicroGMTConfiguration::PHI_OUT, fwVersion);
178  auto fPhiExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("FPhiExtrapolationLUTPath"), l1t::MicroGMTConfiguration::PHI_OUT, fwVersion);
179  auto bEtaExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("BEtaExtrapolationLUTPath"), l1t::MicroGMTConfiguration::ETA_OUT, fwVersion);
180  auto oEtaExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("OEtaExtrapolationLUTPath"), l1t::MicroGMTConfiguration::ETA_OUT, fwVersion);
181  auto fEtaExtrapolationLUT = l1t::MicroGMTExtrapolationLUTFactory::create (iConfig.getParameter<std::string>("FEtaExtrapolationLUTPath"), l1t::MicroGMTConfiguration::ETA_OUT, fwVersion);
182  auto rankPtQualityLUT = l1t::MicroGMTRankPtQualLUTFactory::create (iConfig.getParameter<std::string>("SortRankLUTPath"), fwVersion, sortRankLUTPtFactor, sortRankLUTQualFactor); // LUTs defined from config file
183  m_params_helper.setAbsIsoCheckMemLUT(*absIsoCheckMemLUT);
184  m_params_helper.setRelIsoCheckMemLUT(*relIsoCheckMemLUT);
185  m_params_helper.setIdxSelMemPhiLUT(*idxSelMemPhiLUT);
186  m_params_helper.setIdxSelMemEtaLUT(*idxSelMemEtaLUT);
187  m_params_helper.setFwdPosSingleMatchQualLUT(*fwdPosSingleMatchQualLUT);
188  m_params_helper.setFwdNegSingleMatchQualLUT(*fwdNegSingleMatchQualLUT);
189  m_params_helper.setOvlPosSingleMatchQualLUT(*ovlPosSingleMatchQualLUT);
190  m_params_helper.setOvlNegSingleMatchQualLUT(*ovlNegSingleMatchQualLUT);
191  m_params_helper.setBOPosMatchQualLUT(*bOPosMatchQualLUT);
192  m_params_helper.setBONegMatchQualLUT(*bONegMatchQualLUT);
193  m_params_helper.setFOPosMatchQualLUT(*fOPosMatchQualLUT);
194  m_params_helper.setFONegMatchQualLUT(*fONegMatchQualLUT);
195  m_params_helper.setBPhiExtrapolationLUT(*bPhiExtrapolationLUT);
196  m_params_helper.setOPhiExtrapolationLUT(*oPhiExtrapolationLUT);
197  m_params_helper.setFPhiExtrapolationLUT(*fPhiExtrapolationLUT);
198  m_params_helper.setBEtaExtrapolationLUT(*bEtaExtrapolationLUT);
199  m_params_helper.setOEtaExtrapolationLUT(*oEtaExtrapolationLUT);
200  m_params_helper.setFEtaExtrapolationLUT(*fEtaExtrapolationLUT);
201  m_params_helper.setSortRankLUT(*rankPtQualityLUT);
202 
203  // LUT paths
204  m_params_helper.setAbsIsoCheckMemLUTPath (iConfig.getParameter<std::string>("AbsIsoCheckMemLUTPath"));
205  m_params_helper.setRelIsoCheckMemLUTPath (iConfig.getParameter<std::string>("RelIsoCheckMemLUTPath"));
206  m_params_helper.setIdxSelMemPhiLUTPath (iConfig.getParameter<std::string>("IdxSelMemPhiLUTPath"));
207  m_params_helper.setIdxSelMemEtaLUTPath (iConfig.getParameter<std::string>("IdxSelMemEtaLUTPath"));
208  m_params_helper.setFwdPosSingleMatchQualLUTPath (iConfig.getParameter<std::string>("FwdPosSingleMatchQualLUTPath"));
209  m_params_helper.setFwdNegSingleMatchQualLUTPath (iConfig.getParameter<std::string>("FwdNegSingleMatchQualLUTPath"));
210  m_params_helper.setOvlPosSingleMatchQualLUTPath (iConfig.getParameter<std::string>("OvlPosSingleMatchQualLUTPath"));
211  m_params_helper.setOvlNegSingleMatchQualLUTPath (iConfig.getParameter<std::string>("OvlNegSingleMatchQualLUTPath"));
212  m_params_helper.setBOPosMatchQualLUTPath (iConfig.getParameter<std::string>("BOPosMatchQualLUTPath"));
213  m_params_helper.setBONegMatchQualLUTPath (iConfig.getParameter<std::string>("BONegMatchQualLUTPath"));
214  m_params_helper.setFOPosMatchQualLUTPath (iConfig.getParameter<std::string>("FOPosMatchQualLUTPath"));
215  m_params_helper.setFONegMatchQualLUTPath (iConfig.getParameter<std::string>("FONegMatchQualLUTPath"));
216  m_params_helper.setBPhiExtrapolationLUTPath (iConfig.getParameter<std::string>("BPhiExtrapolationLUTPath"));
217  m_params_helper.setOPhiExtrapolationLUTPath (iConfig.getParameter<std::string>("OPhiExtrapolationLUTPath"));
218  m_params_helper.setFPhiExtrapolationLUTPath (iConfig.getParameter<std::string>("FPhiExtrapolationLUTPath"));
219  m_params_helper.setBEtaExtrapolationLUTPath (iConfig.getParameter<std::string>("BEtaExtrapolationLUTPath"));
220  m_params_helper.setOEtaExtrapolationLUTPath (iConfig.getParameter<std::string>("OEtaExtrapolationLUTPath"));
221  m_params_helper.setFEtaExtrapolationLUTPath (iConfig.getParameter<std::string>("FEtaExtrapolationLUTPath"));
222  m_params_helper.setSortRankLUTPath (iConfig.getParameter<std::string>("SortRankLUTPath"));
223 
224  // uGMT disabled inputs
225  bool disableCaloInputs = iConfig.getParameter<bool>("caloInputsDisable");
226  std::vector<unsigned> bmtfInputsToDisable = iConfig.getParameter<std::vector<unsigned> >("bmtfInputsToDisable");
227  std::vector<unsigned> omtfInputsToDisable = iConfig.getParameter<std::vector<unsigned> >("omtfInputsToDisable");
228  std::vector<unsigned> emtfInputsToDisable = iConfig.getParameter<std::vector<unsigned> >("emtfInputsToDisable");
229 
230  if (disableCaloInputs) {
231  m_params_helper.setCaloInputsToDisable(std::bitset<28>(0xFFFFFFF));
232  } else {
233  m_params_helper.setCaloInputsToDisable(std::bitset<28>());
234  }
235 
236  std::bitset<12> bmtfDisables;
237  for (size_t i = 0; i < bmtfInputsToDisable.size(); ++i) {
238  bmtfDisables.set(i, bmtfInputsToDisable[i] > 0);
239  }
240  m_params_helper.setBmtfInputsToDisable(bmtfDisables);
241 
242  std::bitset<6> omtfpDisables;
243  std::bitset<6> omtfnDisables;
244  for (size_t i = 0; i < omtfInputsToDisable.size(); ++i) {
245  if (i < 6) {
246  omtfpDisables.set(i, omtfInputsToDisable[i] > 0);
247  } else {
248  omtfnDisables.set(i-6, omtfInputsToDisable[i] > 0);
249  }
250  }
251  m_params_helper.setOmtfpInputsToDisable(omtfpDisables);
252  m_params_helper.setOmtfnInputsToDisable(omtfnDisables);
253 
254  std::bitset<6> emtfpDisables;
255  std::bitset<6> emtfnDisables;
256  for (size_t i = 0; i < emtfInputsToDisable.size(); ++i) {
257  if (i < 6) {
258  emtfpDisables.set(i, emtfInputsToDisable[i] > 0);
259  } else {
260  emtfnDisables.set(i-6, emtfInputsToDisable[i] > 0);
261  }
262  }
263  m_params_helper.setEmtfpInputsToDisable(emtfpDisables);
264  m_params_helper.setEmtfnInputsToDisable(emtfnDisables);
265 
266  // masked inputs
267  bool caloInputsMasked = iConfig.getParameter<bool>("caloInputsMasked");
268  std::vector<unsigned> maskedBmtfInputs = iConfig.getParameter<std::vector<unsigned> >("maskedBmtfInputs");
269  std::vector<unsigned> maskedOmtfInputs = iConfig.getParameter<std::vector<unsigned> >("maskedOmtfInputs");
270  std::vector<unsigned> maskedEmtfInputs = iConfig.getParameter<std::vector<unsigned> >("maskedEmtfInputs");
271 
272  if (caloInputsMasked) {
273  m_params_helper.setMaskedCaloInputs(std::bitset<28>(0xFFFFFFF));
274  } else {
275  m_params_helper.setMaskedCaloInputs(std::bitset<28>());
276  }
277 
278  std::bitset<12> bmtfMasked;
279  for (size_t i = 0; i < maskedBmtfInputs.size(); ++i) {
280  bmtfMasked.set(i, maskedBmtfInputs[i] > 0);
281  }
282  m_params_helper.setMaskedBmtfInputs(bmtfMasked);
283 
284  std::bitset<6> omtfpMasked;
285  std::bitset<6> omtfnMasked;
286  for (size_t i = 0; i < maskedOmtfInputs.size(); ++i) {
287  if (i < 6) {
288  omtfpMasked.set(i, maskedOmtfInputs[i] > 0);
289  } else {
290  omtfnMasked.set(i-6, maskedOmtfInputs[i] > 0);
291  }
292  }
293  m_params_helper.setMaskedOmtfpInputs(omtfpMasked);
294  m_params_helper.setMaskedOmtfnInputs(omtfnMasked);
295 
296  std::bitset<6> emtfpMasked;
297  std::bitset<6> emtfnMasked;
298  for (size_t i = 0; i < maskedEmtfInputs.size(); ++i) {
299  if (i < 6) {
300  emtfpMasked.set(i, maskedEmtfInputs[i] > 0);
301  } else {
302  emtfnMasked.set(i-6, maskedEmtfInputs[i] > 0);
303  }
304  }
305  m_params_helper.setMaskedEmtfpInputs(emtfpMasked);
306  m_params_helper.setMaskedEmtfnInputs(emtfnMasked);
307  }
308 
309  // temp hack to avoid ALCA/DB signoff:
311 }
312 
313 
315 {
316 }
317 
318 
319 //
320 // member functions
321 //
322 
323 // ------------ method called to produce the data ------------
326 {
327  using namespace edm::es;
328  boost::shared_ptr<L1TMuonGlobalParams> pMicroGMTParams;
329 
330  pMicroGMTParams = boost::shared_ptr<L1TMuonGlobalParams>(new L1TMuonGlobalParams(m_params));
331  return pMicroGMTParams;
332 }
333 
334 //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)
boost::shared_ptr< L1TMuonGlobalParams > ReturnType
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::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)