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