34 mTopologiesOverThreshold = mDictionary.mCommonMap.size();
39 if (dict !=
nullptr) {
42 mTopologiesOverThreshold = mDictionary.mCommonMap.size();
66 int nBits = nRow * nCol;
68 int ID = mDictionary.mSmallTopologiesLUT[(nCol - 1) * 255 + (
int)patt[0]];
74 auto ret = mDictionary.mCommonMap.find(hash);
75 if (ret != mDictionary.mCommonMap.end()) {
79 if (!mDictionary.mGroupMap.empty()) {
81 auto res = mDictionary.mGroupMap.find(
index);
Definition of the ClusterTopology class.
Definition of the ITSMFT compact cluster.
Definition of the LookUp class for its3.
ClassImp(o2::its3::LookUp)
int findGroupID(int nRow, int nCol, const unsigned char patt[itsmft::ClusterPattern::MaxPatternBytes]) const
void loadDictionary(std::string fileName)
static int groupFinder(int nRow, int nCol)
void setDictionary(const TopologyDictionary *dict)
static constexpr int ColClassSpan
Column span of the classes of rare topologies.
static constexpr int MaxNumberOfRowClasses
Maximum number of row classes for the groups of rare topologies.
static constexpr int NumberOfRareGroups
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.
int readFromFile(const std::string &fileName)
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