CMS 3D CMS Logo

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

#include <PhotonEqual.h>

Public Member Functions

bool operator() (const reco::Photon &photon)
 
 PhotonEqual (const reco::SuperClusterRef &scRef)
 
 ~PhotonEqual ()
 

Private Attributes

reco::SuperClusterRef ref_
 

Detailed Description

Definition at line 9 of file PhotonEqual.h.

Constructor & Destructor Documentation

PhotonEqual::PhotonEqual ( const reco::SuperClusterRef scRef)
inline

Definition at line 11 of file PhotonEqual.h.

11 :ref_(scRef) {;}
reco::SuperClusterRef ref_
Definition: PhotonEqual.h:17
PhotonEqual::~PhotonEqual ( )
inline

Definition at line 12 of file PhotonEqual.h.

12 {;}

Member Function Documentation

bool PhotonEqual::operator() ( const reco::Photon photon)
inline

Definition at line 13 of file PhotonEqual.h.

References ref_, and reco::Photon::superCluster().

13  {
14  return (photon.superCluster()==ref_);
15  }
reco::SuperClusterRef superCluster() const
Ref to SuperCluster.
Definition: Photon.cc:59
reco::SuperClusterRef ref_
Definition: PhotonEqual.h:17

Member Data Documentation

reco::SuperClusterRef PhotonEqual::ref_
private

Definition at line 17 of file PhotonEqual.h.

Referenced by operator()().