CMS 3D CMS Logo

L1TMuonGlobalParamsHelper.h
Go to the documentation of this file.
1 
11 #ifndef L1TMuonGlobalParamsHelper_h
12 #define L1TMuonGlobalParamsHelper_h
13 
14 #include <memory>
15 #include <iostream>
16 #include <vector>
17 
18 //this is temp hack to avoid ALCA/DB signoff requirement for now:
23 
25 
26 public:
27  enum {absIsoCheckMem=0,
50  };
51 
52  // string parameters indices
53  enum spIdx {fname=0};
54 
55  // unsigned parameters indices
57 
58  // double parameters indices
59  enum dpIdx {maxdr=0, fEta=1, fEtaCoarse=2, fPhi=3};
60 
61  // input enable indices
62  enum linkNr {CALOLINK1=8, EMTFPLINK1=36, OMTFPLINK1=42, BMTFLINK1=48, OMTFNLINK1=60, EMTFNLINK1=66}; // link numbers start at 0
63 
67 
68  // FW version
69  unsigned fwVersion() const { return pnodes_[FWVERSION].uparams_.size() > FWVERSION_IDX ? pnodes_[FWVERSION].uparams_[FWVERSION_IDX] : 0; }
70  void setFwVersion(unsigned fwVersion);
71 
72  // Input disables
73  std::bitset<72> inputsToDisable() const { return inputFlags(INPUTS_TO_DISABLE); };
74  std::bitset<28> caloInputsToDisable() const { return caloInputFlags(INPUTS_TO_DISABLE); };
75  std::bitset<12> bmtfInputsToDisable() const { return tfInputFlags(INPUTS_TO_DISABLE, BMTFINPUTS); };
76  std::bitset<12> omtfInputsToDisable() const { return tfInputFlags(INPUTS_TO_DISABLE, OMTFINPUTS); };
77  std::bitset<12> emtfInputsToDisable() const { return tfInputFlags(INPUTS_TO_DISABLE, EMTFINPUTS); };
78  std::bitset<6> omtfpInputsToDisable() const { return eomtfInputFlags(INPUTS_TO_DISABLE, 0, OMTFINPUTS); };
79  std::bitset<6> omtfnInputsToDisable() const { return eomtfInputFlags(INPUTS_TO_DISABLE, 6, OMTFINPUTS); };
80  std::bitset<6> emtfpInputsToDisable() const { return eomtfInputFlags(INPUTS_TO_DISABLE, 0, EMTFINPUTS); };
81  std::bitset<6> emtfnInputsToDisable() const { return eomtfInputFlags(INPUTS_TO_DISABLE, 6, EMTFINPUTS); };
82  void setInputsToDisable(const std::bitset<72> &inputsToDisable) { setInputFlags(INPUTS_TO_DISABLE, inputsToDisable); };
83  void setCaloInputsToDisable(const std::bitset<28> &disables) { setCaloInputFlags(INPUTS_TO_DISABLE, disables); };
84  void setBmtfInputsToDisable(const std::bitset<12> &disables) { setTfInputFlags(INPUTS_TO_DISABLE, BMTFINPUTS, disables); };
85  void setOmtfpInputsToDisable(const std::bitset<6> &disables) { setEOmtfInputFlags(INPUTS_TO_DISABLE, 0, OMTFINPUTS, disables); };
86  void setOmtfnInputsToDisable(const std::bitset<6> &disables) { setEOmtfInputFlags(INPUTS_TO_DISABLE, 6, OMTFINPUTS, disables); };
87  void setEmtfpInputsToDisable(const std::bitset<6> &disables) { setEOmtfInputFlags(INPUTS_TO_DISABLE, 0, EMTFINPUTS, disables); };
88  void setEmtfnInputsToDisable(const std::bitset<6> &disables) { setEOmtfInputFlags(INPUTS_TO_DISABLE, 6, EMTFINPUTS, disables); };
89 
90  // masked inputs
91  std::bitset<72> maskedInputs() const { return inputFlags(MASKED_INPUTS); };
92  std::bitset<28> maskedCaloInputs() const { return caloInputFlags(MASKED_INPUTS); };
93  std::bitset<12> maskedBmtfInputs() const { return tfInputFlags(MASKED_INPUTS, BMTFINPUTS); };
94  std::bitset<12> maskedOmtfInputs() const { return tfInputFlags(MASKED_INPUTS, OMTFINPUTS); };
95  std::bitset<12> maskedEmtfInputs() const { return tfInputFlags(MASKED_INPUTS, EMTFINPUTS); };
96  std::bitset<6> maskedOmtfpInputs() const { return eomtfInputFlags(MASKED_INPUTS, 0, OMTFINPUTS); };
97  std::bitset<6> maskedOmtfnInputs() const { return eomtfInputFlags(MASKED_INPUTS, 6, OMTFINPUTS); };
98  std::bitset<6> maskedEmtfpInputs() const { return eomtfInputFlags(MASKED_INPUTS, 0, EMTFINPUTS); };
99  std::bitset<6> maskedEmtfnInputs() const { return eomtfInputFlags(MASKED_INPUTS, 6, EMTFINPUTS); };
100  void setMaskedInputs(const std::bitset<72> &masked) { setInputFlags(MASKED_INPUTS, masked); };
101  void setMaskedCaloInputs(const std::bitset<28> &masked) { setCaloInputFlags(MASKED_INPUTS, masked); };
102  void setMaskedBmtfInputs(const std::bitset<12> &masked) { setTfInputFlags(MASKED_INPUTS, BMTFINPUTS, masked); };
103  void setMaskedOmtfpInputs(const std::bitset<6> &masked) { setEOmtfInputFlags(MASKED_INPUTS, 0, OMTFINPUTS, masked); };
104  void setMaskedOmtfnInputs(const std::bitset<6> &masked) { setEOmtfInputFlags(MASKED_INPUTS, 6, OMTFINPUTS, masked); };
105  void setMaskedEmtfpInputs(const std::bitset<6> &masked) { setEOmtfInputFlags(MASKED_INPUTS, 0, EMTFINPUTS, masked); };
106  void setMaskedEmtfnInputs(const std::bitset<6> &masked) { setEOmtfInputFlags(MASKED_INPUTS, 6, EMTFINPUTS, masked); };
107 
108  // LUTs
127  l1t::LUT* sortRankLUT() { return &pnodes_[sortRank].LUT_; }
128  void setAbsIsoCheckMemLUT (const l1t::LUT & lut) { pnodes_[absIsoCheckMem].type_ = "LUT"; pnodes_[absIsoCheckMem].LUT_ = lut; }
129  void setRelIsoCheckMemLUT (const l1t::LUT & lut) { pnodes_[relIsoCheckMem].type_ = "LUT"; pnodes_[relIsoCheckMem].LUT_ = lut; }
130  void setIdxSelMemPhiLUT (const l1t::LUT & lut) { pnodes_[idxSelMemPhi].type_ = "LUT"; pnodes_[idxSelMemPhi].LUT_ = lut; }
131  void setIdxSelMemEtaLUT (const l1t::LUT & lut) { pnodes_[idxSelMemEta].type_ = "LUT"; pnodes_[idxSelMemEta].LUT_ = lut; }
136  void setBOPosMatchQualLUT (const l1t::LUT & lut) { pnodes_[bOPosMatchQual].type_ = "LUT"; pnodes_[bOPosMatchQual].LUT_ = lut; }
137  void setBONegMatchQualLUT (const l1t::LUT & lut) { pnodes_[bONegMatchQual].type_ = "LUT"; pnodes_[bONegMatchQual].LUT_ = lut; }
138  void setFOPosMatchQualLUT (const l1t::LUT & lut) { pnodes_[fOPosMatchQual].type_ = "LUT"; pnodes_[fOPosMatchQual].LUT_ = lut; }
139  void setFONegMatchQualLUT (const l1t::LUT & lut) { pnodes_[fONegMatchQual].type_ = "LUT"; pnodes_[fONegMatchQual].LUT_ = lut; }
146  void setSortRankLUT (const l1t::LUT & lut) { pnodes_[sortRank].type_ = "LUT"; pnodes_[sortRank].LUT_ = lut; }
147 
148  // LUT paths
151  std::string idxSelMemPhiLUTPath() const { return pnodes_[idxSelMemPhi].sparams_.size() > spIdx::fname ? pnodes_[idxSelMemPhi].sparams_[spIdx::fname] : ""; }
152  std::string idxSelMemEtaLUTPath() const { return pnodes_[idxSelMemEta].sparams_.size() > spIdx::fname ? pnodes_[idxSelMemEta].sparams_[spIdx::fname] : ""; }
167  std::string sortRankLUTPath() const { return pnodes_[sortRank].sparams_.size() > spIdx::fname ? pnodes_[sortRank].sparams_[spIdx::fname] : ""; }
168  void setAbsIsoCheckMemLUTPath (const std::string &path) { pnodes_[absIsoCheckMem].sparams_.push_back(path); }
169  void setRelIsoCheckMemLUTPath (const std::string &path) { pnodes_[relIsoCheckMem].sparams_.push_back(path); }
170  void setIdxSelMemPhiLUTPath (const std::string &path) { pnodes_[idxSelMemPhi].sparams_.push_back(path); }
171  void setIdxSelMemEtaLUTPath (const std::string &path) { pnodes_[idxSelMemEta].sparams_.push_back(path); }
172  void setFwdPosSingleMatchQualLUTPath (const std::string &path) { pnodes_[fwdPosSingleMatchQual].sparams_.push_back(path); }
173  void setFwdNegSingleMatchQualLUTPath (const std::string &path) { pnodes_[fwdNegSingleMatchQual].sparams_.push_back(path); }
174  void setOvlPosSingleMatchQualLUTPath (const std::string &path) { pnodes_[ovlPosSingleMatchQual].sparams_.push_back(path); }
175  void setOvlNegSingleMatchQualLUTPath (const std::string &path) { pnodes_[ovlNegSingleMatchQual].sparams_.push_back(path); }
176  void setBOPosMatchQualLUTPath (const std::string &path) { pnodes_[bOPosMatchQual].sparams_.push_back(path); }
177  void setBONegMatchQualLUTPath (const std::string &path) { pnodes_[bONegMatchQual].sparams_.push_back(path); }
178  void setFOPosMatchQualLUTPath (const std::string &path) { pnodes_[fOPosMatchQual].sparams_.push_back(path); }
179  void setFONegMatchQualLUTPath (const std::string &path) { pnodes_[fONegMatchQual].sparams_.push_back(path); }
180  void setBPhiExtrapolationLUTPath (const std::string &path) { pnodes_[bPhiExtrapolation].sparams_.push_back(path); }
181  void setOPhiExtrapolationLUTPath (const std::string &path) { pnodes_[oPhiExtrapolation].sparams_.push_back(path); }
182  void setFPhiExtrapolationLUTPath (const std::string &path) { pnodes_[fPhiExtrapolation].sparams_.push_back(path); }
183  void setBEtaExtrapolationLUTPath (const std::string &path) { pnodes_[bEtaExtrapolation].sparams_.push_back(path); }
184  void setOEtaExtrapolationLUTPath (const std::string &path) { pnodes_[oEtaExtrapolation].sparams_.push_back(path); }
185  void setFEtaExtrapolationLUTPath (const std::string &path) { pnodes_[fEtaExtrapolation].sparams_.push_back(path); }
186  void setSortRankLUTPath (const std::string &path) { pnodes_[sortRank].sparams_.push_back(path); }
187 
188  // Cancel out LUT max dR
193  double bOPosMatchQualLUTMaxDR() const { return pnodes_[bOPosMatchQual].dparams_.size() > dpIdx::maxdr ? pnodes_[bOPosMatchQual].dparams_[dpIdx::maxdr] : 0.; }
194  double bONegMatchQualLUTMaxDR() const { return pnodes_[bONegMatchQual].dparams_.size() > dpIdx::maxdr ? pnodes_[bONegMatchQual].dparams_[dpIdx::maxdr] : 0.; }
195  double fOPosMatchQualLUTMaxDR() const { return pnodes_[fOPosMatchQual].dparams_.size() > dpIdx::maxdr ? pnodes_[fOPosMatchQual].dparams_[dpIdx::maxdr] : 0.; }
196  double fONegMatchQualLUTMaxDR() const { return pnodes_[fONegMatchQual].dparams_.size() > dpIdx::maxdr ? pnodes_[fONegMatchQual].dparams_[dpIdx::maxdr] : 0.; }
197 
198  double fwdPosSingleMatchQualLUTfEta() const { return pnodes_[fwdPosSingleMatchQual].dparams_.size() > dpIdx::fEta ? pnodes_[fwdPosSingleMatchQual].dparams_[dpIdx::fEta] : 0.; }
199  double fwdNegSingleMatchQualLUTfEta() const { return pnodes_[fwdNegSingleMatchQual].dparams_.size() > dpIdx::fEta ? pnodes_[fwdNegSingleMatchQual].dparams_[dpIdx::fEta] : 0.; }
200  double ovlPosSingleMatchQualLUTfEta() const { return pnodes_[ovlPosSingleMatchQual].dparams_.size() > dpIdx::fEta ? pnodes_[ovlPosSingleMatchQual].dparams_[dpIdx::fEta] : 0.; }
201  double ovlNegSingleMatchQualLUTfEta() const { return pnodes_[ovlNegSingleMatchQual].dparams_.size() > dpIdx::fEta ? pnodes_[ovlNegSingleMatchQual].dparams_[dpIdx::fEta] : 0.; }
202  double ovlPosSingleMatchQualLUTfEtaCoarse() const { return pnodes_[ovlPosSingleMatchQual].dparams_.size() > dpIdx::fEtaCoarse ? pnodes_[ovlPosSingleMatchQual].dparams_[dpIdx::fEtaCoarse] : 0.; }
203  double ovlNegSingleMatchQualLUTfEtaCoarse() const { return pnodes_[ovlNegSingleMatchQual].dparams_.size() > dpIdx::fEtaCoarse ? pnodes_[ovlNegSingleMatchQual].dparams_[dpIdx::fEtaCoarse] : 0.; }
204  double bOPosMatchQualLUTfEta() const { return pnodes_[bOPosMatchQual].dparams_.size() > dpIdx::fEta ? pnodes_[bOPosMatchQual].dparams_[dpIdx::fEta] : 0.; }
205  double bONegMatchQualLUTfEta() const { return pnodes_[bONegMatchQual].dparams_.size() > dpIdx::fEta ? pnodes_[bONegMatchQual].dparams_[dpIdx::fEta] : 0.; }
206  double bOPosMatchQualLUTfEtaCoarse() const { return pnodes_[bOPosMatchQual].dparams_.size() > dpIdx::fEtaCoarse ? pnodes_[bOPosMatchQual].dparams_[dpIdx::fEtaCoarse] : 0.; }
207  double bONegMatchQualLUTfEtaCoarse() const { return pnodes_[bONegMatchQual].dparams_.size() > dpIdx::fEtaCoarse ? pnodes_[bONegMatchQual].dparams_[dpIdx::fEtaCoarse] : 0.; }
208  double fOPosMatchQualLUTfEta() const { return pnodes_[fOPosMatchQual].dparams_.size() > dpIdx::fEta ? pnodes_[fOPosMatchQual].dparams_[dpIdx::fEta] : 0.; }
209  double fONegMatchQualLUTfEta() const { return pnodes_[fONegMatchQual].dparams_.size() > dpIdx::fEta ? pnodes_[fONegMatchQual].dparams_[dpIdx::fEta] : 0.; }
210  double fOPosMatchQualLUTfEtaCoarse() const { return pnodes_[fOPosMatchQual].dparams_.size() > dpIdx::fEtaCoarse ? pnodes_[fOPosMatchQual].dparams_[dpIdx::fEtaCoarse] : 0.; }
211  double fONegMatchQualLUTfEtaCoarse() const { return pnodes_[fONegMatchQual].dparams_.size() > dpIdx::fEtaCoarse ? pnodes_[fONegMatchQual].dparams_[dpIdx::fEtaCoarse] : 0.; }
212  double fwdPosSingleMatchQualLUTfPhi() const { return pnodes_[fwdPosSingleMatchQual].dparams_.size() > dpIdx::fPhi ? pnodes_[fwdPosSingleMatchQual].dparams_[dpIdx::fPhi] : 0.; }
213  double fwdNegSingleMatchQualLUTfPhi() const { return pnodes_[fwdNegSingleMatchQual].dparams_.size() > dpIdx::fPhi ? pnodes_[fwdNegSingleMatchQual].dparams_[dpIdx::fPhi] : 0.; }
214  double ovlPosSingleMatchQualLUTfPhi() const { return pnodes_[ovlPosSingleMatchQual].dparams_.size() > dpIdx::fPhi ? pnodes_[ovlPosSingleMatchQual].dparams_[dpIdx::fPhi] : 0.; }
215  double ovlNegSingleMatchQualLUTfPhi() const { return pnodes_[ovlNegSingleMatchQual].dparams_.size() > dpIdx::fPhi ? pnodes_[ovlNegSingleMatchQual].dparams_[dpIdx::fPhi] : 0.; }
216  double bOPosMatchQualLUTfPhi() const { return pnodes_[bOPosMatchQual].dparams_.size() > dpIdx::fPhi ? pnodes_[bOPosMatchQual].dparams_[dpIdx::fPhi] : 0.; }
217  double bONegMatchQualLUTfPhi() const { return pnodes_[bONegMatchQual].dparams_.size() > dpIdx::fPhi ? pnodes_[bONegMatchQual].dparams_[dpIdx::fPhi] : 0.; }
218  double fOPosMatchQualLUTfPhi() const { return pnodes_[fOPosMatchQual].dparams_.size() > dpIdx::fPhi ? pnodes_[fOPosMatchQual].dparams_[dpIdx::fPhi] : 0.; }
219  double fONegMatchQualLUTfPhi() const { return pnodes_[fONegMatchQual].dparams_.size() > dpIdx::fPhi ? pnodes_[fONegMatchQual].dparams_[dpIdx::fPhi] : 0.; }
220 
221  void setFwdPosSingleMatchQualLUTMaxDR (double maxDR, double fEta, double fPhi);
222  void setFwdNegSingleMatchQualLUTMaxDR (double maxDR, double fEta, double fPhi);
223  void setOvlPosSingleMatchQualLUTMaxDR (double maxDR, double fEta, double fEtaCoarse, double fPhi);
224  void setOvlNegSingleMatchQualLUTMaxDR (double maxDR, double fEta, double fEtaCoarse, double fPhi);
225  void setBOPosMatchQualLUTMaxDR (double maxDR, double fEta, double fEtaCoarse, double fPhi);
226  void setBONegMatchQualLUTMaxDR (double maxDR, double fEta, double fEtaCoarse, double fPhi);
227  void setFOPosMatchQualLUTMaxDR (double maxDR, double fEta, double fEtaCoarse, double fPhi);
228  void setFONegMatchQualLUTMaxDR (double maxDR, double fEta, double fEtaCoarse, double fPhi);
229 
230 
231  // Sort rank LUT factors for pT and quality
232  unsigned sortRankLUTPtFactor() const { return pnodes_[sortRank].uparams_.size() > upIdx::ptFactor ? pnodes_[sortRank].uparams_[upIdx::ptFactor] : 0; }
233  unsigned sortRankLUTQualFactor() const { return pnodes_[sortRank].uparams_.size() > upIdx::qualFactor ? pnodes_[sortRank].uparams_[upIdx::qualFactor] : 0; }
234  void setSortRankLUTFactors(unsigned ptFactor, unsigned qualFactor) { pnodes_[sortRank].uparams_.push_back(ptFactor); pnodes_[sortRank].uparams_.push_back(qualFactor); }
235 
236  // set parameters with a trigSystem object built from the online DB
237  void loadFromOnline(l1t::TriggerSystem& trgSys, const std::string& processorId = "");
238 
239  // print parameters to stream:
240  void print(std::ostream&) const;
241  friend std::ostream& operator<<(std::ostream& o, const L1TMuonGlobalParamsHelper & p) { p.print(o); return o; }
242 
243 private:
244 
245  // Input disables
246  std::bitset<72> inputFlags(const int &nodeIdx) const;
247  std::bitset<28> caloInputFlags(const int &nodeIdx) const;
248  std::bitset<12> tfInputFlags(const int &nodeIdx, const int &tfIdx) const;
249  std::bitset<6> eomtfInputFlags(const int &nodeIdx, const size_t &startIdx, const int &tfIdx) const;
250  void setInputFlags(const int &nodeIdx, const std::bitset<72> &flags);
251  void setCaloInputFlags(const int &nodeIdx, const std::bitset<28> &flags);
252  void setTfInputFlags(const int &nodeIdx, const int &tfIdx, const std::bitset<12> &flags);
253  void setEOmtfInputFlags(const int &nodeIdx, const size_t &startIdx, const int &tfIdx, const std::bitset<6> &flags);
254 
255 };
256 #endif
void setBONegMatchQualLUTPath(const std::string &path)
void setFOPosMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
void setInputFlags(const int &nodeIdx, const std::bitset< 72 > &flags)
void setMaskedCaloInputs(const std::bitset< 28 > &masked)
void setIdxSelMemEtaLUT(const l1t::LUT &lut)
std::bitset< 12 > emtfInputsToDisable() const
std::string oEtaExtrapolationLUTPath() const
void setOPhiExtrapolationLUT(const l1t::LUT &lut)
void setBEtaExtrapolationLUT(const l1t::LUT &lut)
void setFwdPosSingleMatchQualLUT(const l1t::LUT &lut)
std::string fEtaExtrapolationLUTPath() const
void setBmtfInputsToDisable(const std::bitset< 12 > &disables)
std::bitset< 12 > bmtfInputsToDisable() const
std::string fONegMatchQualLUTPath() const
std::string idxSelMemPhiLUTPath() const
void setOPhiExtrapolationLUTPath(const std::string &path)
void setFEtaExtrapolationLUT(const l1t::LUT &lut)
std::bitset< 6 > emtfpInputsToDisable() const
std::string relIsoCheckMemLUTPath() const
std::bitset< 28 > caloInputsToDisable() const
double ovlPosSingleMatchQualLUTfEtaCoarse() const
std::bitset< 6 > eomtfInputFlags(const int &nodeIdx, const size_t &startIdx, const int &tfIdx) const
void setFwdNegSingleMatchQualLUTPath(const std::string &path)
void setTfInputFlags(const int &nodeIdx, const int &tfIdx, const std::bitset< 12 > &flags)
void setFPhiExtrapolationLUT(const l1t::LUT &lut)
std::bitset< 6 > maskedOmtfpInputs() const
std::string fwdPosSingleMatchQualLUTPath() const
std::bitset< 6 > emtfnInputsToDisable() const
void setFOPosMatchQualLUTPath(const std::string &path)
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
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)
void setMaskedInputs(const std::bitset< 72 > &masked)
void setEOmtfInputFlags(const int &nodeIdx, const size_t &startIdx, const int &tfIdx, const std::bitset< 6 > &flags)
void setIdxSelMemPhiLUT(const l1t::LUT &lut)
std::bitset< 72 > inputsToDisable() const
std::string absIsoCheckMemLUTPath() const
std::string oPhiExtrapolationLUTPath() const
void setBPhiExtrapolationLUT(const l1t::LUT &lut)
std::string ovlPosSingleMatchQualLUTPath() const
std::string bPhiExtrapolationLUTPath() const
void setFOPosMatchQualLUT(const l1t::LUT &lut)
void setBONegMatchQualLUT(const l1t::LUT &lut)
std::bitset< 6 > maskedEmtfpInputs() const
void setInputsToDisable(const std::bitset< 72 > &inputsToDisable)
void setFwdPosSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fPhi)
void setRelIsoCheckMemLUTPath(const std::string &path)
void setMaskedOmtfpInputs(const std::bitset< 6 > &masked)
void setCaloInputFlags(const int &nodeIdx, const std::bitset< 28 > &flags)
std::string bONegMatchQualLUTPath() const
void setFONegMatchQualLUT(const l1t::LUT &lut)
void setFwdPosSingleMatchQualLUTPath(const std::string &path)
void setBOPosMatchQualLUTPath(const std::string &path)
std::bitset< 12 > maskedOmtfInputs() const
void loadFromOnline(l1t::TriggerSystem &trgSys, const std::string &processorId="")
void setRelIsoCheckMemLUT(const l1t::LUT &lut)
std::bitset< 6 > omtfnInputsToDisable() const
std::bitset< 12 > maskedEmtfInputs() const
void setEmtfnInputsToDisable(const std::bitset< 6 > &disables)
std::string fOPosMatchQualLUTPath() const
void setOvlPosSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
std::string bEtaExtrapolationLUTPath() const
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)
std::bitset< 6 > maskedEmtfnInputs() const
void setBOPosMatchQualLUT(const l1t::LUT &lut)
std::string fPhiExtrapolationLUTPath() const
void setMaskedOmtfnInputs(const std::bitset< 6 > &masked)
void setCaloInputsToDisable(const std::bitset< 28 > &disables)
std::bitset< 72 > maskedInputs() const
friend std::ostream & operator<<(std::ostream &o, const L1TMuonGlobalParamsHelper &p)
Definition: LUT.h:29
std::bitset< 12 > tfInputFlags(const int &nodeIdx, const int &tfIdx) const
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 print(std::ostream &) const
void setBEtaExtrapolationLUTPath(const std::string &path)
void setOvlPosSingleMatchQualLUTPath(const std::string &path)
void setFwdNegSingleMatchQualLUT(const l1t::LUT &lut)
void setOvlNegSingleMatchQualLUTPath(const std::string &path)
std::bitset< 6 > maskedOmtfnInputs() const
double ovlNegSingleMatchQualLUTfEtaCoarse() const
string fname
main script
void setSortRankLUT(const l1t::LUT &lut)
void setBONegMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
std::string idxSelMemEtaLUTPath() const
void setOvlNegSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fEtaCoarse, double fPhi)
std::string bOPosMatchQualLUTPath() const
std::bitset< 28 > caloInputFlags(const int &nodeIdx) const
std::bitset< 12 > omtfInputsToDisable() const
void setMaskedEmtfpInputs(const std::bitset< 6 > &masked)
void setAbsIsoCheckMemLUTPath(const std::string &path)
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)
std::bitset< 12 > maskedBmtfInputs() const
std::bitset< 28 > maskedCaloInputs() const
void setFwdNegSingleMatchQualLUTMaxDR(double maxDR, double fEta, double fPhi)
void setFONegMatchQualLUTPath(const std::string &path)
std::string fwdNegSingleMatchQualLUTPath() const
std::string ovlNegSingleMatchQualLUTPath() const
void setOvlNegSingleMatchQualLUT(const l1t::LUT &lut)
std::bitset< 72 > inputFlags(const int &nodeIdx) const
std::bitset< 6 > omtfpInputsToDisable() const