#include <MicroGMTMatchQualLUT.h>
Public Member Functions | |
int | hashInput (int dEta, int dPhi) const |
int | lookup (int etaFine, int dEta, int dPhi) const |
virtual int | lookupPacked (int in) const |
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 |
virtual | ~MicroGMTMatchQualSimpleLUT () |
Public Member Functions inherited from l1t::MicroGMTMatchQualLUT | |
int | getDeltaEtaWidth () const |
int | getDeltaPhiWidth () const |
MicroGMTMatchQualLUT () | |
MicroGMTMatchQualLUT (l1t::LUT *lut) | |
virtual | ~MicroGMTMatchQualLUT () |
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 44 of file MicroGMTMatchQualLUT.h.
|
inline |
Definition at line 46 of file MicroGMTMatchQualLUT.h.
|
explicit |
Definition at line 4 of file MicroGMTMatchQualSimpleLUT.cc.
References l1t::MicroGMTConfiguration::DELTA_ETA_RED, l1t::MicroGMTConfiguration::DELTA_PHI_RED, 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, Pi, and AlCaHLTBitMon_QueryRunRegistry::string.
|
explicit |
Definition at line 32 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.
|
inlinevirtual |
Definition at line 49 of file MicroGMTMatchQualLUT.h.
int l1t::MicroGMTMatchQualSimpleLUT::hashInput | ( | int | dEta, |
int | dPhi | ||
) | const |
Definition at line 83 of file MicroGMTMatchQualSimpleLUT.cc.
References mps_fire::result.
|
virtual |
Implements l1t::MicroGMTMatchQualLUT.
Definition at line 54 of file MicroGMTMatchQualSimpleLUT.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, dPhi(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, and mathSSE::sqrt().
|
virtual |
Reimplemented from l1t::MicroGMTLUT.
Definition at line 70 of file MicroGMTMatchQualSimpleLUT.cc.
References AlCaHLTBitMon_QueryRunRegistry::data.
void l1t::MicroGMTMatchQualSimpleLUT::unHashInput | ( | int | input, |
int & | dEta, | ||
int & | dPhi | ||
) | const |
Definition at line 93 of file MicroGMTMatchQualSimpleLUT.cc.