RecoParticleFlow
PFTracking
plugins
PFConversionProducer.h
Go to the documentation of this file.
1
#ifndef PFConversionProducer_H
2
#define PFConversionProducer_H
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
#include "
FWCore/Framework/interface/MakerMacros.h
"
8
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
9
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
10
#include "
DataFormats/ParticleFlowReco/interface/PFConversion.h
"
11
#include "
DataFormats/ParticleFlowReco/interface/PFConversionFwd.h
"
12
13
class
PFTrackTransformer
;
14
class
PFConversionProducer
:
public
edm::stream::EDProducer
<> {
15
public
:
17
explicit
PFConversionProducer
(
const
edm::ParameterSet
&);
18
20
~PFConversionProducer
()
override
;
21
22
private
:
23
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
24
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
25
27
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
28
30
PFTrackTransformer
*
pfTransformer_
;
31
edm::EDGetTokenT<reco::ConversionCollection>
pfConversionContainer_
;
32
edm::EDGetTokenT<reco::VertexCollection>
vtx_h
;
33
};
34
#endif
PFConversionProducer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PFConversionProducer.cc:174
PFConversionProducer::pfTransformer_
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
Definition:
PFConversionProducer.h:30
PFConversionFwd.h
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< reco::ConversionCollection >
PFConversionProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
Definition:
PFConversionProducer.cc:30
EDProducer.h
MakerMacros.h
PFConversionProducer::PFConversionProducer
PFConversionProducer(const edm::ParameterSet &)
Constructor.
Definition:
PFConversionProducer.cc:19
PFConversionProducer
Definition:
PFConversionProducer.h:14
PFConversion.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
PFConversionProducer::vtx_h
edm::EDGetTokenT< reco::VertexCollection > vtx_h
Definition:
PFConversionProducer.h:32
edm::stream::EDProducer
Definition:
EDProducer.h:38
PFConversionProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PFConversionProducer.cc:166
edm::EventSetup
Definition:
EventSetup.h:57
VertexFwd.h
Frameworkfwd.h
PFConversionProducer::pfConversionContainer_
edm::EDGetTokenT< reco::ConversionCollection > pfConversionContainer_
Definition:
PFConversionProducer.h:31
ParameterSet.h
PFTrackTransformer
Definition:
PFTrackTransformer.h:34
edm::Event
Definition:
Event.h:73
PFConversionProducer::~PFConversionProducer
~PFConversionProducer() override
Destructor.
Definition:
PFConversionProducer.cc:28
Generated for CMSSW Reference Manual by
1.8.16