CMS 3D CMS Logo

Public Member Functions | Private Attributes

PhotonEqual Class Reference

#include <PhotonEqual.h>

List of all members.

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.

:ref_(scRef) {;}
PhotonEqual::~PhotonEqual ( ) [inline]

Definition at line 12 of file PhotonEqual.h.

{;}

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().

                                                       {
      return (photon.superCluster()==ref_);
    }

Member Data Documentation

Definition at line 17 of file PhotonEqual.h.

Referenced by operator()().