ATLAS Offline Software
TruthMatchRatio.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef TRUTHMATCHRATIO_H
12 #define TRUTHMATCHRATIO_H
13 
16 
17 namespace Trk {
18 
19  class TruthMatchRatio final: virtual public IDetailedTrackTruthSimilarity,
21  {
22  public:
23  TruthMatchRatio(const std::string& type, const std::string& name, const IInterface* parent);
24 
31  virtual double trackTruthSimilarity(const DetailedTrackTruth& dtt) const override;
32  };
33 
34 } // end namespace Trk
35 
36 #endif/*TRUTHMATCHRATIO_H*/
IDetailedTrackTruthSimilarity.h
Trk::IDetailedTrackTruthSimilarity
Interface for track-truth match quality estimator tools.
Definition: IDetailedTrackTruthSimilarity.h:28
Trk::CommonTruthMatchWeights
Definition: CommonTruthMatchWeights.h:21
CommonTruthMatchWeights.h
Trk::TruthMatchRatio::TruthMatchRatio
TruthMatchRatio(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TruthMatchRatio.cxx:12
Trk::TruthMatchRatio
Definition: TruthMatchRatio.h:21
Trk::TruthMatchRatio::trackTruthSimilarity
virtual double trackTruthSimilarity(const DetailedTrackTruth &dtt) const override
The match quality returned by this tool is a (weighted) ratio of the number of hits common to the tra...
Definition: TruthMatchRatio.cxx:19
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
DetailedTrackTruth
Definition: DetailedTrackTruth.h:16
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78