Public Member Functions | |
bool | operator() (reco::TransientTrack a, reco::TransientTrack b) |
Definition at line 56 of file ConversionTrackPairFinder.h.
bool ConversionTrackPairFinder::ByNumOfHits::operator() | ( | reco::TransientTrack | a, |
reco::TransientTrack | b | ||
) | [inline] |
Definition at line 58 of file ConversionTrackPairFinder.h.
References reco::TransientTrack::normalizedChi2(), and reco::TransientTrack::numberOfValidHits().
{ if (a.numberOfValidHits() == b.numberOfValidHits() ) { return a.normalizedChi2() < b.normalizedChi2(); } else { return a.numberOfValidHits() > b.numberOfValidHits() ; } }