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 
34 
35 // ---------------------
36 // -- Class Interface --
37 // ---------------------
38 
40 public:
43 
45 
47  virtual ~L1MuBMTFConfig();
48 
51 
52  static bool Debug() { return m_debug; }
53  static bool Debug(int level) { return (m_debug && m_dbgLevel >= level); }
54 
55  static void setDebugLevel(int level) { m_dbgLevel = level; }
56  static int getDebugLevel() { return m_dbgLevel; }
57 
58  static int getBxMin() { return m_BxMin; }
59  static int getBxMax() { return m_BxMax; }
60  static int getExtTSFilter() { return m_extTSFilter; }
61  static bool getopenLUTs() { return m_openLUTs; }
62  static bool getUseEX21() { return m_useEX21; }
63  static bool getEtaTF() { return m_etaTF; }
64  static bool getTSOutOfTimeFilter() { return m_TSOutOfTimeFilter; }
65  static int getTSOutOfTimeWindow() { return m_TSOutOfTimeWindow; }
66  static int getNbitsExtPhi() { return m_NbitsExtPhi; }
67  static int getNbitsExtPhib() { return m_NbitsExtPhib; }
68  static int getNbitsPtaPhi() { return m_NbitsPtaPhi; }
69  static int getNbitsPtaPhib() { return m_NbitsPtaPhib; }
70  static int getNbitsPhiPhi() { return m_NbitsPhiPhi; }
71  static int getNbitsPhiPhib() { return m_NbitsPhiPhib; }
72 
73 private:
74  void setDefaults(edm::ParameterSet const&);
75 
76 private:
79 
80  static bool m_debug; // debug flag
81  static int m_dbgLevel; // debug level
82 
83  static int m_BxMin;
84  static int m_BxMax;
85 
86  static int m_extTSFilter; // Extrapolation TS-Quality Filter
87 
88  static bool m_openLUTs; // use open LUTs
89 
90  static bool m_useEX21; // perform EX21 extrapolation (cross-check EX12)
91 
92  static bool m_etaTF; // use eta track finder
93 
94  static bool m_TSOutOfTimeFilter; // perform out-of-time TS cancellation
95  static int m_TSOutOfTimeWindow; // phi window size to be checked
96 
97  static int m_NbitsExtPhi; // precision for extrapolation
98  static int m_NbitsExtPhib;
99  static int m_NbitsPtaPhi; // precision for pt-assignment
100  static int m_NbitsPtaPhib;
101  static int m_NbitsPhiPhi; // precision for phi-assignment
102  static int m_NbitsPhiPhib;
103 };
104 
105 #endif
personalPlayback.level
level
Definition: personalPlayback.py:22
L1MuBMTFConfig::~L1MuBMTFConfig
virtual ~L1MuBMTFConfig()
destructor
Definition: L1MuBMTFConfig.cc:49
L1MuBMTFConfig::m_BMThetaDigiInputTag
static edm::InputTag m_BMThetaDigiInputTag
Definition: L1MuBMTFConfig.h:78
L1MuBMTFConfig::m_NbitsPtaPhi
static int m_NbitsPtaPhi
Definition: L1MuBMTFConfig.h:99
L1MuBMTFConfig::m_NbitsPhiPhi
static int m_NbitsPhiPhi
Definition: L1MuBMTFConfig.h:101
L1MuBMTFConfig::getNbitsPtaPhib
static int getNbitsPtaPhib()
Definition: L1MuBMTFConfig.h:69
L1MuBMTFConfig::getUseEX21
static bool getUseEX21()
Definition: L1MuBMTFConfig.h:62
L1TMuonBarrelParams.h
L1MuBMTFConfig::m_TSOutOfTimeFilter
static bool m_TSOutOfTimeFilter
Definition: L1MuBMTFConfig.h:94
L1MuBMTFConfig::m_NbitsPhiPhib
static int m_NbitsPhiPhib
Definition: L1MuBMTFConfig.h:102
L1MuBMTFConfig::m_BxMin
static int m_BxMin
Definition: L1MuBMTFConfig.h:83
L1MuBMTFConfig::getBxMax
static int getBxMax()
Definition: L1MuBMTFConfig.h:59
L1MuBMTFConfig::L1MuBMTFConfig
L1MuBMTFConfig(const edm::ParameterSet &ps)
constructor
Definition: L1MuBMTFConfig.cc:44
L1MuBMTFConfig::getNbitsPhiPhib
static int getNbitsPhiPhib()
Definition: L1MuBMTFConfig.h:71
L1MuBMTFConfig::m_extTSFilter
static int m_extTSFilter
Definition: L1MuBMTFConfig.h:86
L1MuBMTFConfig::getNbitsPtaPhi
static int getNbitsPtaPhi()
Definition: L1MuBMTFConfig.h:68
L1MuBMTFConfig::getNbitsExtPhi
static int getNbitsExtPhi()
Definition: L1MuBMTFConfig.h:66
L1MuBMTFConfig::getExtTSFilter
static int getExtTSFilter()
Definition: L1MuBMTFConfig.h:60
L1MuBMTFConfig::m_NbitsPtaPhib
static int m_NbitsPtaPhib
Definition: L1MuBMTFConfig.h:100
L1MuBMTFConfig::m_NbitsExtPhib
static int m_NbitsExtPhib
Definition: L1MuBMTFConfig.h:98
L1MuBMTFConfig::m_useEX21
static bool m_useEX21
Definition: L1MuBMTFConfig.h:90
L1MuBMTFConfig::getTSOutOfTimeFilter
static bool getTSOutOfTimeFilter()
Definition: L1MuBMTFConfig.h:64
L1MuBMTFConfig::setDebugLevel
static void setDebugLevel(int level)
Definition: L1MuBMTFConfig.h:55
L1MuBMTFConfig::m_BxMax
static int m_BxMax
Definition: L1MuBMTFConfig.h:84
L1MuBMTFConfig::Debug
static bool Debug()
Definition: L1MuBMTFConfig.h:52
L1MuBMTFConfig::getopenLUTs
static bool getopenLUTs()
Definition: L1MuBMTFConfig.h:61
L1MuBMTFConfig::m_dbgLevel
static int m_dbgLevel
Definition: L1MuBMTFConfig.h:81
L1TMuonBarrelParamsAllPublic.h
L1MuBMTFConfig::m_NbitsExtPhi
static int m_NbitsExtPhi
Definition: L1MuBMTFConfig.h:97
L1MuBMTFConfig::getEtaTF
static bool getEtaTF()
Definition: L1MuBMTFConfig.h:63
edm::ParameterSet
Definition: ParameterSet.h:47
L1MuBMTFConfig::getBxMin
static int getBxMin()
Definition: L1MuBMTFConfig.h:58
L1MuBMTFConfig::getTSOutOfTimeWindow
static int getTSOutOfTimeWindow()
Definition: L1MuBMTFConfig.h:65
L1MuBMTFConfig::m_etaTF
static bool m_etaTF
Definition: L1MuBMTFConfig.h:92
L1MuBMTFConfig::getBMThetaDigiInputTag
static edm::InputTag getBMThetaDigiInputTag()
Definition: L1MuBMTFConfig.h:50
InputTag.h
L1MuBMTFConfig::m_openLUTs
static bool m_openLUTs
Definition: L1MuBMTFConfig.h:88
L1MuBMTFConfig::getBMDigiInputTag
static edm::InputTag getBMDigiInputTag()
Definition: L1MuBMTFConfig.h:49
L1MuBMTFConfig::getNbitsExtPhib
static int getNbitsExtPhib()
Definition: L1MuBMTFConfig.h:67
L1MuBMTFConfig::Debug
static bool Debug(int level)
Definition: L1MuBMTFConfig.h:53
L1MuBMTFConfig::m_TSOutOfTimeWindow
static int m_TSOutOfTimeWindow
Definition: L1MuBMTFConfig.h:95
L1MuBMTFConfig::setDefaultsES
void setDefaultsES(const L1TMuonBarrelParams &)
Definition: L1MuBMTFConfig.cc:84
L1MuBMTFConfig::m_debug
static bool m_debug
Definition: L1MuBMTFConfig.h:80
L1TMuonBarrelParams
Definition: L1TMuonBarrelParams.h:23
L1MuBMTFConfig::getDebugLevel
static int getDebugLevel()
Definition: L1MuBMTFConfig.h:56
ParameterSet.h
L1MuBMTFConfig
Definition: L1MuBMTFConfig.h:39
edm::InputTag
Definition: InputTag.h:15
L1MuBMTFConfig::getNbitsPhiPhi
static int getNbitsPhiPhi()
Definition: L1MuBMTFConfig.h:70
L1MuBMTFConfig::setDefaults
void setDefaults(edm::ParameterSet const &)
Definition: L1MuBMTFConfig.cc:55
L1MuBMTFConfig::m_BMDigiInputTag
static edm::InputTag m_BMDigiInputTag
Definition: L1MuBMTFConfig.h:77