CMS 3D CMS Logo

L1MuDTTFConfig.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
11 //
12 //--------------------------------------------------
13 #ifndef L1MUDT_TF_CONFIG_H
14 #define L1MUDT_TF_CONFIG_H
15 
16 //---------------
17 // C++ Headers --
18 //---------------
19 
20 #include <string>
21 #include <atomic>
22 
23 //----------------------
24 // Base Class Headers --
25 //----------------------
26 
27 //------------------------------------
28 // Collaborating Class Declarations --
29 //------------------------------------
30 
33 
34 // ---------------------
35 // -- Class Interface --
36 // ---------------------
37 
39 
40  public:
41 
43  L1MuDTTFConfig(const edm::ParameterSet & ps);
44 
46  virtual ~L1MuDTTFConfig();
47 
50 
51  static bool Debug() { return m_debug; }
52  static bool Debug(int level) { return (m_debug && m_dbgLevel >= level); }
53 
54  static void setDebugLevel(int level) { m_dbgLevel = level; }
55  static int getDebugLevel() { return m_dbgLevel; }
56  static int getBxMinGlobally() { return s_BxMin; }
57  static int getBxMaxGlobally() { return s_BxMax; }
58 
59  int getBxMin() const { return m_BxMin; }
60  int getBxMax() const { return m_BxMax; }
61  bool overlap() const { return m_overlap; }
62  int getExtTSFilter() const { return m_extTSFilter; }
63  bool getopenLUTs() const { return m_openLUTs; }
64  bool getUseEX21() const { return m_useEX21; }
65  bool getEtaTF() const { return m_etaTF; }
66  bool getEtaCanc() const { return m_etacanc; }
67  bool getTSOutOfTimeFilter() const { return m_TSOutOfTimeFilter; }
68  int getTSOutOfTimeWindow() const { return m_TSOutOfTimeWindow; }
69  int getNbitsExtPhi() const { return m_NbitsExtPhi; }
70  int getNbitsExtPhib() const { return m_NbitsExtPhib; }
71  int getNbitsPtaPhi() const { return m_NbitsPtaPhi; }
72  int getNbitsPtaPhib() const { return m_NbitsPtaPhib; }
73  int getNbitsPhiPhi() const { return m_NbitsPhiPhi; }
74  int getNbitsPhiPhib() const { return m_NbitsPhiPhib; }
75 
76  private:
77 
78  void setDefaults();
79 
80  private:
81 
83 
86 
87  static std::atomic<bool> m_debug; // debug flag
88  static std::atomic<int> m_dbgLevel; // debug level
89  static std::atomic<int> s_BxMin;
90  static std::atomic<int> s_BxMax;
91 
92  bool m_overlap; // barrel-endcap overlap region
93 
94  int m_BxMin;
95  int m_BxMax;
96 
97  int m_extTSFilter; // Extrapolation TS-Quality Filter
98 
99  bool m_openLUTs; // use open LUTs
100 
101  bool m_useEX21; // perform EX21 extrapolation (cross-check EX12)
102 
103  bool m_etaTF; // use eta track finder
104 
105  bool m_etacanc; // use etaFlag for CSC segment cancellation
106 
107  bool m_TSOutOfTimeFilter; // perform out-of-time TS cancellation
108  int m_TSOutOfTimeWindow; // phi window size to be checked
109 
110  int m_NbitsExtPhi; // precision for extrapolation
112  int m_NbitsPtaPhi; // precision for pt-assignment
114  int m_NbitsPhiPhi; // precision for phi-assignment
116 
117 };
118 
119 #endif
edm::InputTag getDTDigiInputTag() const
int getExtTSFilter() const
L1MuDTTFConfig(const edm::ParameterSet &ps)
constructor
int getNbitsPtaPhib() const
edm::InputTag m_CSCTrSInputTag
static std::atomic< int > s_BxMax
edm::InputTag getCSCTrSInputTag() const
bool getTSOutOfTimeFilter() const
static bool Debug(int level)
const edm::ParameterSet * m_ps
bool getopenLUTs() const
bool getEtaCanc() const
int getTSOutOfTimeWindow() const
static std::atomic< bool > m_debug
static int getBxMaxGlobally()
bool getUseEX21() const
static bool Debug()
bool overlap() const
edm::InputTag m_DTDigiInputTag
int getNbitsPtaPhi() const
virtual ~L1MuDTTFConfig()
destructor
int getBxMax() const
static void setDebugLevel(int level)
int getNbitsExtPhib() const
bool getEtaTF() const
static int getBxMinGlobally()
static int getDebugLevel()
int getBxMin() const
static std::atomic< int > m_dbgLevel
static std::atomic< int > s_BxMin
int getNbitsPhiPhi() const
int getNbitsExtPhi() const
int getNbitsPhiPhib() const