RecoParticleFlow
PFTracking
interface
PFTrackProducer.h
Go to the documentation of this file.
1
#ifndef PFTrackProducer_H
2
#define PFTrackProducer_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 "
DataFormats/GsfTrackReco/interface/GsfTrackFwd.h
"
12
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
13
#include "
DataFormats/VertexReco/interface/VertexFwd.h
"
14
#include "
RecoParticleFlow/PFTracking/interface/PFTrackTransformer.h
"
15
16
#include <memory>
17
#include <vector>
18
20
26
class
Trajectory
;
27
28
class
PFTrackProducer
:
public
edm::stream::EDProducer
<> {
29
public
:
31
explicit
PFTrackProducer
(
const
edm::ParameterSet
&);
32
33
private
:
34
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
35
void
endRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
36
38
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
39
41
std::unique_ptr<PFTrackTransformer>
pfTransformer_
;
42
std::vector<edm::EDGetTokenT<reco::TrackCollection>>
tracksContainers_
;
43
std::vector<edm::EDGetTokenT<std::vector<Trajectory>>>
trajContainers_
;
44
edm::EDGetTokenT<reco::GsfTrackCollection>
gsfTrackLabel_
;
45
edm::EDGetTokenT<reco::MuonCollection>
muonColl_
;
46
edm::EDGetTokenT<reco::VertexCollection>
vtx_h
;
48
bool
useQuality_
;
49
reco::TrackBase::TrackQuality
trackQuality_
;
50
bool
trajinev_
;
51
bool
gsfinev_
;
52
};
53
#endif
PFTrackProducer::muonColl_
edm::EDGetTokenT< reco::MuonCollection > muonColl_
Definition:
PFTrackProducer.h:45
PFTrackProducer::pfTransformer_
std::unique_ptr< PFTrackTransformer > pfTransformer_
PFTrackTransformer.
Definition:
PFTrackProducer.h:41
PFTrackProducer::gsfTrackLabel_
edm::EDGetTokenT< reco::GsfTrackCollection > gsfTrackLabel_
Definition:
PFTrackProducer.h:44
edm::Run
Definition:
Run.h:45
PFTrackProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Produce the PFRecTrack collection.
Definition:
PFTrackProducer.cc:53
edm::EDGetTokenT< reco::GsfTrackCollection >
PFTrackProducer
Definition:
PFTrackProducer.h:28
PFTrackProducer::tracksContainers_
std::vector< edm::EDGetTokenT< reco::TrackCollection > > tracksContainers_
Definition:
PFTrackProducer.h:42
PFTrackProducer::trajinev_
bool trajinev_
Definition:
PFTrackProducer.h:50
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition:
TrackBase.h:150
EDProducer.h
PFTrackTransformer.h
PFTrackProducer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PFTrackProducer.cc:213
MakerMacros.h
Track.h
TrackFwd.h
MuonFwd.h
PFTrackProducer::PFTrackProducer
PFTrackProducer(const edm::ParameterSet &)
Constructor.
Definition:
PFTrackProducer.cc:23
PFTrackProducer::trajContainers_
std::vector< edm::EDGetTokenT< std::vector< Trajectory > > > trajContainers_
Definition:
PFTrackProducer.h:43
edm::ParameterSet
Definition:
ParameterSet.h:36
PFTrackProducer::useQuality_
bool useQuality_
TRACK QUALITY.
Definition:
PFTrackProducer.h:48
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
PFTrackProducer::trackQuality_
reco::TrackBase::TrackQuality trackQuality_
Definition:
PFTrackProducer.h:49
VertexFwd.h
GsfTrackFwd.h
Trajectory
Definition:
Trajectory.h:38
Frameworkfwd.h
PFTrackProducer::vtx_h
edm::EDGetTokenT< reco::VertexCollection > vtx_h
Definition:
PFTrackProducer.h:46
PFTrackProducer::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
PFTrackProducer.cc:204
ParameterSet.h
edm::Event
Definition:
Event.h:73
PFTrackProducer::gsfinev_
bool gsfinev_
Definition:
PFTrackProducer.h:51
Generated for CMSSW Reference Manual by
1.8.16