1 #include "../interface/MicroGMTRankPtQualLUT.h"
26 return data((
unsigned)hashInput(checkedInput(pt, m_ptInWidth), checkedInput(qual, m_qualInWidth)));
30 result = pt * m_ptFactor + qual * m_qualFactor;
39 return data((
unsigned)in);
44 unHashInput(in, pt, qual);
45 return lookup(pt, qual);
54 result += qual << m_ptInWidth;
61 pt = input & m_ptMask;
62 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