#include <L1MuDTMuonSorter.h>
Public Member Functions | |
L1MuDTMuonSorter (const L1MuDTTrackFinder &) | |
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 L1MuDTTrack * | track (int id) const |
return pointer to a muon candidate More... | |
const std::vector< const L1MuDTTrack * > & | tracks () const |
return vector of muon candidates More... | |
~L1MuDTMuonSorter () | |
destructor More... | |
Private Member Functions | |
void | runCOL (std::vector< L1MuDTTrack *> &) const |
run the Cancel Out Logic of the muon sorter More... | |
Static Private Member Functions | |
static int | neighbour (const L1MuDTSecProcId &spid1, const L1MuDTSecProcId &spid2) |
find out if two Sector Processors are neighbours More... | |
Private Attributes | |
const L1MuDTTrackFinder & | m_tf |
std::vector< const L1MuDTTrack * > | m_TrackCands |
DT Muon Sorter:
The DT 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 L1MuDTMuonSorter.h.
L1MuDTMuonSorter::L1MuDTMuonSorter | ( | const L1MuDTTrackFinder & | tf | ) |
constructor
Definition at line 48 of file L1MuDTMuonSorter.cc.
References m_TrackCands.
L1MuDTMuonSorter::~L1MuDTMuonSorter | ( | ) |
|
staticprivate |
find out if two Sector Processors are neighbours
Definition at line 304 of file L1MuDTMuonSorter.cc.
References funct::abs(), L1MuDTSecProcId::sector(), hgcalTopologyTester_cfi::sector1, hgcalTopologyTester_cfi::sector2, pfClusterHBHEAlpaka_cff::topology, and L1MuDTSecProcId::wheel().
Referenced by runCOL().
|
inline |
return number of found muon candidates after sorter
Definition at line 61 of file L1MuDTMuonSorter.h.
References m_TrackCands.
Referenced by print().
void L1MuDTMuonSorter::print | ( | void | ) | const |
print results after sorting
Definition at line 131 of file L1MuDTMuonSorter.cc.
References gather_cfg::cout, m_TrackCands, and numberOfTracks().
void L1MuDTMuonSorter::reset | ( | void | ) |
reset Muon Sorter
Definition at line 120 of file L1MuDTMuonSorter.cc.
References m_TrackCands.
void L1MuDTMuonSorter::run | ( | ) |
run Muon Sorter
Definition at line 63 of file L1MuDTMuonSorter.cc.
References gather_cfg::cout, L1MuDTTFConfig::Debug(), m_tf, m_TrackCands, L1MuDTTrack::rank(), runCOL(), L1MuDTWedgeSorter::tracks(), and L1MuDTTrackFinder::ws().
|
private |
run the Cancel Out Logic of the muon sorter
Definition at line 146 of file L1MuDTMuonSorter.cc.
References funct::abs(), HLT_2023v12_cff::cands, gather_cfg::cout, L1MuDTTFConfig::Debug(), neighbour(), hitfit::phidiff(), HLT_2023v12_cff::pt1, HLT_2023v12_cff::pt2, pfClusterHBHEAlpaka_cff::topology, w1, and w2.
Referenced by run().
|
inline |
return pointer to a muon candidate
Definition at line 64 of file L1MuDTMuonSorter.h.
References l1ctLayer2EG_cff::id, and m_TrackCands.
|
inline |
return vector of muon candidates
Definition at line 67 of file L1MuDTMuonSorter.h.
References m_TrackCands.
|
private |
Definition at line 77 of file L1MuDTMuonSorter.h.
Referenced by run().
|
private |
Definition at line 78 of file L1MuDTMuonSorter.h.
Referenced by L1MuDTMuonSorter(), numberOfTracks(), print(), reset(), run(), track(), and tracks().