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
orderByPt Class Reference

Public Member Functions

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

Detailed Description

Definition at line 7 of file ZgammaMassFilter.cc.

Member Function Documentation

bool orderByPt::operator() ( TLorentzVector const &  a,
TLorentzVector const &  b 
)
inline

Definition at line 9 of file ZgammaMassFilter.cc.

9  {
10  if (a.Pt() == b.Pt() ) {
11  return a.Pt() < b.Pt();
12  } else {
13  return a.Pt() > b.Pt() ;
14  }
15  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121