CMS 3D CMS Logo

Public Member Functions

NuclearVertexBuilder::cmpTracks Class Reference

List of all members.

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.

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