#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 () |
reset Muon Sorter More... | |
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... | |
~L1MuBMMuonSorter () | |
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 43 of file L1MuBMMuonSorter.h.
L1MuBMMuonSorter::L1MuBMMuonSorter | ( | const L1MuBMTrackFinder & | tf | ) |
constructor
Definition at line 49 of file L1MuBMMuonSorter.cc.
References m_TrackCands.
L1MuBMMuonSorter::~L1MuBMMuonSorter | ( | ) |
|
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, HLT_2024v12_cff::topology, and L1MuBMSecProcId::wheel().
Referenced by runCOL().
|
inline |
return number of found muon candidates after sorter
Definition at line 61 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().
void L1MuBMMuonSorter::reset | ( | void | ) |
reset Muon Sorter
Definition at line 121 of file L1MuBMMuonSorter.cc.
References m_TrackCands.
Referenced by L1MuBMTrackFinder::reset().
void L1MuBMMuonSorter::run | ( | ) |
run Muon Sorter
Definition at line 64 of file L1MuBMMuonSorter.cc.
References gather_cfg::cout, L1MuBMTFConfig::Debug(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, 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_2024v12_cff::cands, gather_cfg::cout, L1MuBMTFConfig::Debug(), neighbour(), hitfit::phidiff(), HLT_2024v12_cff::pt1, HLT_2024v12_cff::pt2, HLT_2024v12_cff::topology, and w2.
Referenced by run().
|
inline |
return pointer to a muon candidate
Definition at line 64 of file L1MuBMMuonSorter.h.
References l1ctLayer2EG_cff::id, and m_TrackCands.
|
inline |
return vector of muon candidates
Definition at line 67 of file L1MuBMMuonSorter.h.
References m_TrackCands.
|
private |
Definition at line 77 of file L1MuBMMuonSorter.h.
Referenced by run().
|
private |
Definition at line 78 of file L1MuBMMuonSorter.h.
Referenced by L1MuBMMuonSorter(), numberOfTracks(), print(), reset(), run(), track(), and tracks().