CMS 3D CMS Logo

Public Member Functions | Private Attributes

GsfElectronEqual Class Reference

#include <GsfElectronEqual.h>

List of all members.

Public Member Functions

 GsfElectronEqual (const reco::GsfTrackRef &gsfRef)
bool operator() (const reco::GsfElectron &gsfelectron)
 ~GsfElectronEqual ()

Private Attributes

reco::GsfTrackRef ref_

Detailed Description

Definition at line 9 of file GsfElectronEqual.h.


Constructor & Destructor Documentation

GsfElectronEqual::GsfElectronEqual ( const reco::GsfTrackRef gsfRef) [inline]

Definition at line 11 of file GsfElectronEqual.h.

:ref_(gsfRef) {;}
GsfElectronEqual::~GsfElectronEqual ( ) [inline]

Definition at line 12 of file GsfElectronEqual.h.

{;}

Member Function Documentation

bool GsfElectronEqual::operator() ( const reco::GsfElectron gsfelectron) [inline]

Definition at line 13 of file GsfElectronEqual.h.

References reco::GsfElectron::gsfTrack(), and ref_.

                                                                 {
      return (gsfelectron.gsfTrack()==ref_);
    }

Member Data Documentation

Definition at line 17 of file GsfElectronEqual.h.

Referenced by operator()().