#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 () |
reset Wedge Sorter More... | |
void | run () |
run Wedge Sorter More... | |
const std::vector< const L1MuBMTrack * > & | tracks () const |
return vector of muon candidates More... | |
~L1MuBMWedgeSorter () | |
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 43 of file L1MuBMWedgeSorter.h.
L1MuBMWedgeSorter::L1MuBMWedgeSorter | ( | const L1MuBMTrackFinder & | tf, |
int | id | ||
) |
constructor
Definition at line 50 of file L1MuBMWedgeSorter.cc.
References m_TrackCands.
L1MuBMWedgeSorter::~L1MuBMWedgeSorter | ( | ) |
|
inline |
return number of muon candidates
Definition at line 67 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 52 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.
void L1MuBMWedgeSorter::reset | ( | void | ) |
reset Wedge Sorter
Definition at line 138 of file L1MuBMWedgeSorter.cc.
References m_TrackCands.
void L1MuBMWedgeSorter::run | ( | ) |
run Wedge Sorter
Definition at line 67 of file L1MuBMWedgeSorter.cc.
References gather_cfg::cout, L1MuBMTFConfig::Debug(), m_tf, m_TrackCands, m_wsid, contentValuesFiles::number, L1MuBMTrack::rank(), caHitNtupletGeneratorKernels::reject, runCOL(), hgcalTBTopologyTester_cfi::sector, L1MuBMTrackFinder::sp(), 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_2022v15_cff::cands, gather_cfg::cout, L1MuBMTFConfig::Debug(), neighbour(), and L1MuBMSecProcId::wheel().
Referenced by run().
|
inline |
return vector of muon candidates
Definition at line 64 of file L1MuBMWedgeSorter.h.
References m_TrackCands.
Referenced by L1MuBMMuonSorter::run().
|
private |
Definition at line 80 of file L1MuBMWedgeSorter.h.
Referenced by run().
|
private |
Definition at line 83 of file L1MuBMWedgeSorter.h.
Referenced by anyTrack(), L1MuBMWedgeSorter(), print(), reset(), run(), and tracks().
|
private |
Definition at line 81 of file L1MuBMWedgeSorter.h.