Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:01:43

0001 #ifndef RecoParticleFlow_PFProducer_PFElectronExtraEqual
0002 #define RecoParticleFlow_PFProducer_PFElectronExtraEqual
0003 
0004 #include "DataFormats/GsfTrackReco/interface/GsfTrackFwd.h"
0005 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0006 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateElectronExtra.h"
0007 
0008 class PFElectronExtraEqual {
0009 public:
0010   PFElectronExtraEqual(const reco::GsfTrackRef& gsfTrackRef) : ref_(gsfTrackRef) { ; }
0011   inline bool operator()(const reco::PFCandidateElectronExtra& extra) { return (ref_ == extra.gsfTrackRef()); }
0012 
0013 private:
0014   reco::GsfTrackRef ref_;
0015 };
0016 
0017 #endif