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 public:
42 
44  virtual ~L1MuDTTFConfig();
45 
48 
49  static bool Debug() { return m_debug; }
50  static bool Debug(int level) { return (m_debug && m_dbgLevel >= level); }
51 
52  static void setDebugLevel(int level) { m_dbgLevel = level; }
53  static int getDebugLevel() { return m_dbgLevel; }
54  static int getBxMinGlobally() { return s_BxMin; }
55  static int getBxMaxGlobally() { return s_BxMax; }
56 
57  int getBxMin() const { return m_BxMin; }
58  int getBxMax() const { return m_BxMax; }
59  bool overlap() const { return m_overlap; }
60  int getExtTSFilter() const { return m_extTSFilter; }
61  bool getopenLUTs() const { return m_openLUTs; }
62  bool getUseEX21() const { return m_useEX21; }
63  bool getEtaTF() const { return m_etaTF; }
64  bool getEtaCanc() const { return m_etacanc; }
65  bool getTSOutOfTimeFilter() const { return m_TSOutOfTimeFilter; }
66  int getTSOutOfTimeWindow() const { return m_TSOutOfTimeWindow; }
67  int getNbitsExtPhi() const { return m_NbitsExtPhi; }
68  int getNbitsExtPhib() const { return m_NbitsExtPhib; }
69  int getNbitsPtaPhi() const { return m_NbitsPtaPhi; }
70  int getNbitsPtaPhib() const { return m_NbitsPtaPhib; }
71  int getNbitsPhiPhi() const { return m_NbitsPhiPhi; }
72  int getNbitsPhiPhib() const { return m_NbitsPhiPhib; }
73 
74 private:
75  void setDefaults();
76 
77 private:
79 
82 
83  static std::atomic<bool> m_debug; // debug flag
84  static std::atomic<int> m_dbgLevel; // debug level
85  static std::atomic<int> s_BxMin;
86  static std::atomic<int> s_BxMax;
87 
88  bool m_overlap; // barrel-endcap overlap region
89 
90  int m_BxMin;
91  int m_BxMax;
92 
93  int m_extTSFilter; // Extrapolation TS-Quality Filter
94 
95  bool m_openLUTs; // use open LUTs
96 
97  bool m_useEX21; // perform EX21 extrapolation (cross-check EX12)
98 
99  bool m_etaTF; // use eta track finder
100 
101  bool m_etacanc; // use etaFlag for CSC segment cancellation
102 
103  bool m_TSOutOfTimeFilter; // perform out-of-time TS cancellation
104  int m_TSOutOfTimeWindow; // phi window size to be checked
105 
106  int m_NbitsExtPhi; // precision for extrapolation
108  int m_NbitsPtaPhi; // precision for pt-assignment
110  int m_NbitsPhiPhi; // precision for phi-assignment
112 };
113 
114 #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