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 44 of file WMuNuProducer.cc.

Member Function Documentation

◆ operator()()

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

Definition at line 45 of file WMuNuProducer.cc.

45  {
46  double pt1 = w1.getMuon().pt();
47  double pt2 = w2.getMuon().pt();
48  return (pt1 > pt2);
49  }

References reco::WMuNuCandidate::getMuon(), reco::LeafCandidate::pt(), HLT_FULL_cff::pt1, HLT_FULL_cff::pt2, and w2.

w2
common ppss p3p6s2 common epss epspn46 common const1 w2
Definition: inclppp.h:1
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
reco::WMuNuCandidate::getMuon
const reco::Muon & getMuon() const
Definition: WMuNuCandidate.h:38
HLT_FULL_cff.pt1
pt1
Definition: HLT_FULL_cff.py:9870
HLT_FULL_cff.pt2
pt2
Definition: HLT_FULL_cff.py:9872