#include <Associator_TruthMatch.h>
Definition at line 44 of file Associator_TruthMatch.h.
◆ map_type
◆ rmap_type
◆ Associator_TruthMatcher()
| Associator_TruthMatcher::Associator_TruthMatcher |
( |
| ) |
|
|
inline |
◆ ~Associator_TruthMatcher()
| virtual Associator_TruthMatcher::~Associator_TruthMatcher |
( |
| ) |
|
|
inlinevirtual |
◆ clear()
◆ clone()
◆ distance()
◆ match()
| virtual void Associator_TruthMatcher::match |
( |
const std::vector< TIDA::Track * > & | refTracks, |
|
|
const std::vector< TIDA::Track * > & | testTracks ) |
|
inlineoverridevirtual |
Implements TIDA::Associator< TIDA::Track >.
Definition at line 55 of file Associator_TruthMatch.h.
56 {
57
58
59
60 for (
unsigned int i = 0;
i < refTracks.size();
i++) {
61
62
63
64 for (unsigned int j = 0; j < testTracks.size(); j++) {
65
66
67 if (
distance( refTracks[i], testTracks[j] ) < 1. ) {
68
69 mmatched.insert( map_type::value_type(refTracks[i],testTracks[j]));
70 mrevmatched.insert( map_type::value_type(testTracks[j],refTracks[i]));
71 }
72 }
73 }
74
75 return;
76 }
virtual double distance(TIDA::Track *refTrack, TIDA::Track *testTrack)
◆ matched() [1/2]
◆ matched() [2/2]
◆ revmatched() [1/2]
◆ revmatched() [2/2]
◆ size()
◆ mmatched
◆ mname
◆ mrevmatched
The documentation for this class was generated from the following file: