CMS 3D CMS Logo

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)
 

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_

Member Function Documentation

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

Definition at line 11 of file PFElectronExtraEqual.h.

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

11 { return (ref_ == extra.gsfTrackRef()); }
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 14 of file PFElectronExtraEqual.h.

Referenced by operator()().