RecoParticleFlow
PFTracking
interface
LightPFTrackProducer.h
Go to the documentation of this file.
1
#ifndef LightPFTrackProducer_H
2
#define LightPFTrackProducer_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/TrackReco/interface/Track.h
"
10
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
11
#include "
MagneticField/Engine/interface/MagneticField.h
"
12
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
13
14
class
PFTrackTransformer
;
15
class
LightPFTrackProducer
:
public
edm::stream::EDProducer
<> {
16
public
:
18
explicit
LightPFTrackProducer
(
const
edm::ParameterSet
&);
19
21
~LightPFTrackProducer
()
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::TrackCollection> >
tracksContainers_
;
33
34
const
edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>
magneticFieldToken_
;
36
bool
useQuality_
;
37
reco::TrackBase::TrackQuality
trackQuality_
;
38
};
39
#endif
edm::Run
Definition:
Run.h:45
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition:
TrackBase.h:150
EDProducer.h
LightPFTrackProducer::trackQuality_
reco::TrackBase::TrackQuality trackQuality_
Definition:
LightPFTrackProducer.h:37
LightPFTrackProducer::tracksContainers_
std::vector< edm::EDGetTokenT< reco::TrackCollection > > tracksContainers_
Definition:
LightPFTrackProducer.h:32
LightPFTrackProducer::magneticFieldToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
Definition:
LightPFTrackProducer.h:34
LightPFTrackProducer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition:
LightPFTrackProducer.cc:59
LightPFTrackProducer
Definition:
LightPFTrackProducer.h:15
MakerMacros.h
Track.h
TrackFwd.h
LightPFTrackProducer::useQuality_
bool useQuality_
TRACK QUALITY.
Definition:
LightPFTrackProducer.h:36
IdealMagneticFieldRecord.h
LightPFTrackProducer::pfTransformer_
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
Definition:
LightPFTrackProducer.h:31
LightPFTrackProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
Definition:
LightPFTrackProducer.cc:27
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
LightPFTrackProducer::LightPFTrackProducer
LightPFTrackProducer(const edm::ParameterSet &)
Constructor.
Definition:
LightPFTrackProducer.cc:12
edm::stream::EDProducer
Definition:
EDProducer.h:38
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
LightPFTrackProducer::~LightPFTrackProducer
~LightPFTrackProducer() override
Destructor.
Definition:
LightPFTrackProducer.cc:25
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
Frameworkfwd.h
LightPFTrackProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
LightPFTrackProducer.cc:52
ParameterSet.h
PFTrackTransformer
Definition:
PFTrackTransformer.h:34
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16