#include <L1MuBMWedgeSorter.h>
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... | |
void | reset () override |
reset Wedge Sorter More... | |
void | run () override |
run Wedge Sorter More... | |
const std::vector< const L1MuBMTrack * > & | tracks () const |
return vector of muon candidates More... | |
~L1MuBMWedgeSorter () 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 | |
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 L1MuBMTrackFinder & | m_tf |
std::vector< const L1MuBMTrack * > | m_TrackCands |
int | m_wsid |
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.
L1MuBMWedgeSorter::L1MuBMWedgeSorter | ( | const L1MuBMTrackFinder & | tf, |
int | id | ||
) |
|
override |
|
inline |
return number of muon candidates
Definition at line 69 of file L1MuBMWedgeSorter.h.
References anyTrack().
|
private |
are there any non-empty muon candidates in the Wedge Sorter?
Definition at line 163 of file L1MuBMWedgeSorter.cc.
References m_TrackCands.
Referenced by anyMuonCands(), and print().
|
inline |
return Wedge Sorter identifier (0-11)
Definition at line 54 of file L1MuBMWedgeSorter.h.
References m_wsid.
|
staticprivate |
find out if two Sector Processors are neighbours in the same wedge
Definition at line 239 of file L1MuBMWedgeSorter.cc.
References L1MuBMSecProcId::sector(), hgcalTopologyTester_cfi::sector1, hgcalTopologyTester_cfi::sector2, and L1MuBMSecProcId::wheel().
Referenced by runCOL().
void L1MuBMWedgeSorter::print | ( | void | ) | const |
print results after sorting
Definition at line 148 of file L1MuBMWedgeSorter.cc.
References anyTrack(), gather_cfg::cout, m_TrackCands, and m_wsid.
|
overridevirtual |
reset Wedge Sorter
Implements L1AbstractProcessor.
Definition at line 138 of file L1MuBMWedgeSorter.cc.
References m_TrackCands.
|
overridevirtual |
run Wedge Sorter
Reimplemented from L1AbstractProcessor.
Definition at line 67 of file L1MuBMWedgeSorter.cc.
References gather_cfg::cout, L1MuBMTFConfig::Debug(), m_tf, m_TrackCands, m_wsid, contentValuesFiles::number, L1MuBMTrack::rank(), runCOL(), L1MuBMTrackFinder::sp(), hgcalPlots::stat, L1MuBMSectorProcessor::track(), and makeMuonMisalignmentScenario::wheel.
|
private |
run the Cancel Out Logic of the wedge sorter
Definition at line 177 of file L1MuBMWedgeSorter.cc.
References HLT_FULL_cff::cands, gather_cfg::cout, L1MuBMTFConfig::Debug(), neighbour(), hgcalPlots::stat, and L1MuBMSecProcId::wheel().
Referenced by run().
|
inline |
return vector of muon candidates
Definition at line 66 of file L1MuBMWedgeSorter.h.
References m_TrackCands.
Referenced by L1MuBMMuonSorter::run().
|
private |
Definition at line 82 of file L1MuBMWedgeSorter.h.
Referenced by run().
|
private |
Definition at line 85 of file L1MuBMWedgeSorter.h.
Referenced by anyTrack(), L1MuBMWedgeSorter(), print(), reset(), run(), and tracks().
|
private |
Definition at line 83 of file L1MuBMWedgeSorter.h.