#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... | |
void | reset () override |
reset Muon Sorter More... | |
void | run () override |
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... | |
~L1MuBMMuonSorter () override | |
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 49 of file L1MuBMMuonSorter.cc.
References m_TrackCands.
|
override |
|
staticprivate |
find out if two Sector Processors are neighbours
Definition at line 299 of file L1MuBMMuonSorter.cc.
References funct::abs(), L1MuBMSecProcId::sector(), ecaldqm::topology(), and L1MuBMSecProcId::wheel().
Referenced by runCOL(), and tracks().
|
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 146 of file L1MuBMMuonSorter.cc.
References gather_cfg::cout, m_TrackCands, and numberOfTracks().
|
overridevirtual |
reset Muon Sorter
Implements L1AbstractProcessor.
Definition at line 132 of file L1MuBMMuonSorter.cc.
References m_TrackCands.
Referenced by L1MuBMTrackFinder::reset().
|
overridevirtual |
run Muon Sorter
Reimplemented from L1AbstractProcessor.
Definition at line 73 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 164 of file L1MuBMMuonSorter.cc.
References funct::abs(), gather_cfg::cout, L1MuBMTFConfig::Debug(), neighbour(), hitfit::phidiff(), hiDetachedQuadStep_cff::pt1, hiDetachedQuadStep_cff::pt2, ecaldqm::topology(), and w2.
Referenced by run(), and tracks().
|
inline |
return pointer to a muon candidate
Definition at line 68 of file L1MuBMMuonSorter.h.
References hcalTTPDigis_cfi::id, and m_TrackCands.
|
inline |
return vector of muon candidates
Definition at line 71 of file L1MuBMMuonSorter.h.
References m_TrackCands, neighbour(), and runCOL().
|
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().