CMS 3D CMS Logo

Public Member Functions | Private Attributes

PFElectronExtraEqual Class Reference

#include <PFElectronExtraEqual.h>

List of all members.

Public Member Functions

bool operator() (const reco::PFCandidateElectronExtra &extra)
 PFElectronExtraEqual (const reco::GsfTrackRef &gsfTrackRef)
 ~PFElectronExtraEqual ()

Private Attributes

reco::GsfTrackRef ref_

Detailed Description

Definition at line 8 of file PFElectronExtraEqual.h.


Constructor & Destructor Documentation

PFElectronExtraEqual::PFElectronExtraEqual ( const reco::GsfTrackRef gsfTrackRef) [inline]

Definition at line 10 of file PFElectronExtraEqual.h.

:ref_(gsfTrackRef) {;}
PFElectronExtraEqual::~PFElectronExtraEqual ( ) [inline]

Definition at line 11 of file PFElectronExtraEqual.h.

{;}

Member Function Documentation

bool PFElectronExtraEqual::operator() ( const reco::PFCandidateElectronExtra extra) [inline]

Definition at line 12 of file PFElectronExtraEqual.h.

References reco::PFCandidateElectronExtra::gsfTrackRef(), and ref_.

                                                                        {
      return (ref_==extra.gsfTrackRef());
    }

Member Data Documentation

Definition at line 16 of file PFElectronExtraEqual.h.

Referenced by operator()().