Skip to content

IDTPM: Sort ref->test matches vector by increasing dist

Marco Aparo requested to merge maparo/athena:maparo-main-IDTPM-v2.0.0 into main

Make the returned vector of test tracks matched to a reference sorted with increasing values of a distance parameter. This way, the first element of the matched test vector will always be the best matched track.

  • for the DeltaRMatchingTool: distance = \Delta R(test, reference)
  • for the TrackTruthMatchingTool: distance = 1 - truthMatchingProbability

Related to ATLIDTRKCP-583

FYI @tstreble

Edited by Marco Aparo

Merge request reports

Loading