function object to sort track matches based on quality
More...
function object to sort track matches based on quality
Definition at line 83 of file EMTrackMatchBuilder.h.
◆ TrackMatchSorter()
EMTrackMatchBuilder::TrackMatchSorter::TrackMatchSorter |
( |
double |
distance = 0.0 | ) |
|
|
inline |
◆ operator()()
Definition at line 437 of file EMTrackMatchBuilder.cxx.
441 if (match1.hasPix != match2.hasPix) {
442 return match1.hasPix;
445 if (std::abs(match1.dR - match2.dR) <
m_distance) {
447 if (std::abs(match1.seconddR - match2.seconddR) >
449 return match1.seconddR < match2.seconddR;
451 if ((match1.hitsScore != match2.hitsScore)) {
452 return match1.hitsScore > match2.hitsScore;
456 return match1.dR < match2.dR;
◆ m_distance
double EMTrackMatchBuilder::TrackMatchSorter::m_distance |
|
private |
The documentation for this class was generated from the following files: