#include <MicroGMTMatchQualLUT.h>
Public Member Functions | |
int | getDeltaEtaWidth () const |
int | getDeltaPhiWidth () const |
int | hashInput (int dEta, int dPhi) const |
int | lookup (int dEta, int dPhi) const |
virtual int | lookupPacked (int in) const |
MicroGMTMatchQualLUT () | |
MicroGMTMatchQualLUT (const std::string &, const double, cancel_t cancelType) | |
void | unHashInput (int input, int &dEta, int &dPhi) const |
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 () | |
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 | |
cancel_t | m_cancelType |
int | m_dEtaRedInWidth |
int | m_dEtaRedMask |
int | m_dPhiRedInWidth |
int | m_dPhiRedMask |
double | m_etaScale |
double | m_maxDR |
double | m_phiScale |
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::MicroGMTLUT | |
bool | m_initialized |
std::vector < MicroGMTConfiguration::input_t > | m_inputs |
unsigned | m_outWidth |
unsigned | m_totalInWidth |
Definition at line 15 of file MicroGMTMatchQualLUT.h.
|
inline |
Definition at line 17 of file MicroGMTMatchQualLUT.h.
|
explicit |
Definition at line 4 of file MicroGMTMatchQualLUT.cc.
References l1t::MicroGMTConfiguration::DELTA_ETA_RED, l1t::MicroGMTConfiguration::DELTA_PHI_RED, l1t::MicroGMTLUT::initialize(), l1t::MicroGMTLUT::load(), m_dEtaRedInWidth, m_dEtaRedMask, m_dPhiRedInWidth, m_dPhiRedMask, m_etaScale, l1t::MicroGMTLUT::m_inputs, l1t::MicroGMTLUT::m_outWidth, m_phiScale, l1t::MicroGMTLUT::m_totalInWidth, Pi, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Definition at line 19 of file MicroGMTMatchQualLUT.h.
|
inline |
Definition at line 26 of file MicroGMTMatchQualLUT.h.
References m_dEtaRedInWidth.
Referenced by l1t::MicroGMTCancelOutUnit::getCoordinateCancelBits().
|
inline |
Definition at line 27 of file MicroGMTMatchQualLUT.h.
References m_dPhiRedInWidth.
Referenced by l1t::MicroGMTCancelOutUnit::getCoordinateCancelBits().
int l1t::MicroGMTMatchQualLUT::hashInput | ( | int | dEta, |
int | dPhi | ||
) | const |
Definition at line 63 of file MicroGMTMatchQualLUT.cc.
References mps_fire::result.
int l1t::MicroGMTMatchQualLUT::lookup | ( | int | dEta, |
int | dPhi | ||
) | const |
Definition at line 26 of file MicroGMTMatchQualLUT.cc.
References data, dPhi(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, and mathSSE::sqrt().
Referenced by l1t::MicroGMTCancelOutUnit::getCoordinateCancelBits().
|
virtual |
Reimplemented from l1t::MicroGMTLUT.
Definition at line 50 of file MicroGMTMatchQualLUT.cc.
References data.
void l1t::MicroGMTMatchQualLUT::unHashInput | ( | int | input, |
int & | dEta, | ||
int & | dPhi | ||
) | const |
Definition at line 73 of file MicroGMTMatchQualLUT.cc.
|
private |
Definition at line 39 of file MicroGMTMatchQualLUT.h.
|
private |
Definition at line 31 of file MicroGMTMatchQualLUT.h.
Referenced by getDeltaEtaWidth(), and MicroGMTMatchQualLUT().
|
private |
Definition at line 29 of file MicroGMTMatchQualLUT.h.
Referenced by MicroGMTMatchQualLUT().
|
private |
Definition at line 32 of file MicroGMTMatchQualLUT.h.
Referenced by getDeltaPhiWidth(), and MicroGMTMatchQualLUT().
|
private |
Definition at line 30 of file MicroGMTMatchQualLUT.h.
Referenced by MicroGMTMatchQualLUT().
|
private |
Definition at line 34 of file MicroGMTMatchQualLUT.h.
Referenced by MicroGMTMatchQualLUT().
|
private |
Definition at line 37 of file MicroGMTMatchQualLUT.h.
|
private |
Definition at line 35 of file MicroGMTMatchQualLUT.h.
Referenced by MicroGMTMatchQualLUT().