PhysicsTools
TagAndProbe
interface
ElectronMatchedCandidateProducer.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_TagAndProbe_ElectronMatchedCandidateProducer_h
2
#define PhysicsTools_TagAndProbe_ElectronMatchedCandidateProducer_h
3
4
// system include files
5
#include <memory>
6
7
// user include files
8
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
9
#include "
FWCore/Framework/interface/EDProducer.h
"
10
#include "
FWCore/Framework/interface/Event.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
#include "
DataFormats/EgammaCandidates/interface/GsfElectron.h
"
14
15
// forward declarations
16
17
class
ElectronMatchedCandidateProducer
:
public
edm::EDProducer
{
18
public
:
19
explicit
ElectronMatchedCandidateProducer
(
const
edm::ParameterSet
&);
20
~ElectronMatchedCandidateProducer
()
override
;
21
22
private
:
23
void
beginJob
()
override
;
24
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
25
void
endJob
()
override
;
26
27
// ----------member data ---------------------------
28
29
edm::EDGetTokenT<edm::View<reco::GsfElectron>
>
electronCollectionToken_
;
30
edm::EDGetTokenT<edm::View<reco::Candidate>
>
scCollectionToken_
;
31
double
delRMatchingCut_
;
32
};
33
34
#endif
EDProducer.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
ElectronMatchedCandidateProducer::beginJob
void beginJob() override
Definition:
ElectronMatchedCandidateProducer.cc:66
ElectronMatchedCandidateProducer::scCollectionToken_
edm::EDGetTokenT< edm::View< reco::Candidate > > scCollectionToken_
Definition:
ElectronMatchedCandidateProducer.h:30
ElectronMatchedCandidateProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
ElectronMatchedCandidateProducer.cc:27
GsfElectron.h
ElectronMatchedCandidateProducer::electronCollectionToken_
edm::EDGetTokenT< edm::View< reco::GsfElectron > > electronCollectionToken_
Definition:
ElectronMatchedCandidateProducer.h:29
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ElectronMatchedCandidateProducer
Definition:
ElectronMatchedCandidateProducer.h:17
edm::EventSetup
Definition:
EventSetup.h:57
Frameworkfwd.h
ElectronMatchedCandidateProducer::endJob
void endJob() override
Definition:
ElectronMatchedCandidateProducer.cc:68
edm::EDProducer
Definition:
EDProducer.h:35
ElectronMatchedCandidateProducer::ElectronMatchedCandidateProducer
ElectronMatchedCandidateProducer(const edm::ParameterSet &)
Definition:
ElectronMatchedCandidateProducer.cc:7
ParameterSet.h
ElectronMatchedCandidateProducer::delRMatchingCut_
double delRMatchingCut_
Definition:
ElectronMatchedCandidateProducer.h:31
edm::Event
Definition:
Event.h:73
ElectronMatchedCandidateProducer::~ElectronMatchedCandidateProducer
~ElectronMatchedCandidateProducer() override
Definition:
ElectronMatchedCandidateProducer.cc:19
Generated for CMSSW Reference Manual by
1.8.16