12 #ifndef TIDAUTILS_ASSOCIATOR_TRUTHMATCH_H
13 #define TIDAUTILS_ASSOCIATOR_TRUTHMATCH_H
30 Associator_MatcherBase(
"Truth" )
55 virtual void match(
const std::vector<TIDA::Track*>& refTracks,
56 const std::vector<TIDA::Track*>& testTracks)
override {
60 for (
unsigned int i = 0;
i < refTracks.size();
i++) {
64 for (
unsigned int j = 0; j < testTracks.size(); j++) {
67 if (
distance( refTracks[
i], testTracks[j] ) < 1. ) {
69 mmatched.insert( map_type::value_type(refTracks[
i],testTracks[j]));
70 mrevmatched.insert( map_type::value_type(testTracks[j],refTracks[
i]));
92 #endif // TIDAUTILS_ASSOCIATOR_TRUTHMATCH_H