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
16
#include "
TrackingTools/TrackRefitter/interface/TrackTransformerBase.h
"
17
18
#include "
TrackingTools/TrackRefitter/interface/RefitDirection.h
"
19
20
#include "
FWCore/Framework/interface/ESHandle.h
"
21
22
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
23
#include "
MagneticField/Engine/interface/MagneticField.h
"
24
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
25
26
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
27
28
namespace
edm {
class
ParameterSet
;
class
EventSetup
;}
29
namespace
reco
{
class
TransientTrack;}
30
31
class
TrajectoryFitter
;
32
class
TrajectorySmoother
;
33
class
Propagator
;
34
class
TransientTrackingRecHitBuilder
;
35
class
Trajectory
;
36
37
class
TrackTransformer
:
public
TrackTransformerBase
{
38
39
public
:
40
42
TrackTransformer
(
const
edm::ParameterSet
&);
43
45
virtual
~TrackTransformer
();
46
47
// Operations
48
50
virtual
std::vector<Trajectory>
transform
(
const
reco::Track
&)
const
;
51
53
std::vector<Trajectory>
transform
(
const
reco::TrackRef
&)
const
;
54
56
std::vector<Trajectory>
transform
(
const
reco::TransientTrack
&,
57
const
TransientTrackingRecHit::ConstRecHitContainer
&)
const
;
58
60
const
MagneticField
*
magneticField
()
const
{
return
&*
theMGField
;}
61
63
edm::ESHandle<GlobalTrackingGeometry>
trackingGeometry
()
const
{
return
theTrackingGeometry
;}
64
66
virtual
void
setServices
(
const
edm::EventSetup
&);
67
69
edm::ESHandle<TrajectoryFitter>
refitter
()
const
{
return
theFitter
;}
70
72
edm::ESHandle<TrajectorySmoother>
smoother
()
const
{
return
theSmoother
;}
73
74
TransientTrackingRecHit::ConstRecHitContainer
75
getTransientRecHits
(
const
reco::TransientTrack
& track)
const
;
76
77
protected
:
78
79
private
:
80
81
std::string
thePropagatorName
;
82
edm::ESHandle<Propagator>
propagator
()
const
{
return
thePropagator
;}
83
edm::ESHandle<Propagator>
thePropagator
;
84
85
unsigned
long
long
theCacheId_TC
;
86
unsigned
long
long
theCacheId_GTG
;
87
unsigned
long
long
theCacheId_MG
;
88
unsigned
long
long
theCacheId_TRH
;
89
90
bool
theRPCInTheFit
;
91
92
bool
theDoPredictionsOnly
;
93
RefitDirection
theRefitDirection
;
94
95
edm::ESHandle<GlobalTrackingGeometry>
theTrackingGeometry
;
96
edm::ESHandle<MagneticField>
theMGField
;
97
98
std::string
theFitterName
;
99
edm::ESHandle<TrajectoryFitter>
theFitter
;
100
101
std::string
theSmootherName
;
102
edm::ESHandle<TrajectorySmoother>
theSmoother
;
103
104
RefitDirection::GeometricalDirection
105
checkRecHitsOrdering
(
TransientTrackingRecHit::ConstRecHitContainer
&)
const
;
106
107
// void reorder(TransientTrackingRecHit::ConstRecHitContainer& recHits) const;
108
109
std::string
theTrackerRecHitBuilderName
;
110
edm::ESHandle<TransientTrackingRecHitBuilder>
theTrackerRecHitBuilder
;
111
112
std::string
theMuonRecHitBuilderName
;
113
edm::ESHandle<TransientTrackingRecHitBuilder>
theMuonRecHitBuilder
;
114
};
115
#endif
116
TrackTransformer::smoother
edm::ESHandle< TrajectorySmoother > smoother() const
the smoother used to smooth the trajectory which came from the refitting step
Definition:
TrackTransformer.h:72
TrackTransformer::magneticField
const MagneticField * magneticField() const
the magnetic field
Definition:
TrackTransformer.h:60
TrackTransformer::theFitter
edm::ESHandle< TrajectoryFitter > theFitter
Definition:
TrackTransformer.h:99
TrackTransformer
Definition:
TrackTransformer.h:37
TrackTransformer::theFitterName
std::string theFitterName
Definition:
TrackTransformer.h:98
TrackTransformer::checkRecHitsOrdering
RefitDirection::GeometricalDirection checkRecHitsOrdering(TransientTrackingRecHit::ConstRecHitContainer &) const
Definition:
TrackTransformer.cc:124
ParameterSet
Definition:
Functions.h:16
TrackTransformer::theRPCInTheFit
bool theRPCInTheFit
Definition:
TrackTransformer.h:90
TrackTransformer::theSmoother
edm::ESHandle< TrajectorySmoother > theSmoother
Definition:
TrackTransformer.h:102
RefitDirection
Definition:
RefitDirection.h:13
MagneticField
Definition:
MagneticField.h:17
TrajectorySmoother
Definition:
TrajectorySmoother.h:11
TrackTransformer::thePropagatorName
std::string thePropagatorName
Definition:
TrackTransformer.h:81
TrackFwd.h
TrackTransformer::theSmootherName
std::string theSmootherName
Definition:
TrackTransformer.h:101
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:88
Trajectory
Definition:
Trajectory.h:38
TrackTransformerBase
Definition:
TrackTransformerBase.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
RefitDirection::GeometricalDirection
GeometricalDirection
Definition:
RefitDirection.h:17
MagneticField.h
TrackTransformer::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition:
TrackTransformer.h:95
TransientTrackingRecHit.h
TrackTransformerBase.h
TrackTransformer::thePropagator
edm::ESHandle< Propagator > thePropagator
Definition:
TrackTransformer.h:83
TrackTransformer::theCacheId_MG
unsigned long long theCacheId_MG
Definition:
TrackTransformer.h:87
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:82
TrackTransformer::theMuonRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
Definition:
TrackTransformer.h:113
TrackTransformer::theCacheId_TC
unsigned long long theCacheId_TC
Definition:
TrackTransformer.h:85
edm::ESHandle< GlobalTrackingGeometry >
TrackTransformer::theMGField
edm::ESHandle< MagneticField > theMGField
Definition:
TrackTransformer.h:96
RefitDirection.h
ESHandle.h
TrackTransformer::theRefitDirection
RefitDirection theRefitDirection
Definition:
TrackTransformer.h:93
TrackTransformer::refitter
edm::ESHandle< TrajectoryFitter > refitter() const
the refitter used to refit the reco::Track
Definition:
TrackTransformer.h:69
edm::EventSetup
Definition:
EventSetup.h:44
Propagator
Definition:
Propagator.h:40
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:86
TrackTransformer::theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
Definition:
TrackTransformer.h:110
reco::TransientTrack
Definition:
TransientTrack.h:21
TransientTrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition:
TransientTrackingRecHit.h:28
TrajectoryFitter
Definition:
TrajectoryFitter.h:18
reco::Track
Definition:
Track.h:26
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:92
TrackTransformer::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition:
TrackTransformer.h:63
edm::ParameterSet
Definition:
ParameterSet.h:35
TrackTransformer::theTrackerRecHitBuilderName
std::string theTrackerRecHitBuilderName
Definition:
TrackTransformer.h:109
GlobalTrackingGeometry.h
TrackTransformer::theMuonRecHitBuilderName
std::string theMuonRecHitBuilderName
Definition:
TrackTransformer.h:112
edm::Ref< TrackCollection >
TrackTransformer::TrackTransformer
TrackTransformer(const edm::ParameterSet &)
Constructor.
Definition:
TrackTransformer.cc:29
Generated for CMSSW Reference Manual by
1.8.5