Public Member Functions | |
bool | operator() (reco::TransientTrack a, reco::TransientTrack b) |
Definition at line 49 of file ConversionTrackPairFinder.h.
bool ConversionTrackPairFinder::ByNumOfHits::operator() | ( | reco::TransientTrack | a, | |
reco::TransientTrack | b | |||
) | [inline] |
Definition at line 51 of file ConversionTrackPairFinder.h.
References reco::TransientTrack::normalizedChi2(), and reco::TransientTrack::numberOfValidHits().
00051 { 00052 if (a.numberOfValidHits() == b.numberOfValidHits() ) { 00053 return a.normalizedChi2() < b.normalizedChi2(); 00054 } else { 00055 return a.numberOfValidHits() > b.numberOfValidHits() ; 00056 } 00057 }