![]() |
![]() |
#include <L1Trigger/DTTrackFinder/src/L1MuDTTFConfig.h>
N. Neumeister CERN EP
Definition at line 39 of file L1MuDTTFConfig.h.
L1MuDTTFConfig::L1MuDTTFConfig | ( | const edm::ParameterSet & | ps | ) |
constructor
Definition at line 44 of file L1MuDTTFConfig.cc.
References m_ps, and setDefaults().
00044 { 00045 00046 m_ps = &ps; 00047 setDefaults(); 00048 00049 }
L1MuDTTFConfig::~L1MuDTTFConfig | ( | ) | [virtual] |
Definition at line 53 of file L1MuDTTFConfig.h.
References m_dbgLevel, and m_debug.
00053 { return (m_debug && m_dbgLevel >= level); }
static bool L1MuDTTFConfig::Debug | ( | ) | [inline, static] |
Definition at line 52 of file L1MuDTTFConfig.h.
References m_debug.
Referenced by L1MuDTExtrapolationUnit::L1MuDTExtrapolationUnit(), L1MuDTTrackFinder::L1MuDTTrackFinder(), DTTrackFinder::produce(), L1MuDTEUX::run(), L1MuDTMuonSorter::run(), L1MuDTSEU::run(), L1MuDTTrackAssembler::run(), L1MuDTExtrapolationUnit::run(), L1MuDTTrackFinder::run(), L1MuDTSectorProcessor::run(), L1MuDTERS::run(), L1MuDTWedgeSorter::run(), setDefaults(), and L1MuDTTrackFinder::setup().
00052 { return m_debug; }
static int L1MuDTTFConfig::getBxMax | ( | ) | [inline, static] |
Definition at line 59 of file L1MuDTTFConfig.h.
References m_BxMax.
Referenced by CSCTFDTReceiver::process(), and L1MuDTTrackFinder::run().
00059 { return m_BxMax; }
static int L1MuDTTFConfig::getBxMin | ( | ) | [inline, static] |
Definition at line 58 of file L1MuDTTFConfig.h.
References m_BxMin.
Referenced by CSCTFDTReceiver::process(), and L1MuDTTrackFinder::run().
00058 { return m_BxMin; }
static edm::InputTag L1MuDTTFConfig::getCSCTrSInputTag | ( | ) | [inline, static] |
Definition at line 50 of file L1MuDTTFConfig.h.
References m_CSCTrSInputTag.
Referenced by L1MuDTSectorReceiver::receiveCSCData().
00050 { return m_CSCTrSInputTag; }
static int L1MuDTTFConfig::getDebugLevel | ( | ) | [inline, static] |
static edm::InputTag L1MuDTTFConfig::getDTDigiInputTag | ( | ) | [inline, static] |
Definition at line 49 of file L1MuDTTFConfig.h.
References m_DTDigiInputTag.
Referenced by L1MuDTEtaProcessor::receiveData(), L1MuDTSectorReceiver::receiveDTBXData(), and L1MuDTTrackFinder::run().
00049 { return m_DTDigiInputTag; }
static bool L1MuDTTFConfig::getEtaTF | ( | ) | [inline, static] |
Definition at line 64 of file L1MuDTTFConfig.h.
References m_etaTF.
Referenced by L1MuDTEtaProcessor::run().
00064 { return m_etaTF; }
static int L1MuDTTFConfig::getExtTSFilter | ( | ) | [inline, static] |
Definition at line 61 of file L1MuDTTFConfig.h.
References m_extTSFilter.
Referenced by L1MuDTEUX::setPrecision().
00061 { return m_extTSFilter; }
static int L1MuDTTFConfig::getNbitsExtPhi | ( | ) | [inline, static] |
Definition at line 67 of file L1MuDTTFConfig.h.
References m_NbitsExtPhi.
Referenced by L1MuDTSectorReceiver::receiveDTBXData(), and L1MuDTEUX::setPrecision().
00067 { return m_NbitsExtPhi; }
static int L1MuDTTFConfig::getNbitsExtPhib | ( | ) | [inline, static] |
Definition at line 68 of file L1MuDTTFConfig.h.
References m_NbitsExtPhib.
Referenced by L1MuDTEUX::setPrecision().
00068 { return m_NbitsExtPhib; }
static int L1MuDTTFConfig::getNbitsPhiPhi | ( | ) | [inline, static] |
Definition at line 71 of file L1MuDTTFConfig.h.
References m_NbitsPhiPhi.
Referenced by L1MuDTAssignmentUnit::PhiAU().
00071 { return m_NbitsPhiPhi; }
static int L1MuDTTFConfig::getNbitsPhiPhib | ( | ) | [inline, static] |
Definition at line 72 of file L1MuDTTFConfig.h.
References m_NbitsPhiPhib.
Referenced by L1MuDTAssignmentUnit::PhiAU().
00072 { return m_NbitsPhiPhib; }
static int L1MuDTTFConfig::getNbitsPtaPhi | ( | ) | [inline, static] |
Definition at line 69 of file L1MuDTTFConfig.h.
References m_NbitsPtaPhi.
Referenced by L1MuDTAssignmentUnit::setPrecision().
00069 { return m_NbitsPtaPhi; }
static int L1MuDTTFConfig::getNbitsPtaPhib | ( | ) | [inline, static] |
Definition at line 70 of file L1MuDTTFConfig.h.
References m_NbitsPtaPhib.
Referenced by L1MuDTAssignmentUnit::setPrecision().
00070 { return m_NbitsPtaPhib; }
static bool L1MuDTTFConfig::getopenLUTs | ( | ) | [inline, static] |
Definition at line 62 of file L1MuDTTFConfig.h.
References m_openLUTs.
Referenced by L1MuDTEUX::run().
00062 { return m_openLUTs; }
static bool L1MuDTTFConfig::getTSOutOfTimeFilter | ( | ) | [inline, static] |
Definition at line 65 of file L1MuDTTFConfig.h.
References m_TSOutOfTimeFilter.
Referenced by L1MuDTSectorReceiver::receiveDTBXData().
00065 { return m_TSOutOfTimeFilter; }
static int L1MuDTTFConfig::getTSOutOfTimeWindow | ( | ) | [inline, static] |
Definition at line 66 of file L1MuDTTFConfig.h.
References m_TSOutOfTimeWindow.
Referenced by L1MuDTSectorReceiver::receiveDTBXData().
00066 { return m_TSOutOfTimeWindow; }
static bool L1MuDTTFConfig::getUseEX21 | ( | ) | [inline, static] |
Definition at line 63 of file L1MuDTTFConfig.h.
References m_useEX21.
Referenced by L1MuDTExtrapolationUnit::run().
00063 { return m_useEX21; }
static bool L1MuDTTFConfig::overlap | ( | ) | [inline, static] |
Definition at line 60 of file L1MuDTTFConfig.h.
References m_overlap.
Referenced by L1MuDTSectorReceiver::run().
00060 { return m_overlap; }
Definition at line 55 of file L1MuDTTFConfig.h.
References m_dbgLevel.
00055 { m_dbgLevel = level; }
void L1MuDTTFConfig::setDefaults | ( | ) | [private] |
Definition at line 62 of file L1MuDTTFConfig.cc.
References GenMuonPlsPt100GeV_cfg::cout, Debug(), lat::endl(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_BxMax, m_BxMin, m_CSCTrSInputTag, m_dbgLevel, m_debug, m_DTDigiInputTag, m_etaTF, m_extTSFilter, m_NbitsExtPhi, m_NbitsExtPhib, m_NbitsPhiPhi, m_NbitsPhiPhib, m_NbitsPtaPhi, m_NbitsPtaPhib, m_openLUTs, m_overlap, m_ps, m_TSOutOfTimeFilter, m_TSOutOfTimeWindow, and m_useEX21.
Referenced by L1MuDTTFConfig().
00062 { 00063 00064 m_DTDigiInputTag = m_ps->getParameter<edm::InputTag>("DTDigi_Source"); 00065 m_CSCTrSInputTag = m_ps->getParameter<edm::InputTag>("CSCStub_Source"); 00066 00067 m_debug = true; 00068 m_dbgLevel = m_ps->getUntrackedParameter<int>("Debug",0); 00069 00070 m_overlap = m_ps->getUntrackedParameter<bool>("Overlap",true); 00071 00072 // set min and max bunch crossing 00073 m_BxMin = m_ps->getUntrackedParameter<int>("BX_min",-9); 00074 m_BxMax = m_ps->getUntrackedParameter<int>("BX_max", 7); 00075 00076 // set Filter for Extrapolator 00077 m_extTSFilter = m_ps->getUntrackedParameter<int>("Extrapolation_Filter",1); 00078 00079 // set switch for open LUTs usage 00080 m_openLUTs = m_ps->getUntrackedParameter<bool>("Open_LUTs",false); 00081 00082 // set switch for EX21 usage 00083 m_useEX21 = m_ps->getUntrackedParameter<bool>("Extrapolation_21",false); 00084 00085 // set switch for eta track finder usage 00086 m_etaTF = m_ps->getUntrackedParameter<bool>("EtaTrackFinder",true); 00087 00088 // set Filter for Out-of-time Track Segments 00089 m_TSOutOfTimeFilter = m_ps->getUntrackedParameter<bool>("OutOfTime_Filter",false); 00090 m_TSOutOfTimeWindow = m_ps->getUntrackedParameter<int>("OutOfTime_Filter_Window",1); 00091 00092 // set precision for extrapolation 00093 m_NbitsExtPhi = m_ps->getUntrackedParameter<int>("Extrapolation_nbits_Phi", 8); 00094 m_NbitsExtPhib = m_ps->getUntrackedParameter<int>("Extrapolation_nbits_PhiB",8); 00095 00096 // set precision for pt-assignment 00097 m_NbitsPtaPhi = m_ps->getUntrackedParameter<int>("PT_Assignment_nbits_Phi", 12); 00098 m_NbitsPtaPhib = m_ps->getUntrackedParameter<int>("PT_Assignment_nbits_PhiB",10); 00099 00100 // set precision for phi-assignment look-up tables 00101 m_NbitsPhiPhi = m_ps->getUntrackedParameter<int>("PHI_Assignment_nbits_Phi", 10); 00102 m_NbitsPhiPhib = m_ps->getUntrackedParameter<int>("PHI_Assignment_nbits_PhiB",10); 00103 00104 if ( Debug(1) ) cout << endl; 00105 if ( Debug(1) ) cout << "*******************************************" << endl; 00106 if ( Debug(1) ) cout << "**** L1 barrel Track Finder settings : ****" << endl; 00107 if ( Debug(1) ) cout << "*******************************************" << endl; 00108 if ( Debug(1) ) cout << endl; 00109 00110 if ( Debug(1) ) cout << "L1 barrel Track Finder : DT Digi Source: " << m_DTDigiInputTag << endl; 00111 if ( Debug(1) ) cout << "L1 barrel Track Finder : CSC Stub Source: " << m_CSCTrSInputTag << endl; 00112 if ( Debug(1) ) cout << endl; 00113 00114 if ( Debug(1) ) cout << "L1 barrel Track Finder : debug level: " << m_dbgLevel << endl; 00115 00116 if ( Debug(1) && m_overlap ) { 00117 cout << "L1 barrel Track Finder : barrel-endcap overlap region : on" << endl; 00118 } 00119 if ( Debug(1) && !m_overlap ) { 00120 cout << "L1 barrel Track Finder : barrel-endcap overlap region : off" << endl; 00121 } 00122 00123 if ( Debug(1) ) cout << "L1 barrel Track Finder : minimal bunch-crossing : " << m_BxMin << endl; 00124 if ( Debug(1) ) cout << "L1 barrel Track Finder : maximal bunch-crossing : " << m_BxMax << endl; 00125 00126 if ( Debug(1) ) cout << "L1 barrel Track Finder : Extrapolation Filter : " << m_extTSFilter << endl; 00127 00128 if ( Debug(1) && m_openLUTs) { 00129 cout << "L1 barrel Track Finder : use open LUTs : on" << endl; 00130 } 00131 if ( Debug(1) && !m_openLUTs) { 00132 cout << "L1 barrel Track Finder : use open LUTs : off" << endl; 00133 } 00134 00135 if ( Debug(1) && m_useEX21 ) { 00136 cout << "L1 barrel Track Finder : use EX21 extrapolations : on" << endl; 00137 } 00138 if ( Debug(1) && !m_useEX21 ) { 00139 cout << "L1 barrel Track Finder : use EX21 extrapolations : off" << endl; 00140 } 00141 00142 if ( Debug(1) && m_etaTF ) { 00143 cout << "L1 barrel Track Finder : Eta Track Finder : on" << endl; 00144 } 00145 if ( Debug(1) && !m_etaTF ) { 00146 cout << "L1 barrel Track Finder : Eta Track Finder : off" << endl; 00147 } 00148 00149 if ( Debug(1) && m_TSOutOfTimeFilter ) { 00150 cout << "L1 barrel Track Finder : out-of-time TS filter : on" << endl; 00151 cout << "L1 barrel Track Finder : out-of-time TS filter window : " << m_TSOutOfTimeWindow << endl; 00152 } 00153 if ( Debug(1) && !m_TSOutOfTimeFilter ) { 00154 cout << "L1 barrel Track Finder : out-of-time TS filter : off" << endl; 00155 } 00156 00157 if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phi (extrapolation) : " << m_NbitsExtPhi << endl; 00158 if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phib (extrapolation) : " << m_NbitsExtPhib << endl; 00159 if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phi (pt-assignment) : " << m_NbitsPtaPhi << endl; 00160 if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phib (pt-assignment) : " << m_NbitsPtaPhib << endl; 00161 if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phi (phi-assignment) : " << m_NbitsPhiPhi << endl; 00162 if ( Debug(1) ) cout << "L1 barrel Track Finder : # of bits used for phib (phi-assignment) : " << m_NbitsPhiPhib << endl; 00163 00164 }
int L1MuDTTFConfig::m_BxMax = 7 [static, private] |
int L1MuDTTFConfig::m_BxMin = -9 [static, private] |
edm::InputTag L1MuDTTFConfig::m_CSCTrSInputTag = edm::InputTag() [static, private] |
Definition at line 83 of file L1MuDTTFConfig.h.
Referenced by getCSCTrSInputTag(), and setDefaults().
int L1MuDTTFConfig::m_dbgLevel = -1 [static, private] |
Definition at line 86 of file L1MuDTTFConfig.h.
Referenced by Debug(), getDebugLevel(), setDebugLevel(), and setDefaults().
bool L1MuDTTFConfig::m_debug = false [static, private] |
edm::InputTag L1MuDTTFConfig::m_DTDigiInputTag = edm::InputTag() [static, private] |
Definition at line 82 of file L1MuDTTFConfig.h.
Referenced by getDTDigiInputTag(), and setDefaults().
bool L1MuDTTFConfig::m_etaTF = true [static, private] |
int L1MuDTTFConfig::m_extTSFilter = 1 [static, private] |
int L1MuDTTFConfig::m_NbitsExtPhi = 8 [static, private] |
int L1MuDTTFConfig::m_NbitsExtPhib = 8 [static, private] |
Definition at line 105 of file L1MuDTTFConfig.h.
Referenced by getNbitsExtPhib(), and setDefaults().
int L1MuDTTFConfig::m_NbitsPhiPhi = 10 [static, private] |
int L1MuDTTFConfig::m_NbitsPhiPhib = 10 [static, private] |
Definition at line 109 of file L1MuDTTFConfig.h.
Referenced by getNbitsPhiPhib(), and setDefaults().
int L1MuDTTFConfig::m_NbitsPtaPhi = 12 [static, private] |
int L1MuDTTFConfig::m_NbitsPtaPhib = 10 [static, private] |
Definition at line 107 of file L1MuDTTFConfig.h.
Referenced by getNbitsPtaPhib(), and setDefaults().
bool L1MuDTTFConfig::m_openLUTs = false [static, private] |
bool L1MuDTTFConfig::m_overlap = true [static, private] |
const edm::ParameterSet* L1MuDTTFConfig::m_ps [private] |
bool L1MuDTTFConfig::m_TSOutOfTimeFilter = false [static, private] |
Definition at line 101 of file L1MuDTTFConfig.h.
Referenced by getTSOutOfTimeFilter(), and setDefaults().
int L1MuDTTFConfig::m_TSOutOfTimeWindow = 1 [static, private] |
Definition at line 102 of file L1MuDTTFConfig.h.
Referenced by getTSOutOfTimeWindow(), and setDefaults().
bool L1MuDTTFConfig::m_useEX21 = false [static, private] |