39 mTopologiesOverThreshold = mDictionary.mCommonMap.size();
47 mTopologiesOverThreshold = mDictionary.mCommonMap.size();
71 int nBits = nRow * nCol;
73 int ID = mDictionary.mSmallTopologiesLUT[(nCol - 1) * 255 + (
int)patt[0]];
79 auto ret = mDictionary.mCommonMap.find(hash);
80 if (ret != mDictionary.mCommonMap.end()) {
84 if (!mDictionary.mGroupMap.empty()) {
86 auto res = mDictionary.mGroupMap.find(
index);
Definition of the ITSMFT compact cluster.
Definition of the LookUp class.
ClassImp(o2::itsmft::LookUp)
static constexpr int MaxPatternBytes
static unsigned long getCompleteHash(int nRow, int nCol, const unsigned char patt[ClusterPattern::MaxPatternBytes])
Compute the complete hash as defined for mHash.
static constexpr unsigned short InvalidPatternID
void setDictionary(const TopologyDictionary *dict)
int findGroupID(int nRow, int nCol, const unsigned char patt[ClusterPattern::MaxPatternBytes]) const
static int groupFinder(int nRow, int nCol)
void loadDictionary(std::string fileName)
static constexpr int NumberOfRareGroups
static constexpr int ColClassSpan
Column span of the classes of rare topologies.
int readFromFile(const std::string &fileName)
static constexpr int MaxNumberOfRowClasses
Maximum number of row classes for the groups of rare topologies.
static constexpr int MaxNumberOfColClasses
Maximum number of col classes for the groups of rare topologies.
static constexpr int RowClassSpan
Row span of the classes of rare topologies.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...