RecoTracker
CkfPattern
plugins
CkfTrajectoryMaker.h
Go to the documentation of this file.
1
#ifndef CkfTrajectoryMaker_h
2
#define CkfTrajectoryMaker_h
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/ESHandle.h
"
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
11
#include "
TrackingTools/TrajectoryCleaning/interface/TrajectoryCleaner.h
"
12
13
#include "
MagneticField/Engine/interface/MagneticField.h
"
14
#include "
TrackingTools/DetLayers/interface/NavigationSchool.h
"
15
#include "
RecoTracker/TkDetLayers/interface/GeometricSearchTracker.h
"
16
17
#include "
RecoTracker/CkfPattern/interface/RedundantSeedCleaner.h
"
18
#include "
RecoTracker/CkfPattern/interface/CkfTrackCandidateMakerBase.h
"
19
#include "
DataFormats/TrackCandidate/interface/TrackCandidateCollection.h
"
20
#include "
DataFormats/TrackReco/interface/SeedStopInfo.h
"
21
22
class
TransientInitialStateEstimator
;
23
24
namespace
cms
{
25
class
dso_internal
CkfTrajectoryMaker
:
public
edm::stream::EDProducer
<>,
public
CkfTrackCandidateMakerBase
{
26
public
:
27
typedef
std::vector<Trajectory>
TrajectoryCollection
;
28
29
explicit
CkfTrajectoryMaker
(
const
edm::ParameterSet
& conf) :
CkfTrackCandidateMakerBase
(conf, consumesCollector()) {
30
theTrackCandidateOutput = conf.
getParameter
<
bool
>(
"trackCandidateAlso"
);
31
theTrajectoryOutput =
true
;
32
if
(theTrackCandidateOutput)
33
produces<TrackCandidateCollection>();
34
produces<TrajectoryCollection>();
35
produces<std::vector<SeedStopInfo> >();
36
}
37
38
~CkfTrajectoryMaker
()
override
{ ; }
39
40
void
beginRun
(
edm::Run
const
&
run
,
edm::EventSetup
const
& es)
override
{ beginRunBase(
run
, es); }
41
42
void
produce
(
edm::Event
&
e
,
const
edm::EventSetup
& es)
override
{ produceBase(
e
, es); }
43
};
44
}
// namespace cms
45
46
#endif
cms::CkfTrajectoryMaker::produce
void produce(edm::Event &e, const edm::EventSetup &es) override
Definition:
CkfTrajectoryMaker.h:42
CkfTrackCandidateMakerBase.h
TrackCandidateCollection.h
ESHandle.h
TrajectoryCleaner.h
edm::Run
Definition:
Run.h:45
cms::CkfTrajectoryMaker
Definition:
CkfTrajectoryMaker.h:25
EDProducer.h
cms::CkfTrackCandidateMakerBase
Definition:
CkfTrackCandidateMakerBase.h:34
GeometricSearchTracker.h
RedundantSeedCleaner.h
cms::CkfTrajectoryMaker::CkfTrajectoryMaker
CkfTrajectoryMaker(const edm::ParameterSet &conf)
Definition:
CkfTrajectoryMaker.h:29
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
dso_internal
#define dso_internal
Definition:
Visibility.h:13
cms::CkfTrajectoryMaker::TrajectoryCollection
std::vector< Trajectory > TrajectoryCollection
Definition:
CkfTrajectoryMaker.h:27
TransientInitialStateEstimator
Definition:
TransientInitialStateEstimator.h:23
cms::CkfTrajectoryMaker::~CkfTrajectoryMaker
~CkfTrajectoryMaker() override
Definition:
CkfTrajectoryMaker.h:38
edm::stream::EDProducer
Definition:
EDProducer.h:36
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
SeedStopInfo.h
EventSetup.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
cms::CkfTrajectoryMaker::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &es) override
Definition:
CkfTrajectoryMaker.h:40
ParameterSet.h
NavigationSchool.h
edm::Event
Definition:
Event.h:73
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16