7 const double fEtaCoarse,
65 return data((
unsigned)hashInput(
66 checkedInput(
etaFine, 1), checkedInput(dEtaRed, m_dEtaRedInWidth), checkedInput(dPhiRed, m_dPhiRedInWidth)));
68 double dEta = m_fEtaCoarse * dEtaRed * m_etaScale;
70 dEta = m_fEta * dEtaRed * m_etaScale;
72 double dPhi = m_fPhi * dPhiRed * m_phiScale;
75 int retVal =
dR <= m_maxDR ? 1 : 0;
88 unHashInput(
in,
etaFine, dEtaRed, dPhiRed);
89 return lookup(
etaFine, dEtaRed, dPhiRed);
95 result += dEtaRed << m_dPhiRedInWidth;
101 dPhiRed =
input & m_dPhiRedMask;
102 dEtaRed = (
input & m_dEtaRedMask) >> m_dPhiRedInWidth;
103 etaFine = (
input & m_etaFineMask) >> (m_dEtaRedInWidth + m_dPhiRedInWidth);
int load(const std::string &inFileName)
void unHashInput(int input, int &etaFine, int &dEta, int &dPhi) const
std::vector< MicroGMTConfiguration::input_t > m_inputs
static std::string const input
int lookupPacked(int in) const override
int hashInput(int etaFine, int dEta, int dPhi) const
int lookup(int etaFine, int dEta, int dPhi) const override
MicroGMTMatchQualFineLUT()
char data[epos_bytes_allocation]