CMS 3D CMS Logo

Public Member Functions

WMuNuProducer::ComparePt Struct Reference

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 47 of file WMuNuProducer.cc.


Member Function Documentation

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

Definition at line 48 of file WMuNuProducer.cc.

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

                                                                                 {
                  double pt1 = w1.getMuon().pt();
                  double pt2 = w2.getMuon().pt();
                  return (pt1> pt2); 
            }