#include <L1MuGMTMatcher.h>
Public Member Functions | |
int | id () const |
return identifier More... | |
L1MuGMTMatcher (const L1MuGlobalMuonTrigger &gmt, int id) | |
constructor More... | |
const L1MuGMTMatrix< bool > & | pairM () const |
return pair matrix More... | |
bool | pairM (int i, int j) const |
return pair matrix More... | |
void | print () |
print matching results More... | |
void | reset () |
clear Matcher More... | |
void | run () |
run Matcher More... | |
virtual | ~L1MuGMTMatcher () |
destructor More... | |
Static Public Attributes | |
static const unsigned int | MaxMatch = 4 |
Private Member Functions | |
void | load () |
int | lookup_mq (int i, int j) |
void | match () |
Private Attributes | |
std::vector< const L1MuRegionalCand * > | first |
const L1MuGlobalMuonTrigger & | m_gmt |
int | m_id |
L1MuGMTMatrix< int > | matchQuality |
L1MuGMTMatrix< bool > | pairMatrix |
std::vector< const L1MuRegionalCand * > | second |
Matching Unit in the L1 Global Muon Trigger.
Definition at line 41 of file L1MuGMTMatcher.h.
L1MuGMTMatcher::L1MuGMTMatcher | ( | const L1MuGlobalMuonTrigger & | gmt, |
int | id | ||
) |
constructor
Definition at line 60 of file L1MuGMTMatcher.cc.
References first, MaxMatch, and second.
|
virtual |
|
inline |
|
private |
Definition at line 130 of file L1MuGMTMatcher.cc.
References L1MuGMTPSB::CSCMuon(), L1MuGlobalMuonTrigger::Data(), L1MuGMTPSB::DTBXMuon(), first, irpc, m_gmt, m_id, L1MuGMTConfig::MAXCSC, L1MuGMTConfig::MAXDTBX, L1MuGMTConfig::MAXRPCbarrel, L1MuGMTConfig::MAXRPCendcap, L1MuGMTPSB::RPCMuon(), and second.
Referenced by run().
|
private |
Definition at line 271 of file L1MuGMTMatcher.cc.
References kinem::delta_phi(), relativeConstraints::empty, first, L1MuGMTConfig::getLFCOUDeltaEtaLUT(), L1MuGMTConfig::getLFDeltaEtaLUT(), L1MuGMTConfig::getLFDisableHotLUT(), L1MuGMTConfig::getLFMatchQualLUT(), L1MuGMTConfig::getLFOvlEtaConvLUT(), i, L1MuGMTSortRankUnit::isDisabled(), j, m_id, L1MuSignedPacking< Bits >::packedFromIdx(), second, L1MuGMTLFCOUDeltaEtaLUT::SpecificLookup_delta_eta(), L1MuGMTLFDeltaEtaLUT::SpecificLookup_delta_eta(), L1MuGMTLFDisableHotLUT::SpecificLookup_disable_hot(), L1MuGMTLFOvlEtaConvLUT::SpecificLookup_eta_ovl(), and L1MuGMTLFMatchQualLUT::SpecificLookup_mq().
Referenced by match().
|
private |
Definition at line 197 of file L1MuGMTMatcher.cc.
References L1MuGlobalMuonTrigger::DebugBlockForFill(), i, L1MuGMTMatrix< T >::init(), L1MuGMTMatrix< T >::isMax(), j, lookup_mq(), m_gmt, m_id, matchQuality, max(), MaxMatch, pairMatrix, L1MuGMTDebugBlock::SetMQMatrix(), and L1MuGMTDebugBlock::SetPairMatrix().
Referenced by run().
|
inline |
return pair matrix
Definition at line 66 of file L1MuGMTMatcher.h.
References pairMatrix.
Referenced by L1MuGMTCancelOutUnit::decide(), and L1MuGMTMerger::merge().
|
inline |
void L1MuGMTMatcher::print | ( | void | ) |
print matching results
Definition at line 111 of file L1MuGMTMatcher.cc.
References L1MuGMTConfig::Debug(), matchQuality, pairMatrix, and L1MuGMTMatrix< T >::print().
Referenced by L1MuGlobalMuonTrigger::produce(), and L1MuGMTCancelOutUnit::run().
void L1MuGMTMatcher::reset | ( | void | ) |
clear Matcher
Definition at line 95 of file L1MuGMTMatcher.cc.
References first, i, L1MuGMTMatrix< T >::init(), matchQuality, MaxMatch, pairMatrix, and second.
Referenced by L1MuGlobalMuonTrigger::reset(), L1MuGMTCancelOutUnit::reset(), and ~L1MuGMTMatcher().
void L1MuGMTMatcher::run | ( | void | ) |
run Matcher
Definition at line 85 of file L1MuGMTMatcher.cc.
References load(), and match().
Referenced by L1MuGlobalMuonTrigger::produce(), and L1MuGMTCancelOutUnit::run().
|
private |
Definition at line 85 of file L1MuGMTMatcher.h.
Referenced by L1MuGMTMatcher(), load(), lookup_mq(), and reset().
|
private |
Definition at line 82 of file L1MuGMTMatcher.h.
|
private |
Definition at line 83 of file L1MuGMTMatcher.h.
Referenced by id(), load(), lookup_mq(), and match().
|
private |
Definition at line 88 of file L1MuGMTMatcher.h.
|
static |
Definition at line 45 of file L1MuGMTMatcher.h.
Referenced by L1MuGMTMatcher(), match(), and reset().
|
private |
|
private |
Definition at line 86 of file L1MuGMTMatcher.h.
Referenced by L1MuGMTMatcher(), load(), lookup_mq(), and reset().