CMS 3D CMS Logo

ConversionTrackPairFinder::ByNumOfHits Class Reference

List of all members.

Public Member Functions

bool operator() (reco::TransientTrack a, reco::TransientTrack b)


Detailed Description

Definition at line 49 of file ConversionTrackPairFinder.h.


Member Function Documentation

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   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:16:49 2009 for CMSSW by  doxygen 1.5.4