CMS 3D CMS Logo

Public Member Functions | Private Attributes

PFBlockElementSCEqual Class Reference

#include <PFBlockElementSCEqual.h>

List of all members.

Public Member Functions

bool operator() (const reco::PFBlockElement *el)
 PFBlockElementSCEqual (reco::SuperClusterRef scRef)
 ~PFBlockElementSCEqual ()

Private Attributes

reco::SuperClusterRef ref_

Detailed Description

Definition at line 8 of file PFBlockElementSCEqual.h.


Constructor & Destructor Documentation

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.

{;}

Member Function Documentation

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_);
    }

Member Data Documentation

Definition at line 16 of file PFBlockElementSCEqual.h.

Referenced by operator()().