CMS 3D CMS Logo

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

#include <L1MuBMWedgeSorter.h>

Inheritance diagram for L1MuBMWedgeSorter:
L1AbstractProcessor

Public Member Functions

bool anyMuonCands () const
 return number of muon candidates More...
 
int id () const
 return Wedge Sorter identifier (0-11) More...
 
 L1MuBMWedgeSorter (const L1MuBMTrackFinder &, int id)
 constructor More...
 
void print () const
 print results after sorting More...
 
virtual void reset ()
 reset Wedge Sorter More...
 
virtual void run ()
 run Wedge Sorter More...
 
const std::vector< const
L1MuBMTrack * > & 
tracks () const
 return vector of muon candidates More...
 
virtual ~L1MuBMWedgeSorter ()
 destructor More...
 
- Public Member Functions inherited from L1AbstractProcessor
virtual void run (const edm::EventSetup &c)
 
virtual void run (const edm::EventSetup &c)
 
virtual ~L1AbstractProcessor ()
 destructor More...
 
virtual ~L1AbstractProcessor ()
 destructor More...
 

Private Member Functions

bool anyTrack () const
 are there any non-empty muon candidates in the Wedge Sorter? More...
 
void runCOL (std::vector< L1MuBMTrack * > &) const
 run the Cancel Out Logic of the wedge sorter More...
 

Static Private Member Functions

static bool neighbour (const L1MuBMSecProcId &spid1, const L1MuBMSecProcId &spid2)
 find out if two Sector Processors are neighbours in the same wedge More...
 

Private Attributes

const L1MuBMTrackFinderm_tf
 
std::vector< const L1MuBMTrack * > m_TrackCands
 
int m_wsid
 

Detailed Description

Wedge Sorter:

A Wedge Sorter receives 2 muon candidates from each of the 6 Sector Processors of a wedge and forwards the 2 highest rank candidates per wedge to the BM Muon Sorter

N. Neumeister CERN EP

Definition at line 45 of file L1MuBMWedgeSorter.h.

Constructor & Destructor Documentation

L1MuBMWedgeSorter::L1MuBMWedgeSorter ( const L1MuBMTrackFinder tf,
int  id 
)

constructor

Definition at line 50 of file L1MuBMWedgeSorter.cc.

L1MuBMWedgeSorter::~L1MuBMWedgeSorter ( )
virtual

destructor

Definition at line 62 of file L1MuBMWedgeSorter.cc.

Member Function Documentation

bool L1MuBMWedgeSorter::anyMuonCands ( ) const
inline

return number of muon candidates

Definition at line 71 of file L1MuBMWedgeSorter.h.

References anyTrack().

71 { return anyTrack(); }
bool anyTrack() const
are there any non-empty muon candidates in the Wedge Sorter?
bool L1MuBMWedgeSorter::anyTrack ( ) const
private

are there any non-empty muon candidates in the Wedge Sorter?

Definition at line 177 of file L1MuBMWedgeSorter.cc.

Referenced by anyMuonCands().

int L1MuBMWedgeSorter::id ( void  ) const
inline

return Wedge Sorter identifier (0-11)

Definition at line 56 of file L1MuBMWedgeSorter.h.

References m_wsid.

56 { return m_wsid; }
bool L1MuBMWedgeSorter::neighbour ( const L1MuBMSecProcId spid1,
const L1MuBMSecProcId spid2 
)
staticprivate

find out if two Sector Processors are neighbours in the same wedge

Definition at line 247 of file L1MuBMWedgeSorter.cc.

void L1MuBMWedgeSorter::print ( void  ) const

print results after sorting

Definition at line 159 of file L1MuBMWedgeSorter.cc.

void L1MuBMWedgeSorter::reset ( void  )
virtual

reset Wedge Sorter

Implements L1AbstractProcessor.

Definition at line 146 of file L1MuBMWedgeSorter.cc.

void L1MuBMWedgeSorter::run ( void  )
virtual

run Wedge Sorter

Reimplemented from L1AbstractProcessor.

Definition at line 74 of file L1MuBMWedgeSorter.cc.

void L1MuBMWedgeSorter::runCOL ( std::vector< L1MuBMTrack * > &  cands) const
private

run the Cancel Out Logic of the wedge sorter

Definition at line 193 of file L1MuBMWedgeSorter.cc.

const std::vector<const L1MuBMTrack*>& L1MuBMWedgeSorter::tracks ( void  ) const
inline

return vector of muon candidates

Definition at line 68 of file L1MuBMWedgeSorter.h.

References m_TrackCands.

68 { return m_TrackCands; }
std::vector< const L1MuBMTrack * > m_TrackCands

Member Data Documentation

const L1MuBMTrackFinder& L1MuBMWedgeSorter::m_tf
private

Definition at line 86 of file L1MuBMWedgeSorter.h.

std::vector<const L1MuBMTrack*> L1MuBMWedgeSorter::m_TrackCands
private

Definition at line 89 of file L1MuBMWedgeSorter.h.

Referenced by tracks().

int L1MuBMWedgeSorter::m_wsid
private

Definition at line 87 of file L1MuBMWedgeSorter.h.

Referenced by id().