#include <MicroGMTMatchQualLUT.h>
Public Member Functions | |
int | hashInput (int etaFine, int dEta, int dPhi) const |
int | lookup (int etaFine, int dEta, int dPhi) const override |
int | lookupPacked (int in) const override |
MicroGMTMatchQualFineLUT () | |
MicroGMTMatchQualFineLUT (const std::string &, const double maxDR, const double fEta, const double fEtaCoarse, const double fPhi, cancel_t cancelType) | |
MicroGMTMatchQualFineLUT (l1t::LUT *lut, cancel_t cancelType) | |
void | unHashInput (int input, int &etaFine, int &dEta, int &dPhi) const |
~MicroGMTMatchQualFineLUT () override | |
Public Member Functions inherited from l1t::MicroGMTMatchQualLUT | |
int | getDeltaEtaWidth () const |
int | getDeltaPhiWidth () const |
MicroGMTMatchQualLUT () | |
MicroGMTMatchQualLUT (l1t::LUT *lut) | |
~MicroGMTMatchQualLUT () override | |
Public Member Functions inherited from l1t::MicroGMTLUT | |
int | checkedInput (unsigned in, unsigned maxWidth) const |
void | initialize () |
int | load (const std::string &inFileName) |
MicroGMTLUT () | |
MicroGMTLUT (l1t::LUT *lut) | |
void | save (std::ofstream &output) |
virtual | ~MicroGMTLUT () |
Public Member Functions inherited from l1t::LUT | |
int | data (unsigned int address) const |
bool | empty () const |
LUT () | |
LUT (std::istream &stream) | |
unsigned int | maxSize () const |
unsigned int | nrBitsAddress () const |
unsigned int | nrBitsData () const |
int | read (std::istream &stream) |
void | write (std::ostream &stream) const |
~LUT () | |
Private Attributes | |
int | m_etaFineMask |
double | m_fEtaCoarse |
Additional Inherited Members | |
Public Types inherited from l1t::LUT | |
enum | ReadCodes { SUCCESS = 0, NO_ENTRIES = 1, DUP_ENTRIES = 2, MISS_ENTRIES = 3, MAX_ADDRESS_OUTOFRANGE = 4, NO_HEADER = 5 } |
Protected Attributes inherited from l1t::MicroGMTMatchQualLUT | |
cancel_t | m_cancelType |
int | m_dEtaRedInWidth |
int | m_dEtaRedMask |
int | m_dPhiRedInWidth |
int | m_dPhiRedMask |
double | m_etaScale |
double | m_fEta |
double | m_fPhi |
double | m_maxDR |
double | m_phiScale |
Protected Attributes inherited from l1t::MicroGMTLUT | |
bool | m_initialized |
std::vector< MicroGMTConfiguration::input_t > | m_inputs |
unsigned | m_outWidth |
unsigned | m_totalInWidth |
Definition at line 66 of file MicroGMTMatchQualLUT.h.
|
inline |
Definition at line 68 of file MicroGMTMatchQualLUT.h.
|
explicit |
Definition at line 4 of file MicroGMTMatchQualFineLUT.cc.
References l1t::MicroGMTConfiguration::DELTA_ETA_RED, l1t::MicroGMTConfiguration::DELTA_PHI_RED, l1t::MicroGMTConfiguration::ETA_FINE_BIT, l1ScoutingRun3::ugmt::fEta(), alignmentValidation::fname, l1ScoutingRun3::ugmt::fPhi(), l1t::MicroGMTLUT::initialize(), l1t::MicroGMTLUT::load(), l1t::MicroGMTMatchQualLUT::m_cancelType, l1t::MicroGMTMatchQualLUT::m_dEtaRedInWidth, l1t::MicroGMTMatchQualLUT::m_dEtaRedMask, l1t::MicroGMTMatchQualLUT::m_dPhiRedInWidth, l1t::MicroGMTMatchQualLUT::m_dPhiRedMask, m_etaFineMask, l1t::MicroGMTMatchQualLUT::m_etaScale, l1t::MicroGMTMatchQualLUT::m_fEta, l1t::MicroGMTMatchQualLUT::m_fPhi, l1t::MicroGMTLUT::m_inputs, l1t::MicroGMTMatchQualLUT::m_maxDR, l1t::MicroGMTLUT::m_outWidth, l1t::MicroGMTMatchQualLUT::m_phiScale, l1t::MicroGMTLUT::m_totalInWidth, L1TPhase2MuonOffline_cfi::maxDR, Pi, and AlCaHLTBitMon_QueryRunRegistry::string.
|
explicit |
Definition at line 39 of file MicroGMTMatchQualFineLUT.cc.
References l1t::MicroGMTConfiguration::DELTA_ETA_RED, l1t::MicroGMTConfiguration::DELTA_PHI_RED, l1t::MicroGMTConfiguration::ETA_FINE_BIT, l1t::MicroGMTMatchQualLUT::m_cancelType, l1t::MicroGMTMatchQualLUT::m_dEtaRedInWidth, l1t::MicroGMTMatchQualLUT::m_dEtaRedMask, l1t::MicroGMTMatchQualLUT::m_dPhiRedInWidth, l1t::MicroGMTMatchQualLUT::m_dPhiRedMask, m_etaFineMask, l1t::MicroGMTMatchQualLUT::m_etaScale, l1t::MicroGMTLUT::m_initialized, l1t::MicroGMTLUT::m_inputs, l1t::MicroGMTLUT::m_outWidth, l1t::MicroGMTMatchQualLUT::m_phiScale, l1t::MicroGMTLUT::m_totalInWidth, and Pi.
|
inlineoverride |
Definition at line 76 of file MicroGMTMatchQualLUT.h.
int l1t::MicroGMTMatchQualFineLUT::hashInput | ( | int | etaFine, |
int | dEta, | ||
int | dPhi | ||
) | const |
Definition at line 92 of file MicroGMTMatchQualFineLUT.cc.
References HLTMuonOfflineAnalyzer_cfi::etaFine, and mps_fire::result.
|
overridevirtual |
Implements l1t::MicroGMTMatchQualLUT.
Definition at line 62 of file MicroGMTMatchQualFineLUT.cc.
References data, HLT_2024v11_cff::dEta, HGC3DClusterGenMatchSelector_cfi::dR, HLTMuonOfflineAnalyzer_cfi::etaFine, and mathSSE::sqrt().
|
overridevirtual |
Reimplemented from l1t::MicroGMTLUT.
Definition at line 80 of file MicroGMTMatchQualFineLUT.cc.
References data, HLTMuonOfflineAnalyzer_cfi::etaFine, and recoMuon::in.
void l1t::MicroGMTMatchQualFineLUT::unHashInput | ( | int | input, |
int & | etaFine, | ||
int & | dEta, | ||
int & | dPhi | ||
) | const |
Definition at line 100 of file MicroGMTMatchQualFineLUT.cc.
References HLTMuonOfflineAnalyzer_cfi::etaFine, and input.
|
private |
Definition at line 84 of file MicroGMTMatchQualLUT.h.
Referenced by MicroGMTMatchQualFineLUT().
|
private |
Definition at line 85 of file MicroGMTMatchQualLUT.h.