Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
TrackingTools
TrackRefitter
interface
TrackTransformer.h
Go to the documentation of this file.
1
#ifndef TrackingTools_TrackRefitter_TrackTransformer_H
2
#define TrackingTools_TrackRefitter_TrackTransformer_H
3
18
#include "
TrackingTools/TrackRefitter/interface/TrackTransformerBase.h
"
19
20
#include "
TrackingTools/TrackRefitter/interface/RefitDirection.h
"
21
22
#include "
FWCore/Framework/interface/ESHandle.h
"
23
24
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
25
#include "
MagneticField/Engine/interface/MagneticField.h
"
26
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
27
28
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
29
30
namespace
edm {
class
ParameterSet
;
class
EventSetup
;}
31
namespace
reco
{
class
TransientTrack;}
32
33
class
TrajectoryFitter
;
34
class
TrajectorySmoother
;
35
class
Propagator
;
36
class
TransientTrackingRecHitBuilder
;
37
class
Trajectory
;
38
39
class
TrackTransformer
:
public
TrackTransformerBase
{
40
41
public
:
42
44
TrackTransformer
(
const
edm::ParameterSet
&);
45
47
virtual
~TrackTransformer
();
48
49
// Operations
50
52
virtual
std::vector<Trajectory>
transform
(
const
reco::Track
&)
const
;
53
55
std::vector<Trajectory>
transform
(
const
reco::TrackRef
&)
const
;
56
58
std::vector<Trajectory>
transform
(
const
reco::TransientTrack
,
59
TransientTrackingRecHit::ConstRecHitContainer
)
const
;
60
62
const
MagneticField
*
magneticField
()
const
{
return
&*
theMGField
;}
63
65
edm::ESHandle<GlobalTrackingGeometry>
trackingGeometry
()
const
{
return
theTrackingGeometry
;}
66
68
virtual
void
setServices
(
const
edm::EventSetup
&);
69
71
edm::ESHandle<TrajectoryFitter>
refitter
()
const
{
return
theFitter
;}
72
74
edm::ESHandle<TrajectorySmoother>
smoother
()
const
{
return
theSmoother
;}
75
76
TransientTrackingRecHit::ConstRecHitContainer
77
getTransientRecHits
(
const
reco::TransientTrack
& track)
const
;
78
79
protected
:
80
81
private
:
82
83
std::string
thePropagatorName
;
84
edm::ESHandle<Propagator>
propagator
()
const
{
return
thePropagator
;}
85
edm::ESHandle<Propagator>
thePropagator
;
86
87
unsigned
long
long
theCacheId_TC
;
88
unsigned
long
long
theCacheId_GTG
;
89
unsigned
long
long
theCacheId_MG
;
90
unsigned
long
long
theCacheId_TRH
;
91
92
bool
theRPCInTheFit
;
93
94
bool
theDoPredictionsOnly
;
95
RefitDirection
theRefitDirection
;
96
97
edm::ESHandle<GlobalTrackingGeometry>
theTrackingGeometry
;
98
edm::ESHandle<MagneticField>
theMGField
;
99
100
std::string
theFitterName
;
101
edm::ESHandle<TrajectoryFitter>
theFitter
;
102
103
std::string
theSmootherName
;
104
edm::ESHandle<TrajectorySmoother>
theSmoother
;
105
106
RefitDirection::GeometricalDirection
107
checkRecHitsOrdering
(
TransientTrackingRecHit::ConstRecHitContainer
&)
const
;
108
109
// void reorder(TransientTrackingRecHit::ConstRecHitContainer& recHits) const;
110
111
std::string
theTrackerRecHitBuilderName
;
112
edm::ESHandle<TransientTrackingRecHitBuilder>
theTrackerRecHitBuilder
;
113
114
std::string
theMuonRecHitBuilderName
;
115
edm::ESHandle<TransientTrackingRecHitBuilder>
theMuonRecHitBuilder
;
116
};
117
#endif
118
TrackTransformer::smoother
edm::ESHandle< TrajectorySmoother > smoother() const
the smoother used to smooth the trajectory which came from the refitting step
Definition:
TrackTransformer.h:74
TrackTransformer::magneticField
const MagneticField * magneticField() const
the magnetic field
Definition:
TrackTransformer.h:62
TrackTransformer::theFitter
edm::ESHandle< TrajectoryFitter > theFitter
Definition:
TrackTransformer.h:101
TrackTransformer
Definition:
TrackTransformer.h:39
TrackTransformer::theFitterName
std::string theFitterName
Definition:
TrackTransformer.h:100
TrackTransformer::checkRecHitsOrdering
RefitDirection::GeometricalDirection checkRecHitsOrdering(TransientTrackingRecHit::ConstRecHitContainer &) const
Definition:
TrackTransformer.cc:124
ParameterSet
Definition:
Functions.h:16
TrackTransformer::theRPCInTheFit
bool theRPCInTheFit
Definition:
TrackTransformer.h:92
TrackTransformer::theSmoother
edm::ESHandle< TrajectorySmoother > theSmoother
Definition:
TrackTransformer.h:104
RefitDirection
Definition:
RefitDirection.h:15
MagneticField
Definition:
MagneticField.h:18
TrajectorySmoother
Definition:
TrajectorySmoother.h:11
TrackTransformer::thePropagatorName
std::string thePropagatorName
Definition:
TrackTransformer.h:83
TrackFwd.h
TrackTransformer::theSmootherName
std::string theSmootherName
Definition:
TrackTransformer.h:103
TransientTrackingRecHitBuilder
Definition:
TransientTrackingRecHitBuilder.h:6
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
TrackTransformer::theCacheId_TRH
unsigned long long theCacheId_TRH
Definition:
TrackTransformer.h:90
Trajectory
Definition:
Trajectory.h:38
TrackTransformerBase
Definition:
TrackTransformerBase.h:17
RefitDirection::GeometricalDirection
GeometricalDirection
Definition:
RefitDirection.h:19
MagneticField.h
TrackTransformer::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition:
TrackTransformer.h:97
TransientTrackingRecHit.h
TrackTransformerBase.h
TrackTransformer::thePropagator
edm::ESHandle< Propagator > thePropagator
Definition:
TrackTransformer.h:85
TrackTransformer::theCacheId_MG
unsigned long long theCacheId_MG
Definition:
TrackTransformer.h:89
TrackTransformer::getTransientRecHits
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const
Definition:
TrackTransformer.cc:101
EventSetup
TrackTransformer::propagator
edm::ESHandle< Propagator > propagator() const
Definition:
TrackTransformer.h:84
TrackTransformer::theMuonRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
Definition:
TrackTransformer.h:115
TrackTransformer::theCacheId_TC
unsigned long long theCacheId_TC
Definition:
TrackTransformer.h:87
edm::ESHandle< GlobalTrackingGeometry >
TrackTransformer::theMGField
edm::ESHandle< MagneticField > theMGField
Definition:
TrackTransformer.h:98
RefitDirection.h
ESHandle.h
TrackTransformer::theRefitDirection
RefitDirection theRefitDirection
Definition:
TrackTransformer.h:95
TrackTransformer::refitter
edm::ESHandle< TrajectoryFitter > refitter() const
the refitter used to refit the reco::Track
Definition:
TrackTransformer.h:71
edm::EventSetup
Definition:
EventSetup.h:44
Propagator
Definition:
Propagator.h:38
TrackTransformer::setServices
virtual void setServices(const edm::EventSetup &)
set the services needed by the TrackTransformer
Definition:
TrackTransformer.cc:52
TrackTransformer::theCacheId_GTG
unsigned long long theCacheId_GTG
Definition:
TrackTransformer.h:88
TrackTransformer::theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
Definition:
TrackTransformer.h:112
reco::TransientTrack
Definition:
TransientTrack.h:21
TransientTrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition:
TransientTrackingRecHit.h:30
TrajectoryFitter
Definition:
TrajectoryFitter.h:16
reco::Track
Definition:
Track.h:27
TrackTransformer::transform
virtual std::vector< Trajectory > transform(const reco::Track &) const
Convert a reco::Track into Trajectory.
Definition:
TrackTransformer.cc:156
TrackTransformer::~TrackTransformer
virtual ~TrackTransformer()
Destructor.
Definition:
TrackTransformer.cc:49
TrackTransformer::theDoPredictionsOnly
bool theDoPredictionsOnly
Definition:
TrackTransformer.h:94
TrackTransformer::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition:
TrackTransformer.h:65
edm::ParameterSet
Definition:
ParameterSet.h:35
TrackTransformer::theTrackerRecHitBuilderName
std::string theTrackerRecHitBuilderName
Definition:
TrackTransformer.h:111
GlobalTrackingGeometry.h
TrackTransformer::theMuonRecHitBuilderName
std::string theMuonRecHitBuilderName
Definition:
TrackTransformer.h:114
edm::Ref< TrackCollection >
TrackTransformer::TrackTransformer
TrackTransformer(const edm::ParameterSet &)
Constructor.
Definition:
TrackTransformer.cc:29
Generated for CMSSW Reference Manual by
1.8.5