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
PFElectronExtraEqual Class Reference

#include <PFElectronExtraEqual.h>

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.

10 :ref_(gsfTrackRef) {;}
reco::GsfTrackRef ref_
PFElectronExtraEqual::~PFElectronExtraEqual ( )
inline

Definition at line 11 of file PFElectronExtraEqual.h.

11 {;}

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

12  {
13  return (ref_==extra.gsfTrackRef());
14  }
reco::GsfTrackRef gsfTrackRef() const
return a reference to the corresponding GSF track
reco::GsfTrackRef ref_

Member Data Documentation

reco::GsfTrackRef PFElectronExtraEqual::ref_
private

Definition at line 16 of file PFElectronExtraEqual.h.

Referenced by operator()().