Main Page
Namespaces
Classes
Package Documentation
RecoParticleFlow
PFProducer
interface
PFElectronExtraEqual.h
Go to the documentation of this file.
1
#ifndef RecoParticleFlow_PFProducer_PFElectronExtraEqual
2
#define RecoParticleFlow_PFProducer_PFElectronExtraEqual
3
4
#include "
DataFormats/GsfTrackReco/interface/GsfTrackFwd.h
"
5
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
6
#include "
DataFormats/ParticleFlowCandidate/interface/PFCandidateElectronExtra.h
"
7
8
class
PFElectronExtraEqual
{
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
:
14
reco::GsfTrackRef
ref_
;
15
};
16
17
#endif
reco::PFCandidateElectronExtra::gsfTrackRef
reco::GsfTrackRef gsfTrackRef() const
return a reference to the corresponding GSF track
Definition:
PFCandidateElectronExtra.h:63
PFCandidateElectronExtra.h
reco::PFCandidateElectronExtra
Definition:
PFCandidateElectronExtra.h:16
edm::Ref< GsfTrackCollection >
TrackFwd.h
PFElectronExtraEqual
Definition:
PFElectronExtraEqual.h:8
PFElectronExtraEqual::PFElectronExtraEqual
PFElectronExtraEqual(const reco::GsfTrackRef &gsfTrackRef)
Definition:
PFElectronExtraEqual.h:10
PFElectronExtraEqual::operator()
bool operator()(const reco::PFCandidateElectronExtra &extra)
Definition:
PFElectronExtraEqual.h:11
GsfTrackFwd.h
PFElectronExtraEqual::ref_
reco::GsfTrackRef ref_
Definition:
PFElectronExtraEqual.h:14
Generated for CMSSW Reference Manual by
1.8.11