test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
NuclearVertexBuilder::cmpTracks Class Reference

Public Member Functions

bool operator() (const reco::TrackRef &a, const reco::TrackRef &b)
 

Detailed Description

Definition at line 61 of file NuclearVertexBuilder.h.

Member Function Documentation

bool NuclearVertexBuilder::cmpTracks::operator() ( const reco::TrackRef a,
const reco::TrackRef b 
)
inline

Definition at line 63 of file NuclearVertexBuilder.h.

63  {
64  if( a->numberOfValidHits() != b->numberOfValidHits()) return (a->numberOfValidHits()> b->numberOfValidHits());
65  else return (a->normalizedChi2()<b->normalizedChi2());
66  }