27 using TopoInfo = std::unordered_map<long unsigned, itsmft::TopologyInfo>;
28 using TopoStat = std::map<long unsigned, itsmft::TopoStat>;
29 using TopoFreq = std::vector<std::pair<unsigned long, unsigned long>>;
34 void setNCommon(
unsigned int nCommon,
bool IB);
42 [[nodiscard]]
unsigned int getTotClusters(
bool IB)
const {
return (IB) ? mTotClustersIB : mTotClustersOB; }
43 [[nodiscard]]
unsigned int getNotInGroups(
bool IB)
const {
return (IB) ? mNCommonTopologiesIB : mNCommonTopologiesOB; }
49 void accountTopologyImpl(
const itsmft::ClusterTopology& cluster, TopoInfo& tinfo, TopoStat& tstat,
unsigned int& ntot,
float sigmaX,
float sigmaZ,
float dX,
float dZ);
50 void setNCommonImpl(
unsigned int ncom, TopoFreq& tfreq, TopoStat& tstat,
unsigned int& ncommon,
unsigned int ntot);
51 void setThresholdImpl(
double thr, TopoFreq& tfreq, TopoInfo& tinfo, TopoStat& tstat,
unsigned int& ncommon,
double& freqthres,
unsigned int ntot);
52 void setThresholdCumulativeImpl(
double cumulative, TopoFreq& tfreq,
unsigned int& ncommon,
double& freqthres,
unsigned int ntot);
53 void groupRareTopologiesImpl(TopoFreq& tfreq, TopoInfo& tinfo, TopoStat& tstat,
unsigned int& ncommon,
double& freqthres,
TopologyDictionaryData&
data,
unsigned int ntot);
56 unsigned int mTotClustersIB{0};
57 unsigned int mTotClustersOB{0};
58 unsigned int mNCommonTopologiesIB{0};
59 unsigned int mNCommonTopologiesOB{0};
60 double mFrequencyThresholdIB{0.};
61 double mFrequencyThresholdOB{0.};
64 TopoStat mTopologyMapIB;
65 TopoStat mTopologyMapOB;
66 TopoFreq mTopologyFrequencyIB;
67 TopoFreq mTopologyFrequencyOB;
69 ClassDefNV(BuildTopologyDictionary, 3);