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 439 of file EMTrackMatchBuilder.cxx.
442{
443 if (
match1.hasPix != match2.hasPix) {
445 }
446
448
449 if (std::abs(
match1.seconddR - match2.seconddR) >
451 return match1.seconddR < match2.seconddR;
452 }
453 if ((
match1.hitsScore != match2.hitsScore)) {
454 return match1.hitsScore > match2.hitsScore;
455 }
456 }
457
458 return match1.dR < match2.dR;
459}
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: