test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
GenJetSort Class Reference

Public Member Functions

bool operator() (const GenJet &a, const GenJet &b)
 
bool operator() (const GenJet &a, const GenJet &b)
 

Detailed Description

Definition at line 16 of file AnalysisRootpleProducer.cc.

Member Function Documentation

bool GenJetSort::operator() ( const GenJet a,
const GenJet b 
)
inline

Definition at line 18 of file AnalysisRootpleProducer.cc.

References reco::LeafCandidate::pt().

18  {
19  return a.pt() > b.pt();
20  }
virtual double pt() const final
transverse momentum
bool GenJetSort::operator() ( const GenJet a,
const GenJet b 
)
inline

Definition at line 20 of file AnalysisRootpleProducerOnlyMC.cc.

References reco::LeafCandidate::pt().

21  {
22  return a.pt() > b.pt();
23  }
virtual double pt() const final
transverse momentum