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
#include "
MagneticField/Engine/interface/MagneticField.h
"
13
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
14
#include "
TrackingTools/TransientTrack/interface/TransientTrackBuilder.h
"
15
#include "
TrackingTools/Records/interface/TransientTrackRecord.h
"
16
17
class
PFTrackTransformer
;
18
class
PFConversionProducer
:
public
edm::stream::EDProducer
<> {
19
public
:
21
explicit
PFConversionProducer
(
const
edm::ParameterSet
&);
22
24
~PFConversionProducer
()
override
;
25
26
private
:
27
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
28
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
29
31
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
32
34
PFTrackTransformer
*
pfTransformer_
;
35
edm::EDGetTokenT<reco::ConversionCollection>
pfConversionContainer_
;
36
edm::EDGetTokenT<reco::VertexCollection>
vtx_h
;
37
38
const
edm::ESGetToken<TransientTrackBuilder, TransientTrackRecord>
transientTrackToken_
;
39
const
edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>
magneticFieldToken_
;
40
};
41
#endif
PFConversionProducer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PFConversionProducer.cc:171
PFConversionProducer::pfTransformer_
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
Definition:
PFConversionProducer.h:34
PFConversionFwd.h
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< reco::ConversionCollection >
PFConversionProducer::magneticFieldToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
Definition:
PFConversionProducer.h:39
PFConversionProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
Definition:
PFConversionProducer.cc:29
EDProducer.h
MakerMacros.h
PFConversionProducer::PFConversionProducer
PFConversionProducer(const edm::ParameterSet &)
Constructor.
Definition:
PFConversionProducer.cc:15
PFConversionProducer
Definition:
PFConversionProducer.h:18
IdealMagneticFieldRecord.h
PFConversion.h
TransientTrackBuilder.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
PFConversionProducer::vtx_h
edm::EDGetTokenT< reco::VertexCollection > vtx_h
Definition:
PFConversionProducer.h:36
edm::stream::EDProducer
Definition:
EDProducer.h:38
MagneticField.h
PFConversionProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PFConversionProducer.cc:164
edm::EventSetup
Definition:
EventSetup.h:58
TransientTrackRecord.h
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord >
PFConversionProducer::transientTrackToken_
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > transientTrackToken_
Definition:
PFConversionProducer.h:38
VertexFwd.h
Frameworkfwd.h
PFConversionProducer::pfConversionContainer_
edm::EDGetTokenT< reco::ConversionCollection > pfConversionContainer_
Definition:
PFConversionProducer.h:35
ParameterSet.h
PFTrackTransformer
Definition:
PFTrackTransformer.h:34
edm::Event
Definition:
Event.h:73
PFConversionProducer::~PFConversionProducer
~PFConversionProducer() override
Destructor.
Definition:
PFConversionProducer.cc:27
Generated for CMSSW Reference Manual by
1.8.16