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::PFElectronExtraEqual ( const reco::GsfTrackRef gsfTrackRef)
inline

Definition at line 10 of file PFElectronExtraEqual.h.

10 : ref_(gsfTrackRef) { ; }

Member Function Documentation

◆ operator()()

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

Definition at line 11 of file PFElectronExtraEqual.h.

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

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

Member Data Documentation

◆ ref_

reco::GsfTrackRef PFElectronExtraEqual::ref_
private

Definition at line 14 of file PFElectronExtraEqual.h.

Referenced by operator()().

PFElectronExtraEqual::ref_
reco::GsfTrackRef ref_
Definition: PFElectronExtraEqual.h:14
reco::PFCandidateElectronExtra::gsfTrackRef
reco::GsfTrackRef gsfTrackRef() const
return a reference to the corresponding GSF track
Definition: PFCandidateElectronExtra.h:63