58 return data((
unsigned)hashInput(checkedInput(dEtaRed, m_dEtaRedInWidth), checkedInput(dPhiRed, m_dPhiRedInWidth)));
60 double dEta = m_fEta * dEtaRed * m_etaScale;
61 double dPhi = m_fPhi * dPhiRed * m_phiScale;
64 int retVal =
dR <= m_maxDR ? 1 : 0;
76 unHashInput(
in, dEtaRed, dPhiRed);
77 return lookup(0, dEtaRed, dPhiRed);
83 result += dEtaRed << m_dPhiRedInWidth;
88 dPhiRed =
input & m_dPhiRedMask;
89 dEtaRed = (
input & m_dEtaRedMask) >> m_dPhiRedInWidth;
int lookupPacked(int in) const override
int lookup(int etaFine, int dEta, int dPhi) const override
int load(const std::string &inFileName)
std::vector< MicroGMTConfiguration::input_t > m_inputs
static std::string const input
MicroGMTMatchQualSimpleLUT()
void unHashInput(int input, int &dEta, int &dPhi) const
int hashInput(int dEta, int dPhi) const
char data[epos_bytes_allocation]