Main Page
Namespaces
Classes
Package Documentation
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
:
18
20
explicit
TrackProducer
(
const
edm::ParameterSet
& iConfig);
21
23
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
24
26
std::vector<reco::TransientTrack>
getTransient
(
edm::Event
&,
const
edm::EventSetup
&);
27
28
// /// Put produced collections in the event
29
// virtual void putInEvt(edm::Event&,
30
// std::unique_ptr<TrackingRecHitCollection>&,
31
// std::unique_ptr<TrackCollection>&,
32
// std::unique_ptr<reco::TrackExtraCollection>&,
33
// std::unique_ptr<std::vector<Trajectory> >&,
34
// AlgoProductCollection&);
35
36
private
:
37
TrackProducerAlgorithm<reco::Track>
theAlgo
;
38
39
};
40
41
#endif
TrackProducer::theAlgo
TrackProducerAlgorithm< reco::Track > theAlgo
Definition:
TrackProducer.h:37
TrackProducer::TrackProducer
TrackProducer(const edm::ParameterSet &iConfig)
Constructor.
Definition:
TrackProducer.cc:18
TransientTrack.h
TrackProducerAlgorithm.h
EDProducer.h
TrackProducerAlgorithm< reco::Track >
KfTrackProducerBase.h
edm::EventSetup
Definition:
EventSetup.h:48
TrackProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Implementation of produce method.
Definition:
TrackProducer.cc:45
TrackProducer::getTransient
std::vector< reco::TransientTrack > getTransient(edm::Event &, const edm::EventSetup &)
Get Transient Tracks.
Definition:
TrackProducer.cc:96
edm::stream::EDProducer
Definition:
EDProducer.h:38
TrackProducer
Definition:
TrackProducer.h:16
edm::ParameterSet
Definition:
ParameterSet.h:36
KfTrackProducerBase
Definition:
KfTrackProducerBase.h:16
edm::Event
Definition:
Event.h:69
Generated for CMSSW Reference Manual by
1.8.11