1 #include "../interface/MicroGMTRankPtQualLUT.h"
40 return data((
unsigned)hashInput(checkedInput(pt, m_ptInWidth), checkedInput(qual, m_qualInWidth)));
44 result = pt * m_ptFactor + qual * m_qualFactor;
53 return data((
unsigned)in);
58 unHashInput(in, pt, qual);
59 return lookup(pt, qual);
68 result += qual << m_ptInWidth;
75 pt = input & m_ptMask;
76 qual = (input & m_qualMask) >> m_ptInWidth;
int load(const std::string &inFileName)
virtual int lookupPacked(int in) const
std::vector< MicroGMTConfiguration::input_t > m_inputs
static std::string const input
int hashInput(int pt, int qual) const
int lookup(int pt, int qual) const
char data[epos_bytes_allocation]
void unHashInput(int input, int &pt, int &qual) const