15 declareInterface<IDetailedTrackTruthSimilarity>(
this);
30 double denom = prd_track + prd_truth - prd_common;
32 return (denom>0)? prd_common/denom : 0.;
A struture to keep per-subdetector numbers of hits for truth matching.
CommonTruthMatchWeights(const std::string &type, const std::string &name, const IInterface *parent)
std::vector< double > m_subDetWeights
TruthMatchTanimoto(const std::string &type, const std::string &name, const IInterface *parent)
virtual double trackTruthSimilarity(const DetailedTrackTruth &dtt) const override final
Tanimoto distance between sets A and B is.
Ensure that the ATLAS eigen extensions are properly loaded.