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

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

Definition at line 45 of file WMuNuProducer.cc.

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

45  {
46  double pt1 = w1.getMuon().pt();
47  double pt2 = w2.getMuon().pt();
48  return (pt1 > pt2);
49  }
double pt() const final
transverse momentum
const reco::Muon & getMuon() const