CMS 3D CMS Logo

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(), reco::LeafCandidate::pt(), hiDetachedQuadStep_cff::pt1, and hiDetachedQuadStep_cff::pt2.

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