src
RecoTracker
TrackProducer
plugins
TrackProducer.h
Go to the documentation of this file.
1
#ifndef TrackProducer_h
2
#define TrackProducer_h
3
10
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
11
#include "
RecoTracker/TrackProducer/interface/KfTrackProducerBase.h
"
12
#include "
RecoTracker/TrackProducer/interface/TrackProducerAlgorithm.h
"
13
14
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
15
16
class
TrackProducer
:
public
KfTrackProducerBase
,
public
edm::stream::EDProducer
<> {
17
public
:
19
explicit
TrackProducer
(
const
edm::ParameterSet
& iConfig);
20
22
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
23
25
std::vector<reco::TransientTrack>
getTransient
(
edm::Event
&,
const
edm::EventSetup
&);
26
27
// /// Put produced collections in the event
28
// virtual void putInEvt(edm::Event&,
29
// std::unique_ptr<TrackingRecHitCollection>&,
30
// std::unique_ptr<TrackCollection>&,
31
// std::unique_ptr<reco::TrackExtraCollection>&,
32
// std::unique_ptr<std::vector<Trajectory> >&,
33
// AlgoProductCollection&);
34
35
private
:
36
TrackProducerAlgorithm<reco::Track>
theAlgo
;
37
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd>
theTTopoToken
;
38
};
39
40
#endif
TrackProducer::theAlgo
TrackProducerAlgorithm< reco::Track > theAlgo
Definition:
TrackProducer.h:36
EDProducer.h
TrackProducer::TrackProducer
TrackProducer(const edm::ParameterSet &iConfig)
Constructor.
Definition:
TrackProducer.cc:18
TransientTrack.h
TrackProducerAlgorithm.h
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
TrackProducerAlgorithm< reco::Track >
KfTrackProducerBase.h
edm::EventSetup
Definition:
EventSetup.h:59
TrackProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Implementation of produce method.
Definition:
TrackProducer.cc:46
TrackProducer::getTransient
std::vector< reco::TransientTrack > getTransient(edm::Event &, const edm::EventSetup &)
Get Transient Tracks.
Definition:
TrackProducer.cc:116
edm::stream::EDProducer
Definition:
EDProducer.h:36
TrackProducer::theTTopoToken
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > theTTopoToken
Definition:
TrackProducer.h:37
TrackProducer
Definition:
TrackProducer.h:16
edm::ParameterSet
Definition:
ParameterSet.h:47
KfTrackProducerBase
Definition:
KfTrackProducerBase.h:16
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.14