#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 | ) |
|
override |
|
staticprivate |
find out if two Sector Processors are neighbours
Definition at line 305 of file L1MuBMMuonSorter.cc.
References funct::abs(), L1MuBMSecProcId::sector(), hgcalTopologyTester_cfi::sector1, hgcalTopologyTester_cfi::sector2, ecaldqm::topology(), and L1MuBMSecProcId::wheel().
Referenced by runCOL().
|
inline |
return number of found muon candidates after sorter
Definition at line 63 of file L1MuBMMuonSorter.h.
References m_TrackCands.
Referenced by print().
void L1MuBMMuonSorter::print | ( | void | ) | const |
print results after sorting
Definition at line 132 of file L1MuBMMuonSorter.cc.
References gather_cfg::cout, m_TrackCands, and numberOfTracks().
|
overridevirtual |
reset Muon Sorter
Implements L1AbstractProcessor.
Definition at line 121 of file L1MuBMMuonSorter.cc.
References m_TrackCands.
Referenced by L1MuBMTrackFinder::reset().
|
overridevirtual |
run Muon Sorter
Reimplemented from L1AbstractProcessor.
Definition at line 64 of file L1MuBMMuonSorter.cc.
References gather_cfg::cout, L1MuBMTFConfig::Debug(), m_tf, m_TrackCands, L1MuBMTrack::rank(), runCOL(), L1MuBMWedgeSorter::tracks(), and L1MuBMTrackFinder::ws().
|
private |
run the Cancel Out Logic of the muon sorter
Definition at line 147 of file L1MuBMMuonSorter.cc.
References funct::abs(), HLT_FULL_cff::cands, gather_cfg::cout, L1MuBMTFConfig::Debug(), neighbour(), hitfit::phidiff(), HLT_FULL_cff::pt1, HLT_FULL_cff::pt2, hgcalPlots::stat, ecaldqm::topology(), and w2.
Referenced by run().
|
inline |
return pointer to a muon candidate
Definition at line 66 of file L1MuBMMuonSorter.h.
References triggerObjects_cff::id, and m_TrackCands.
|
inline |
return vector of muon candidates
Definition at line 69 of file L1MuBMMuonSorter.h.
References m_TrackCands.
|
private |
Definition at line 79 of file L1MuBMMuonSorter.h.
Referenced by run().
|
private |
Definition at line 80 of file L1MuBMMuonSorter.h.
Referenced by L1MuBMMuonSorter(), numberOfTracks(), print(), reset(), run(), track(), and tracks().