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(), CAHitQuadrupletGenerator_cfi::pt1, and CAHitQuadrupletGenerator_cfi::pt2.

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