CMS 3D CMS Logo

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

Public Member Functions

bool operator() (reco::WMuNuCandidate w1, reco::WMuNuCandidate w2) const
 

Detailed Description

Definition at line 49 of file WMuNuProducer.cc.

Member Function Documentation

bool WMuNuProducer::ComparePt::operator() ( reco::WMuNuCandidate  w1,
reco::WMuNuCandidate  w2 
) const
inline

Definition at line 50 of file WMuNuProducer.cc.

References reco::WMuNuCandidate::getMuon(), and reco::LeafCandidate::pt().

50  {
51  double pt1 = w1.getMuon().pt();
52  double pt2 = w2.getMuon().pt();
53  return (pt1> pt2);
54  }
virtual double pt() const
transverse momentum
const reco::Muon & getMuon() const