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
personalPlayback.level
level
Definition: personalPlayback.py:22
L1MuDTTFConfig::getBxMax
int getBxMax() const
Definition: L1MuDTTFConfig.h:58
L1MuDTTFConfig::getNbitsPhiPhi
int getNbitsPhiPhi() const
Definition: L1MuDTTFConfig.h:71
L1MuDTTFConfig::getTSOutOfTimeWindow
int getTSOutOfTimeWindow() const
Definition: L1MuDTTFConfig.h:66
L1MuDTTFConfig::getBxMinGlobally
static int getBxMinGlobally()
Definition: L1MuDTTFConfig.h:54
L1MuDTTFConfig::getDebugLevel
static int getDebugLevel()
Definition: L1MuDTTFConfig.h:53
L1MuDTTFConfig::getBxMin
int getBxMin() const
Definition: L1MuDTTFConfig.h:57
L1MuDTTFConfig::getTSOutOfTimeFilter
bool getTSOutOfTimeFilter() const
Definition: L1MuDTTFConfig.h:65
L1MuDTTFConfig
Definition: L1MuDTTFConfig.h:38
L1MuDTTFConfig::getEtaTF
bool getEtaTF() const
Definition: L1MuDTTFConfig.h:63
L1MuDTTFConfig::getNbitsPhiPhib
int getNbitsPhiPhib() const
Definition: L1MuDTTFConfig.h:72
L1MuDTTFConfig::setDebugLevel
static void setDebugLevel(int level)
Definition: L1MuDTTFConfig.h:52
L1MuDTTFConfig::m_CSCTrSInputTag
edm::InputTag m_CSCTrSInputTag
Definition: L1MuDTTFConfig.h:81
L1MuDTTFConfig::m_TSOutOfTimeFilter
bool m_TSOutOfTimeFilter
Definition: L1MuDTTFConfig.h:103
L1MuDTTFConfig::m_ps
const edm::ParameterSet * m_ps
Definition: L1MuDTTFConfig.h:78
L1MuDTTFConfig::m_BxMax
int m_BxMax
Definition: L1MuDTTFConfig.h:91
L1MuDTTFConfig::getNbitsPtaPhib
int getNbitsPtaPhib() const
Definition: L1MuDTTFConfig.h:70
L1MuDTTFConfig::overlap
bool overlap() const
Definition: L1MuDTTFConfig.h:59
L1MuDTTFConfig::m_etaTF
bool m_etaTF
Definition: L1MuDTTFConfig.h:99
L1MuDTTFConfig::s_BxMax
static std::atomic< int > s_BxMax
Definition: L1MuDTTFConfig.h:86
L1MuDTTFConfig::getBxMaxGlobally
static int getBxMaxGlobally()
Definition: L1MuDTTFConfig.h:55
L1MuDTTFConfig::m_NbitsPhiPhib
int m_NbitsPhiPhib
Definition: L1MuDTTFConfig.h:111
L1MuDTTFConfig::m_useEX21
bool m_useEX21
Definition: L1MuDTTFConfig.h:97
L1MuDTTFConfig::m_NbitsExtPhib
int m_NbitsExtPhib
Definition: L1MuDTTFConfig.h:107
L1MuDTTFConfig::getNbitsPtaPhi
int getNbitsPtaPhi() const
Definition: L1MuDTTFConfig.h:69
L1MuDTTFConfig::m_etacanc
bool m_etacanc
Definition: L1MuDTTFConfig.h:101
L1MuDTTFConfig::m_debug
static std::atomic< bool > m_debug
Definition: L1MuDTTFConfig.h:83
L1MuDTTFConfig::getCSCTrSInputTag
edm::InputTag getCSCTrSInputTag() const
Definition: L1MuDTTFConfig.h:47
L1MuDTTFConfig::m_NbitsExtPhi
int m_NbitsExtPhi
Definition: L1MuDTTFConfig.h:106
L1MuDTTFConfig::Debug
static bool Debug(int level)
Definition: L1MuDTTFConfig.h:50
L1MuDTTFConfig::getUseEX21
bool getUseEX21() const
Definition: L1MuDTTFConfig.h:62
L1MuDTTFConfig::getEtaCanc
bool getEtaCanc() const
Definition: L1MuDTTFConfig.h:64
L1MuDTTFConfig::m_DTDigiInputTag
edm::InputTag m_DTDigiInputTag
Definition: L1MuDTTFConfig.h:80
L1MuDTTFConfig::getNbitsExtPhi
int getNbitsExtPhi() const
Definition: L1MuDTTFConfig.h:67
edm::ParameterSet
Definition: ParameterSet.h:36
L1MuDTTFConfig::m_dbgLevel
static std::atomic< int > m_dbgLevel
Definition: L1MuDTTFConfig.h:84
L1MuDTTFConfig::m_NbitsPhiPhi
int m_NbitsPhiPhi
Definition: L1MuDTTFConfig.h:110
L1MuDTTFConfig::~L1MuDTTFConfig
virtual ~L1MuDTTFConfig()
destructor
Definition: L1MuDTTFConfig.cc:50
L1MuDTTFConfig::getDTDigiInputTag
edm::InputTag getDTDigiInputTag() const
Definition: L1MuDTTFConfig.h:46
L1MuDTTFConfig::getopenLUTs
bool getopenLUTs() const
Definition: L1MuDTTFConfig.h:61
L1MuDTTFConfig::m_BxMin
int m_BxMin
Definition: L1MuDTTFConfig.h:90
L1MuDTTFConfig::m_NbitsPtaPhi
int m_NbitsPtaPhi
Definition: L1MuDTTFConfig.h:108
L1MuDTTFConfig::s_BxMin
static std::atomic< int > s_BxMin
Definition: L1MuDTTFConfig.h:85
InputTag.h
L1MuDTTFConfig::m_openLUTs
bool m_openLUTs
Definition: L1MuDTTFConfig.h:95
L1MuDTTFConfig::L1MuDTTFConfig
L1MuDTTFConfig(const edm::ParameterSet &ps)
constructor
Definition: L1MuDTTFConfig.cc:42
L1MuDTTFConfig::setDefaults
void setDefaults()
Definition: L1MuDTTFConfig.cc:56
L1MuDTTFConfig::m_overlap
bool m_overlap
Definition: L1MuDTTFConfig.h:88
L1MuDTTFConfig::m_TSOutOfTimeWindow
int m_TSOutOfTimeWindow
Definition: L1MuDTTFConfig.h:104
L1MuDTTFConfig::m_extTSFilter
int m_extTSFilter
Definition: L1MuDTTFConfig.h:93
L1MuDTTFConfig::m_NbitsPtaPhib
int m_NbitsPtaPhib
Definition: L1MuDTTFConfig.h:109
L1MuDTTFConfig::Debug
static bool Debug()
Definition: L1MuDTTFConfig.h:49
ParameterSet.h
L1MuDTTFConfig::getNbitsExtPhib
int getNbitsExtPhib() const
Definition: L1MuDTTFConfig.h:68
edm::InputTag
Definition: InputTag.h:15
L1MuDTTFConfig::getExtTSFilter
int getExtTSFilter() const
Definition: L1MuDTTFConfig.h:60