#include <MicroGMTMatchQualLUT.h>
Public Member Functions | |
int | hashInput (int dEta, int dPhi) const |
int | lookup (int etaFine, int dEta, int dPhi) const override |
int | lookupPacked (int in) const override |
MicroGMTMatchQualSimpleLUT () | |
MicroGMTMatchQualSimpleLUT (const std::string &, const double maxDR, const double fEta, const double fPhi, cancel_t cancelType) | |
MicroGMTMatchQualSimpleLUT (l1t::LUT *lut, cancel_t cancelType) | |
void | unHashInput (int input, int &dEta, int &dPhi) const |
~MicroGMTMatchQualSimpleLUT () 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 () | |
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 51 of file MicroGMTMatchQualLUT.h.
|
inline |
Definition at line 53 of file MicroGMTMatchQualLUT.h.
|
explicit |
Definition at line 4 of file MicroGMTMatchQualSimpleLUT.cc.
References l1t::MicroGMTConfiguration::DELTA_ETA_RED, l1t::MicroGMTConfiguration::DELTA_PHI_RED, alignmentValidation::fname, 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, 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, jets_cff::maxDR, Pi, and AlCaHLTBitMon_QueryRunRegistry::string.
|
explicit |
Definition at line 33 of file MicroGMTMatchQualSimpleLUT.cc.
References l1t::MicroGMTConfiguration::DELTA_ETA_RED, l1t::MicroGMTConfiguration::DELTA_PHI_RED, l1t::MicroGMTMatchQualLUT::m_cancelType, l1t::MicroGMTMatchQualLUT::m_dEtaRedInWidth, l1t::MicroGMTMatchQualLUT::m_dEtaRedMask, l1t::MicroGMTMatchQualLUT::m_dPhiRedInWidth, l1t::MicroGMTMatchQualLUT::m_dPhiRedMask, 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 57 of file MicroGMTMatchQualLUT.h.
int l1t::MicroGMTMatchQualSimpleLUT::hashInput | ( | int | dEta, |
int | dPhi | ||
) | const |
|
overridevirtual |
Implements l1t::MicroGMTMatchQualLUT.
Definition at line 54 of file MicroGMTMatchQualSimpleLUT.cc.
References data, HLT_FULL_cff::dEta, HLT_FULL_cff::dPhi, HGC3DClusterGenMatchSelector_cfi::dR, and mathSSE::sqrt().
|
overridevirtual |
Reimplemented from l1t::MicroGMTLUT.
Definition at line 69 of file MicroGMTMatchQualSimpleLUT.cc.
References data, and recoMuon::in.
void l1t::MicroGMTMatchQualSimpleLUT::unHashInput | ( | int | input, |
int & | dEta, | ||
int & | dPhi | ||
) | const |