RecoParticleFlow
PFTracking
plugins
PFV0Producer.h
Go to the documentation of this file.
1
#ifndef PFV0Producer_H
2
#define PFV0Producer_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/ParticleFlowReco/interface/PFV0Fwd.h
"
10
#include "
DataFormats/Candidate/interface/VertexCompositeCandidate.h
"
11
#include "
MagneticField/Engine/interface/MagneticField.h
"
12
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
13
14
class
PFTrackTransformer
;
15
class
PFV0Producer
:
public
edm::stream::EDProducer
<> {
16
public
:
18
explicit
PFV0Producer
(
const
edm::ParameterSet
&);
19
21
~PFV0Producer
()
override
;
22
23
private
:
24
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
25
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
26
28
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
29
31
PFTrackTransformer
*
pfTransformer_
;
32
std::vector<edm::EDGetTokenT<reco::VertexCompositeCandidateCollection> >
V0list_
;
33
34
const
edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>
magneticFieldToken_
;
35
};
36
#endif
edm::Run
Definition:
Run.h:45
PFV0Fwd.h
EDProducer.h
PFV0Producer
Definition:
PFV0Producer.h:15
MakerMacros.h
PFV0Producer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PFV0Producer.cc:68
VertexCompositeCandidate.h
IdealMagneticFieldRecord.h
PFV0Producer::pfTransformer_
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
Definition:
PFV0Producer.h:31
PFV0Producer::PFV0Producer
PFV0Producer(const edm::ParameterSet &)
Constructor.
Definition:
PFV0Producer.cc:13
edm::ParameterSet
Definition:
ParameterSet.h:47
PFV0Producer::~PFV0Producer
~PFV0Producer() override
Destructor.
Definition:
PFV0Producer.cc:24
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
PFV0Producer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PFV0Producer.cc:75
Frameworkfwd.h
PFV0Producer::V0list_
std::vector< edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > > V0list_
Definition:
PFV0Producer.h:32
PFV0Producer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
Definition:
PFV0Producer.cc:26
ParameterSet.h
PFTrackTransformer
Definition:
PFTrackTransformer.h:34
edm::Event
Definition:
Event.h:73
PFV0Producer::magneticFieldToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
Definition:
PFV0Producer.h:34
Generated for CMSSW Reference Manual by
1.8.16