CMS 3D CMS Logo

List of all members | Public Member Functions
AlignmentMuonSelector::ComparePt Struct Reference

compare two muons in pt (used by theNHighestPtMuons) More...

Public Member Functions

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

Detailed Description

compare two muons in pt (used by theNHighestPtMuons)

Definition at line 52 of file AlignmentMuonSelector.h.

Member Function Documentation

bool AlignmentMuonSelector::ComparePt::operator() ( const reco::Muon t1,
const reco::Muon t2 
) const
inline

Definition at line 53 of file AlignmentMuonSelector.h.

References reco::LeafCandidate::pt().

53  {
54  return t1->pt()> t2->pt();
55  }
virtual double pt() const final
transverse momentum