RecoTracker
TrackProducer
plugins
DAFTrackProducer.h
Go to the documentation of this file.
1
8
#ifndef DAFTrackProducer_h
9
#define DAFTrackProducer_h
10
11
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
12
#include "
RecoTracker/TrackProducer/interface/KfTrackProducerBase.h
"
13
#include "
RecoTracker/TrackProducer/interface/DAFTrackProducerAlgorithm.h
"
14
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
15
#include "
TrackingTools/PatternTools/interface/TrajAnnealing.h
"
16
17
class
DAFTrackProducer
:
public
KfTrackProducerBase
,
public
edm::stream::EDProducer
<> {
18
public
:
19
typedef
std::vector<Trajectory>
TrajectoryCollection
;
20
// typedef std::vector<TrajAnnealing> TrajAnnealingCollection;
21
explicit
DAFTrackProducer
(
const
edm::ParameterSet
& iConfig);
22
23
// Implementation of produce method
24
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
25
26
private
:
27
DAFTrackProducerAlgorithm
theAlgo
;
28
using
TrackProducerBase<reco::Track>::getFromEvt
;
29
void
getFromEvt
(
edm::Event
&,
edm::Handle<TrajTrackAssociationCollection>
&,
reco::BeamSpot
&);
30
void
putInEvtTrajAnn
(
edm::Event
& theEvent,
31
TrajAnnealingCollection
& trajannResults,
32
std::unique_ptr<TrajAnnealingCollection>& selTrajAnn);
33
34
bool
TrajAnnSaving_
;
35
edm::EDGetToken
srcTT_
;
36
};
37
38
#endif
TrajAnnealingCollection
std::vector< TrajAnnealing > TrajAnnealingCollection
Definition:
TrajAnnealing.h:36
DAFTrackProducer::TrajectoryCollection
std::vector< Trajectory > TrajectoryCollection
Definition:
DAFTrackProducer.h:19
EDProducer.h
DAFTrackProducerAlgorithm.h
edm::Handle
Definition:
AssociativeIterator.h:50
DAFTrackProducerAlgorithm
Definition:
DAFTrackProducerAlgorithm.h:34
KfTrackProducerBase
Definition:
KfTrackProducerBase.h:16
DAFTrackProducer::getFromEvt
void getFromEvt(edm::Event &, edm::Handle< TrajTrackAssociationCollection > &, reco::BeamSpot &)
Definition:
DAFTrackProducer.cc:173
KfTrackProducerBase.h
reco::BeamSpot
Definition:
BeamSpot.h:21
TrajAnnealing.h
DAFTrackProducer::DAFTrackProducer
DAFTrackProducer(const edm::ParameterSet &iConfig)
Definition:
DAFTrackProducer.cc:20
edm::ParameterSet
Definition:
ParameterSet.h:47
DAFTrackProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Method where the procduction take place. To be implemented in concrete classes.
Definition:
DAFTrackProducer.cc:44
DAFTrackProducer::srcTT_
edm::EDGetToken srcTT_
Definition:
DAFTrackProducer.h:35
DAFTrackProducer
Definition:
DAFTrackProducer.h:17
edm::stream::EDProducer
Definition:
EDProducer.h:36
edm::EventSetup
Definition:
EventSetup.h:58
edm::EDGetToken
Definition:
EDGetToken.h:35
DAFTrackProducer::TrajAnnSaving_
bool TrajAnnSaving_
Definition:
DAFTrackProducer.h:34
Trajectory.h
DAFTrackProducer::putInEvtTrajAnn
void putInEvtTrajAnn(edm::Event &theEvent, TrajAnnealingCollection &trajannResults, std::unique_ptr< TrajAnnealingCollection > &selTrajAnn)
Definition:
DAFTrackProducer.cc:186
TrackProducerBase
Definition:
TrackProducerBase.h:39
edm::Event
Definition:
Event.h:73
DAFTrackProducer::theAlgo
DAFTrackProducerAlgorithm theAlgo
Definition:
DAFTrackProducer.h:27
Generated for CMSSW Reference Manual by
1.8.16