CMS 3D CMS Logo

L1MuBMTFConfig.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
11 //
12 //--------------------------------------------------
13 #ifndef L1MUBM_TF_CONFIG_H
14 #define L1MUBM_TF_CONFIG_H
15 
16 //---------------
17 // C++ Headers --
18 //---------------
19 
20 #include <string>
21 
22 //----------------------
23 // Base Class Headers --
24 //----------------------
25 
26 //------------------------------------
27 // Collaborating Class Declarations --
28 //------------------------------------
29 
33 
34 // ---------------------
35 // -- Class Interface --
36 // ---------------------
37 
39 public:
41  explicit L1MuBMTFConfig(const edm::ParameterSet& ps);
42 
44 
47 
48  bool Debug() const { return m_debug; }
49  bool Debug(int level) const { return (m_debug && m_dbgLevel >= level); }
50 
52  int getDebugLevel() const { return m_dbgLevel; }
53 
54  int getBxMin() const { return m_BxMin; }
55  int getBxMax() const { return m_BxMax; }
56  int getExtTSFilter() const { return m_extTSFilter; }
57  bool getopenLUTs() const { return m_openLUTs; }
58  bool getUseEX21() const { return m_useEX21; }
59  bool getEtaTF() const { return m_etaTF; }
60  bool getTSOutOfTimeFilter() const { return m_TSOutOfTimeFilter; }
61  int getTSOutOfTimeWindow() const { return m_TSOutOfTimeWindow; }
62  int getNbitsExtPhi() const { return m_NbitsExtPhi; }
63  int getNbitsExtPhib() const { return m_NbitsExtPhib; }
64  int getNbitsPtaPhi() const { return m_NbitsPtaPhi; }
65  int getNbitsPtaPhib() const { return m_NbitsPtaPhib; }
66  int getNbitsPhiPhi() const { return m_NbitsPhiPhi; }
67  int getNbitsPhiPhib() const { return m_NbitsPhiPhib; }
68 
69 private:
70  void setDefaults(edm::ParameterSet const&);
71 
72 private:
75 
76  int m_dbgLevel = -1; // debug level
77 
78  int m_BxMin = -9;
79  int m_BxMax = 7;
80 
81  int m_extTSFilter = 1; // Extrapolation TS-Quality Filter
82 
83  int m_TSOutOfTimeWindow = 1; // phi window size to be checked
84 
85  int m_NbitsExtPhi = 8; // precision for extrapolation
86  int m_NbitsExtPhib = 8;
87  int m_NbitsPtaPhi = 12; // precision for pt-assignment
88  int m_NbitsPtaPhib = 10;
89  int m_NbitsPhiPhi = 10; // precision for phi-assignment
90  int m_NbitsPhiPhib = 10;
91 
92  bool m_debug = false; // debug flag
93  bool m_openLUTs = false; // use open LUTs
94  bool m_useEX21 = false; // perform EX21 extrapolation (cross-check EX12)
95  bool m_etaTF = true; // use eta track finder
96  bool m_TSOutOfTimeFilter = false; // perform out-of-time TS cancellation
97 };
98 
99 #endif
int getExtTSFilter() const
edm::InputTag m_BMDigiInputTag
int getNbitsPtaPhib() const
int getNbitsExtPhib() const
int getNbitsExtPhi() const
L1MuBMTFConfig(const edm::ParameterSet &ps)
constructor
edm::InputTag m_BMThetaDigiInputTag
void setDefaults(edm::ParameterSet const &)
bool m_TSOutOfTimeFilter
bool getEtaTF() const
int getBxMax() const
edm::InputTag getBMDigiInputTag() const
void setDefaultsES(const L1TMuonBarrelParams &)
bool getTSOutOfTimeFilter() const
int getNbitsPhiPhi() const
edm::InputTag getBMThetaDigiInputTag() const
int getNbitsPtaPhi() const
bool Debug() const
int getNbitsPhiPhib() const
int getBxMin() const
bool getopenLUTs() const
bool getUseEX21() const
void setDebugLevel(int level)
int getDebugLevel() const
int getTSOutOfTimeWindow() const
bool Debug(int level) const