CMS 3D CMS Logo

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

Public Member Functions

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

Detailed Description

Definition at line 317 of file GammaJetAnalysis.h.

Member Function Documentation

bool GammaJetAnalysis::PhotonPairComp::operator() ( const PhotonPair a,
const PhotonPair b 
)
inline

Definition at line 318 of file GammaJetAnalysis.h.

References PhotonPair::photon(), and reco::LeafCandidate::pt().

318  {
319  return ( (a.photon()->pt()) > (b.photon()->pt()) );
320  }
virtual double pt() const
transverse momentum
const reco::Photon * photon(void) const