#include <PFBlockElementSCEqual.h>
Public Member Functions | |
bool | operator() (const reco::PFBlockElement *el) |
PFBlockElementSCEqual (reco::SuperClusterRef scRef) | |
~PFBlockElementSCEqual () | |
Private Attributes | |
reco::SuperClusterRef | ref_ |
Definition at line 8 of file PFBlockElementSCEqual.h.
PFBlockElementSCEqual::PFBlockElementSCEqual | ( | reco::SuperClusterRef | scRef | ) | [inline] |
Definition at line 10 of file PFBlockElementSCEqual.h.
:ref_(scRef) {;}
PFBlockElementSCEqual::~PFBlockElementSCEqual | ( | ) | [inline] |
Definition at line 11 of file PFBlockElementSCEqual.h.
{;}
bool PFBlockElementSCEqual::operator() | ( | const reco::PFBlockElement * | el | ) | [inline] |
Definition at line 12 of file PFBlockElementSCEqual.h.
References ref_, reco::PFBlockElement::SC, and reco::PFBlockElement::type().
{ return (el->type()==reco::PFBlockElement::SC && (dynamic_cast<const reco::PFBlockElementSuperCluster*>(el))->superClusterRef()==ref_); }
Definition at line 16 of file PFBlockElementSCEqual.h.
Referenced by operator()().