CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
L1MuGMTMatcher Class Reference

#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 L1MuGlobalMuonTriggerm_gmt
 
int m_id
 
L1MuGMTMatrix< int > matchQuality
 
L1MuGMTMatrix< bool > pairMatrix
 
std::vector< const
L1MuRegionalCand * > 
second
 

Detailed Description

Matching Unit in the L1 Global Muon Trigger.

Definition at line 41 of file L1MuGMTMatcher.h.

Constructor & Destructor Documentation

L1MuGMTMatcher::L1MuGMTMatcher ( const L1MuGlobalMuonTrigger gmt,
int  id 
)

constructor

Definition at line 60 of file L1MuGMTMatcher.cc.

L1MuGMTMatcher::~L1MuGMTMatcher ( )
virtual

destructor

Definition at line 72 of file L1MuGMTMatcher.cc.

Member Function Documentation

int L1MuGMTMatcher::id ( void  ) const
inline

return identifier

Definition at line 63 of file L1MuGMTMatcher.h.

References m_id.

63 { return m_id; }
void L1MuGMTMatcher::load ( )
private

Definition at line 130 of file L1MuGMTMatcher.cc.

int L1MuGMTMatcher::lookup_mq ( int  i,
int  j 
)
private

Definition at line 271 of file L1MuGMTMatcher.cc.

void L1MuGMTMatcher::match ( )
private

Definition at line 197 of file L1MuGMTMatcher.cc.

const L1MuGMTMatrix<bool>& L1MuGMTMatcher::pairM ( ) const
inline

return pair matrix

Definition at line 66 of file L1MuGMTMatcher.h.

References pairMatrix.

Referenced by L1MuGMTCancelOutUnit::decide().

66 { return pairMatrix; }
L1MuGMTMatrix< bool > pairMatrix
bool L1MuGMTMatcher::pairM ( int  i,
int  j 
) const
inline

return pair matrix

Definition at line 69 of file L1MuGMTMatcher.h.

References pairMatrix.

69 { return pairMatrix(i,j); }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
L1MuGMTMatrix< bool > pairMatrix
void L1MuGMTMatcher::print ( void  )

print matching results

Definition at line 111 of file L1MuGMTMatcher.cc.

Referenced by L1MuGMTCancelOutUnit::run().

void L1MuGMTMatcher::reset ( void  )

clear Matcher

Definition at line 95 of file L1MuGMTMatcher.cc.

Referenced by L1MuGMTCancelOutUnit::reset().

void L1MuGMTMatcher::run ( void  )

run Matcher

Definition at line 85 of file L1MuGMTMatcher.cc.

Referenced by L1MuGMTCancelOutUnit::run().

Member Data Documentation

std::vector<const L1MuRegionalCand*> L1MuGMTMatcher::first
private

Definition at line 85 of file L1MuGMTMatcher.h.

const L1MuGlobalMuonTrigger& L1MuGMTMatcher::m_gmt
private

Definition at line 82 of file L1MuGMTMatcher.h.

int L1MuGMTMatcher::m_id
private

Definition at line 83 of file L1MuGMTMatcher.h.

Referenced by id().

L1MuGMTMatrix<int> L1MuGMTMatcher::matchQuality
private

Definition at line 88 of file L1MuGMTMatcher.h.

const unsigned int L1MuGMTMatcher::MaxMatch = 4
static

Definition at line 45 of file L1MuGMTMatcher.h.

L1MuGMTMatrix<bool> L1MuGMTMatcher::pairMatrix
private

Definition at line 89 of file L1MuGMTMatcher.h.

Referenced by pairM().

std::vector<const L1MuRegionalCand*> L1MuGMTMatcher::second
private

Definition at line 86 of file L1MuGMTMatcher.h.