#include <PhotonEqual.h>
Public Member Functions | |
bool | operator() (const reco::Photon &photon) |
PhotonEqual (const reco::SuperClusterRef &scRef) | |
~PhotonEqual () | |
Private Attributes | |
reco::SuperClusterRef | ref_ |
Definition at line 9 of file PhotonEqual.h.
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.
{;}
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_); }
reco::SuperClusterRef PhotonEqual::ref_ [private] |
Definition at line 17 of file PhotonEqual.h.
Referenced by operator()().