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.
440{
441 if (
match1.hasPix != match2.hasPix) {
443 }
444
446
447 if (std::abs(
match1.seconddR - match2.seconddR) >
449 return match1.seconddR < match2.seconddR;
450 }
451 if ((
match1.hitsScore != match2.hitsScore)) {
452 return match1.hitsScore > match2.hitsScore;
453 }
454 }
455
456 return match1.dR < match2.dR;
457}
bool match1(const ClassName &pattern, bool topLevel, match_t &matches) const
Match this expression against a pattern.
◆ m_distance
| double EMTrackMatchBuilder::TrackMatchSorter::m_distance |
|
private |
The documentation for this class was generated from the following files: