CMS 3D CMS Logo

PFElectronExtraEqual.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFProducer_PFElectronExtraEqual
2 #define RecoParticleFlow_PFProducer_PFElectronExtraEqual
3 
7 
9 public:
10  PFElectronExtraEqual(const reco::GsfTrackRef& gsfTrackRef) : ref_(gsfTrackRef) { ; }
11  inline bool operator()(const reco::PFCandidateElectronExtra& extra) { return (ref_ == extra.gsfTrackRef()); }
12 
13 private:
15 };
16 
17 #endif
reco::GsfTrackRef gsfTrackRef() const
return a reference to the corresponding GSF track
PFElectronExtraEqual(const reco::GsfTrackRef &gsfTrackRef)
bool operator()(const reco::PFCandidateElectronExtra &extra)
reco::GsfTrackRef ref_