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
12
class
PFTrackTransformer
;
13
class
LightPFTrackProducer
:
public
edm::stream::EDProducer
<> {
14
public
:
16
explicit
LightPFTrackProducer
(
const
edm::ParameterSet
&);
17
19
~LightPFTrackProducer
()
override
;
20
21
private
:
22
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
23
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
24
26
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
27
29
PFTrackTransformer
*
pfTransformer_
;
30
std::vector<edm::EDGetTokenT<reco::TrackCollection> >
tracksContainers_
;
32
bool
useQuality_
;
33
reco::TrackBase::TrackQuality
trackQuality_
;
34
};
35
#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:33
LightPFTrackProducer::tracksContainers_
std::vector< edm::EDGetTokenT< reco::TrackCollection > > tracksContainers_
Definition:
LightPFTrackProducer.h:30
LightPFTrackProducer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition:
LightPFTrackProducer.cc:61
LightPFTrackProducer
Definition:
LightPFTrackProducer.h:13
MakerMacros.h
Track.h
TrackFwd.h
LightPFTrackProducer::useQuality_
bool useQuality_
TRACK QUALITY.
Definition:
LightPFTrackProducer.h:32
LightPFTrackProducer::pfTransformer_
PFTrackTransformer * pfTransformer_
PFTrackTransformer.
Definition:
LightPFTrackProducer.h:29
LightPFTrackProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
Definition:
LightPFTrackProducer.cc:28
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
LightPFTrackProducer::LightPFTrackProducer
LightPFTrackProducer(const edm::ParameterSet &)
Constructor.
Definition:
LightPFTrackProducer.cc:14
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
LightPFTrackProducer::~LightPFTrackProducer
~LightPFTrackProducer() override
Destructor.
Definition:
LightPFTrackProducer.cc:26
Frameworkfwd.h
LightPFTrackProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
LightPFTrackProducer.cc:53
ParameterSet.h
PFTrackTransformer
Definition:
PFTrackTransformer.h:34
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16