CMS 3D CMS Logo

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

Public Member Functions

bool operator() (const Candidate &c1, const Candidate &c2) const
 
bool operator() (const Candidate &c1, const Candidate &c2) const
 

Detailed Description

Definition at line 77 of file ExoticaDQM.cc.

Member Function Documentation

bool SortCandByDecreasingPt::operator() ( const Candidate c1,
const Candidate c2 
) const
inline

Definition at line 78 of file ExoticaDQM.cc.

References reco::Candidate::pt().

78  {
79  return c1.pt() > c2.pt();
80  }
virtual float pt() const =0
transverse momentum
bool SortCandByDecreasingPt::operator() ( const Candidate c1,
const Candidate c2 
) const
inline

Definition at line 95 of file HiggsDQM.cc.

References reco::Candidate::pt().

95  {
96  return c1.pt() > c2.pt();
97  }
virtual float pt() const =0
transverse momentum