CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
AlignmentTrackSelector::ComparePt Struct Reference

compare two tracks in pt (used by theNHighestPtTracks) More...

Public Member Functions

bool operator() (const reco::Track *t1, const reco::Track *t2) const
 

Detailed Description

compare two tracks in pt (used by theNHighestPtTracks)

Definition at line 58 of file AlignmentTrackSelector.h.

Member Function Documentation

bool AlignmentTrackSelector::ComparePt::operator() ( const reco::Track t1,
const reco::Track t2 
) const
inline

Definition at line 59 of file AlignmentTrackSelector.h.

References reco::TrackBase::pt().

59  {
60  return t1->pt()> t2->pt();
61  }
double pt() const
track transverse momentum
Definition: TrackBase.h:669