#include <L1MuBMMuonSorter.h>
Public Member Functions | |
L1MuBMMuonSorter (const L1MuBMTrackFinder &) | |
constructor More... | |
int | numberOfTracks () const |
return number of found muon candidates after sorter More... | |
void | print () const |
print results after sorting More... | |
virtual void | reset () |
reset Muon Sorter More... | |
virtual void | run () |
run Muon Sorter More... | |
const L1MuBMTrack * | track (int id) const |
return pointer to a muon candidate More... | |
const std::vector< const L1MuBMTrack * > & | tracks () const |
return vector of muon candidates More... | |
virtual | ~L1MuBMMuonSorter () |
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 | |
void | runCOL (std::vector< L1MuBMTrack * > &) const |
run the Cancel Out Logic of the muon sorter More... | |
Static Private Member Functions | |
static int | neighbour (const L1MuBMSecProcId &spid1, const L1MuBMSecProcId &spid2) |
find out if two Sector Processors are neighbours More... | |
Private Attributes | |
const L1MuBMTrackFinder & | m_tf |
std::vector< const L1MuBMTrack * > | m_TrackCands |
BM Muon Sorter:
The BM Muon Sorter receives 2 muon candidates from each of the 12 Wedge Sorters and sorts out the 4 best (highest pt, highest quality) muons
N. Neumeister CERN EP
Definition at line 45 of file L1MuBMMuonSorter.h.
L1MuBMMuonSorter::L1MuBMMuonSorter | ( | const L1MuBMTrackFinder & | tf | ) |
constructor
Definition at line 48 of file L1MuBMMuonSorter.cc.
References m_TrackCands.
|
virtual |
|
staticprivate |
find out if two Sector Processors are neighbours
Definition at line 298 of file L1MuBMMuonSorter.cc.
References funct::abs(), L1MuBMSecProcId::sector(), ecaldqm::topology(), and L1MuBMSecProcId::wheel().
Referenced by runCOL().
|
inline |
return number of found muon candidates after sorter
Definition at line 65 of file L1MuBMMuonSorter.h.
References m_TrackCands.
Referenced by print().
void L1MuBMMuonSorter::print | ( | void | ) | const |
print results after sorting
Definition at line 145 of file L1MuBMMuonSorter.cc.
References gather_cfg::cout, m_TrackCands, and numberOfTracks().
|
virtual |
reset Muon Sorter
Implements L1AbstractProcessor.
Definition at line 131 of file L1MuBMMuonSorter.cc.
References m_TrackCands.
Referenced by L1MuBMTrackFinder::reset().
|
virtual |
run Muon Sorter
Reimplemented from L1AbstractProcessor.
Definition at line 72 of file L1MuBMMuonSorter.cc.
References gather_cfg::cout, L1MuBMTFConfig::Debug(), m_tf, m_TrackCands, runCOL(), L1MuBMWedgeSorter::tracks(), and L1MuBMTrackFinder::ws().
|
private |
run the Cancel Out Logic of the muon sorter
Definition at line 163 of file L1MuBMMuonSorter.cc.
References funct::abs(), gather_cfg::cout, L1MuBMTFConfig::Debug(), neighbour(), hitfit::phidiff(), ecaldqm::topology(), and w2.
Referenced by run().
|
inline |
return pointer to a muon candidate
Definition at line 68 of file L1MuBMMuonSorter.h.
References m_TrackCands.
|
inline |
return vector of muon candidates
Definition at line 71 of file L1MuBMMuonSorter.h.
References m_TrackCands.
|
private |
Definition at line 83 of file L1MuBMMuonSorter.h.
Referenced by run().
|
private |
Definition at line 84 of file L1MuBMMuonSorter.h.
Referenced by L1MuBMMuonSorter(), numberOfTracks(), print(), reset(), run(), track(), and tracks().