CMS 3D CMS Logo

List of all members | Public Member Functions
CalibrationTrackSelector::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 45 of file CalibrationTrackSelector.h.

Member Function Documentation

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

Definition at line 46 of file CalibrationTrackSelector.h.

References reco::TrackBase::pt().

46  {
47  return t1->pt()> t2->pt();
48  }
double pt() const
track transverse momentum
Definition: TrackBase.h:654