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

#include <PFElectronExtraEqual.h>

Public Member Functions

bool operator() (const reco::PFCandidateElectronExtra &extra)
 
 PFElectronExtraKfEqual (const reco::TrackRef &trackRef)
 
 ~PFElectronExtraKfEqual ()
 

Private Attributes

reco::TrackRef ref_
 

Detailed Description

Definition at line 19 of file PFElectronExtraEqual.h.

Constructor & Destructor Documentation

PFElectronExtraKfEqual::PFElectronExtraKfEqual ( const reco::TrackRef trackRef)
inline

Definition at line 21 of file PFElectronExtraEqual.h.

21 :ref_(trackRef) {;}
PFElectronExtraKfEqual::~PFElectronExtraKfEqual ( )
inline

Definition at line 22 of file PFElectronExtraEqual.h.

22 {;}

Member Function Documentation

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

Definition at line 23 of file PFElectronExtraEqual.h.

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

23  {
24  return (ref_==extra.kfTrackRef());
25  }
reco::TrackRef kfTrackRef() const
return a reference to the corresponding KF track

Member Data Documentation

reco::TrackRef PFElectronExtraKfEqual::ref_
private

Definition at line 27 of file PFElectronExtraEqual.h.

Referenced by operator()().