CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
GsfElectronEqual Class Reference

#include <GsfElectronEqual.h>

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.

11 :ref_(gsfRef) {;}
reco::GsfTrackRef ref_
GsfElectronEqual::~GsfElectronEqual ( )
inline

Definition at line 12 of file GsfElectronEqual.h.

12 {;}

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_.

13  {
14  return (gsfelectron.gsfTrack()==ref_);
15  }
reco::GsfTrackRef ref_
virtual GsfTrackRef gsfTrack() const
reference to a GsfTrack
Definition: GsfElectron.h:169

Member Data Documentation

reco::GsfTrackRef GsfElectronEqual::ref_
private

Definition at line 17 of file GsfElectronEqual.h.

Referenced by operator()().