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
};
38
39
#endif
TrackProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Implementation of produce method.
Definition:
TrackProducer.cc:44
TrackProducer::getTransient
std::vector< reco::TransientTrack > getTransient(edm::Event &, const edm::EventSetup &)
Get Transient Tracks.
Definition:
TrackProducer.cc:115
EDProducer.h
TransientTrack.h
KfTrackProducerBase
Definition:
KfTrackProducerBase.h:16
KfTrackProducerBase.h
TrackProducer::TrackProducer
TrackProducer(const edm::ParameterSet &iConfig)
Constructor.
Definition:
TrackProducer.cc:18
edm::ParameterSet
Definition:
ParameterSet.h:47
TrackProducerAlgorithm< reco::Track >
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
TrackProducer
Definition:
TrackProducer.h:16
TrackProducer::theAlgo
TrackProducerAlgorithm< reco::Track > theAlgo
Definition:
TrackProducer.h:36
TrackProducerAlgorithm.h
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16