Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
#include "
RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h
"
26
27
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
28
29
namespace
edm {
class
ParameterSet
;
class
EventSetup
;}
30
namespace
reco
{
class
TransientTrack;}
31
32
class
TrajectoryFitter
;
33
class
TrajectorySmoother
;
34
class
Propagator
;
35
class
TransientTrackingRecHitBuilder
;
36
class
Trajectory
;
37
38
class
TrackTransformer
:
public
TrackTransformerBase
{
39
40
public
:
41
43
TrackTransformer
(
const
edm::ParameterSet
&);
44
46
virtual
~TrackTransformer
();
47
48
// Operations
49
51
virtual
std::vector<Trajectory>
transform
(
const
reco::Track
&)
const
;
52
54
std::vector<Trajectory>
transform
(
const
reco::TrackRef
&)
const
;
55
57
std::vector<Trajectory>
transform
(
const
reco::TransientTrack
&,
58
const
TransientTrackingRecHit::ConstRecHitContainer
&)
const
;
59
61
const
MagneticField
*
magneticField
()
const
{
return
&*
theMGField
;}
62
64
edm::ESHandle<GlobalTrackingGeometry>
trackingGeometry
()
const
{
return
theTrackingGeometry
;}
65
67
virtual
void
setServices
(
const
edm::EventSetup
&);
68
70
std::unique_ptr<TrajectoryFitter>
const
&
refitter
()
const
{
return
theFitter
;}
71
73
std::unique_ptr<TrajectorySmoother>
const
&
smoother
()
const
{
return
theSmoother
;}
74
75
TransientTrackingRecHit::ConstRecHitContainer
76
getTransientRecHits
(
const
reco::TransientTrack
& track)
const
;
77
78
protected
:
79
80
private
:
81
82
std::string
thePropagatorName
;
83
edm::ESHandle<Propagator>
propagator
()
const
{
return
thePropagator
;}
84
edm::ESHandle<Propagator>
thePropagator
;
85
86
unsigned
long
long
theCacheId_TC
;
87
unsigned
long
long
theCacheId_GTG
;
88
unsigned
long
long
theCacheId_MG
;
89
unsigned
long
long
theCacheId_TRH
;
90
91
bool
theRPCInTheFit
;
92
93
bool
theDoPredictionsOnly
;
94
RefitDirection
theRefitDirection
;
95
96
edm::ESHandle<GlobalTrackingGeometry>
theTrackingGeometry
;
97
edm::ESHandle<MagneticField>
theMGField
;
98
99
std::string
theFitterName
;
100
std::unique_ptr<TrajectoryFitter>
theFitter
;
101
102
std::string
theSmootherName
;
103
std::unique_ptr<TrajectorySmoother>
theSmoother
;
104
105
RefitDirection::GeometricalDirection
106
checkRecHitsOrdering
(
TransientTrackingRecHit::ConstRecHitContainer
&)
const
;
107
108
// void reorder(TransientTrackingRecHit::ConstRecHitContainer& recHits) const;
109
110
std::string
theTrackerRecHitBuilderName
;
111
edm::ESHandle<TransientTrackingRecHitBuilder>
theTrackerRecHitBuilder
;
112
TkClonerImpl
hitCloner
;
113
114
std::string
theMuonRecHitBuilderName
;
115
edm::ESHandle<TransientTrackingRecHitBuilder>
theMuonRecHitBuilder
;
116
};
117
#endif
118
TrackTransformer::magneticField
const MagneticField * magneticField() const
the magnetic field
Definition:
TrackTransformer.h:61
TrackTransformer
Definition:
TrackTransformer.h:38
TrackTransformer::theFitterName
std::string theFitterName
Definition:
TrackTransformer.h:99
TrackTransformer::checkRecHitsOrdering
RefitDirection::GeometricalDirection checkRecHitsOrdering(TransientTrackingRecHit::ConstRecHitContainer &) const
Definition:
TrackTransformer.cc:133
TrackTransformer::refitter
std::unique_ptr< TrajectoryFitter > const & refitter() const
the refitter used to refit the reco::Track
Definition:
TrackTransformer.h:70
ParameterSet
Definition:
Functions.h:16
edm::Ref< TrackCollection >
TrackTransformer::theRPCInTheFit
bool theRPCInTheFit
Definition:
TrackTransformer.h:91
RefitDirection
Definition:
RefitDirection.h:13
MagneticField
Definition:
MagneticField.h:17
TrajectorySmoother
Definition:
TrajectorySmoother.h:12
TrackTransformer::thePropagatorName
std::string thePropagatorName
Definition:
TrackTransformer.h:82
TrackFwd.h
TrackTransformer::theSmootherName
std::string theSmootherName
Definition:
TrackTransformer.h:102
TransientTrackingRecHitBuilder
Definition:
TransientTrackingRecHitBuilder.h:6
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
TrackTransformer::theCacheId_TRH
unsigned long long theCacheId_TRH
Definition:
TrackTransformer.h:89
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:96
TransientTrackingRecHit.h
TrackTransformerBase.h
TrackTransformer::thePropagator
edm::ESHandle< Propagator > thePropagator
Definition:
TrackTransformer.h:84
TrackTransformer::theCacheId_MG
unsigned long long theCacheId_MG
Definition:
TrackTransformer.h:88
TrackTransformer::getTransientRecHits
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const
Definition:
TrackTransformer.cc:108
EventSetup
TrackTransformer::propagator
edm::ESHandle< Propagator > propagator() const
Definition:
TrackTransformer.h:83
TrackTransformer::theMuonRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
Definition:
TrackTransformer.h:115
TrackTransformer::theFitter
std::unique_ptr< TrajectoryFitter > theFitter
Definition:
TrackTransformer.h:100
TrackTransformer::theCacheId_TC
unsigned long long theCacheId_TC
Definition:
TrackTransformer.h:86
edm::ESHandle< GlobalTrackingGeometry >
TkTransientTrackingRecHitBuilder.h
TrackTransformer::theMGField
edm::ESHandle< MagneticField > theMGField
Definition:
TrackTransformer.h:97
RefitDirection.h
ESHandle.h
TrackTransformer::theRefitDirection
RefitDirection theRefitDirection
Definition:
TrackTransformer.h:94
edm::EventSetup
Definition:
EventSetup.h:44
Propagator
Definition:
Propagator.h:45
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:87
TrackTransformer::theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
Definition:
TrackTransformer.h:111
reco::TransientTrack
Definition:
TransientTrack.h:21
TrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition:
TrackingRecHit.h:38
TrajectoryFitter
Definition:
TrajectoryFitter.h:21
TrackTransformer::smoother
std::unique_ptr< TrajectorySmoother > const & smoother() const
the smoother used to smooth the trajectory which came from the refitting step
Definition:
TrackTransformer.h:73
TrackTransformer::hitCloner
TkClonerImpl hitCloner
Definition:
TrackTransformer.h:112
reco::Track
Definition:
Track.h:28
TrackTransformer::transform
virtual std::vector< Trajectory > transform(const reco::Track &) const
Convert a reco::Track into Trajectory.
Definition:
TrackTransformer.cc:165
TrackTransformer::~TrackTransformer
virtual ~TrackTransformer()
Destructor.
Definition:
TrackTransformer.cc:49
TrackTransformer::theDoPredictionsOnly
bool theDoPredictionsOnly
Definition:
TrackTransformer.h:93
TrackTransformer::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition:
TrackTransformer.h:64
edm::ParameterSet
Definition:
ParameterSet.h:35
TrackTransformer::theTrackerRecHitBuilderName
std::string theTrackerRecHitBuilderName
Definition:
TrackTransformer.h:110
GlobalTrackingGeometry.h
TkClonerImpl
Definition:
TkClonerImpl.h:12
TrackTransformer::theMuonRecHitBuilderName
std::string theMuonRecHitBuilderName
Definition:
TrackTransformer.h:114
TrackTransformer::theSmoother
std::unique_ptr< TrajectorySmoother > theSmoother
Definition:
TrackTransformer.h:103
TrackTransformer::TrackTransformer
TrackTransformer(const edm::ParameterSet &)
Constructor.
Definition:
TrackTransformer.cc:29
Generated for CMSSW Reference Manual by
1.8.5