Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TrackingTools
TrackRefitter
interface
TrackTransformerForCosmicMuons.h
Go to the documentation of this file.
1
#ifndef TrackingTools_TrackRefitter_TrackTransformerForCosmicMuons_H
2
#define TrackingTools_TrackRefitter_TrackTransformerForCosmicMuons_H
3
23
#include "
TrackingTools/TrackRefitter/interface/TrackTransformerBase.h
"
24
25
#include "
TrackingTools/TrackRefitter/interface/RefitDirection.h
"
26
27
#include "
TrackingTools/TrackRefitter/interface/TrackTransformerBase.h
"
28
29
#include "
TrackingTools/TrackRefitter/interface/RefitDirection.h
"
30
31
#include "
FWCore/Framework/interface/ESHandle.h
"
32
33
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
34
#include "
MagneticField/Engine/interface/MagneticField.h
"
35
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
36
37
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
38
39
namespace
edm {
class
ParameterSet
;
class
EventSetup
;}
40
namespace
reco
{
class
TransientTrack;}
41
42
class
TrajectoryFitter
;
43
class
TrajectorySmoother
;
44
class
Propagator
;
45
class
TransientTrackingRecHitBuilder
;
46
class
Trajectory
;
47
48
class
TrackTransformerForCosmicMuons
:
public
TrackTransformerBase
{
49
50
public
:
51
53
TrackTransformerForCosmicMuons
(
const
edm::ParameterSet
&);
54
56
virtual
~TrackTransformerForCosmicMuons
();
57
58
// Operations
59
61
virtual
std::vector<Trajectory>
transform
(
const
reco::Track
&)
const
;
62
64
const
MagneticField
*
magneticField
()
const
{
return
&*
theMGField
;}
65
67
edm::ESHandle<GlobalTrackingGeometry>
trackingGeometry
()
const
{
return
theTrackingGeometry
;}
68
70
virtual
void
setServices
(
const
edm::EventSetup
&);
71
73
bool
SlopeSum
(
TransientTrackingRecHit::ConstRecHitContainer
)
const
;
74
float
SumDy
(
TransientTrackingRecHit::ConstRecHitContainer
)
const
;
75
77
edm::ESHandle<TrajectoryFitter>
fitter
(
bool
,
int
,
float
)
const
;
78
80
edm::ESHandle<TrajectorySmoother>
smoother
(
bool
,
int
,
float
)
const
;
81
82
TransientTrackingRecHit::ConstRecHitContainer
83
getTransientRecHits
(
const
reco::TransientTrack
& track)
const
;
84
85
protected
:
86
87
private
:
88
89
edm::ESHandle<Propagator>
thePropagatorIO
;
90
edm::ESHandle<Propagator>
thePropagatorOI
;
91
92
edm::ESHandle<Propagator>
propagator
(
bool
,
int
,
float
)
const
;
93
94
unsigned
long
long
theCacheId_TC
;
95
unsigned
long
long
theCacheId_GTG
;
96
unsigned
long
long
theCacheId_MG
;
97
unsigned
long
long
theCacheId_TRH
;
98
99
bool
theRPCInTheFit
;
100
101
edm::ESHandle<GlobalTrackingGeometry>
theTrackingGeometry
;
102
edm::ESHandle<MagneticField>
theMGField
;
103
104
edm::ESHandle<TrajectoryFitter>
theFitterIO
;
105
edm::ESHandle<TrajectoryFitter>
theFitterOI
;
106
107
edm::ESHandle<TrajectorySmoother>
theSmootherIO
;
108
edm::ESHandle<TrajectorySmoother>
theSmootherOI
;
109
110
std::string
theTrackerRecHitBuilderName
;
111
edm::ESHandle<TransientTrackingRecHitBuilder>
theTrackerRecHitBuilder
;
112
113
std::string
theMuonRecHitBuilderName
;
114
edm::ESHandle<TransientTrackingRecHitBuilder>
theMuonRecHitBuilder
;
115
116
};
117
#endif
118
TrackTransformerForCosmicMuons::propagator
edm::ESHandle< Propagator > propagator(bool, int, float) const
Definition:
TrackTransformerForCosmicMuons.cc:211
TrackTransformerForCosmicMuons::theCacheId_GTG
unsigned long long theCacheId_GTG
Definition:
TrackTransformerForCosmicMuons.h:95
TrackTransformerForCosmicMuons::thePropagatorIO
edm::ESHandle< Propagator > thePropagatorIO
Definition:
TrackTransformerForCosmicMuons.h:89
ParameterSet
Definition:
Functions.h:16
TrackTransformerForCosmicMuons::theSmootherOI
edm::ESHandle< TrajectorySmoother > theSmootherOI
Definition:
TrackTransformerForCosmicMuons.h:108
TrackTransformerForCosmicMuons::setServices
virtual void setServices(const edm::EventSetup &)
set the services needed by the TrackTransformer
Definition:
TrackTransformerForCosmicMuons.cc:56
TrackTransformerForCosmicMuons::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition:
TrackTransformerForCosmicMuons.h:101
MagneticField
Definition:
MagneticField.h:18
TrackTransformerForCosmicMuons::TrackTransformerForCosmicMuons
TrackTransformerForCosmicMuons(const edm::ParameterSet &)
Constructor.
Definition:
TrackTransformerForCosmicMuons.cc:42
TrackTransformerForCosmicMuons::theRPCInTheFit
bool theRPCInTheFit
Definition:
TrackTransformerForCosmicMuons.h:99
TrajectorySmoother
Definition:
TrajectorySmoother.h:11
TrackTransformerForCosmicMuons::theSmootherIO
edm::ESHandle< TrajectorySmoother > theSmootherIO
Definition:
TrackTransformerForCosmicMuons.h:107
TrackTransformerForCosmicMuons::SumDy
float SumDy(TransientTrackingRecHit::ConstRecHitContainer) const
decide if the track should be reversed
Definition:
TrackTransformerForCosmicMuons.cc:417
TrackFwd.h
TrackTransformerForCosmicMuons::thePropagatorOI
edm::ESHandle< Propagator > thePropagatorOI
Definition:
TrackTransformerForCosmicMuons.h:90
TrackTransformerForCosmicMuons::fitter
edm::ESHandle< TrajectoryFitter > fitter(bool, int, float) const
the refitter used to refit the reco::Track
Definition:
TrackTransformerForCosmicMuons.cc:191
TransientTrackingRecHitBuilder
Definition:
TransientTrackingRecHitBuilder.h:6
TrackTransformerForCosmicMuons::theTrackerRecHitBuilderName
std::string theTrackerRecHitBuilderName
Definition:
TrackTransformerForCosmicMuons.h:110
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
Trajectory
Definition:
Trajectory.h:38
TrackTransformerBase
Definition:
TrackTransformerBase.h:17
TrackTransformerForCosmicMuons::theCacheId_TC
unsigned long long theCacheId_TC
Definition:
TrackTransformerForCosmicMuons.h:94
MagneticField.h
TransientTrackingRecHit.h
TrackTransformerForCosmicMuons::~TrackTransformerForCosmicMuons
virtual ~TrackTransformerForCosmicMuons()
Destructor.
Definition:
TrackTransformerForCosmicMuons.cc:53
TrackTransformerForCosmicMuons::theFitterOI
edm::ESHandle< TrajectoryFitter > theFitterOI
Definition:
TrackTransformerForCosmicMuons.h:105
TrackTransformerBase.h
TrackTransformerForCosmicMuons::transform
virtual std::vector< Trajectory > transform(const reco::Track &) const
Convert a reco::Track into Trajectory.
Definition:
TrackTransformerForCosmicMuons.cc:223
EventSetup
edm::ESHandle< GlobalTrackingGeometry >
TrackTransformerForCosmicMuons::SlopeSum
bool SlopeSum(TransientTrackingRecHit::ConstRecHitContainer) const
calculate the sum of slopes for the track
Definition:
TrackTransformerForCosmicMuons.cc:357
RefitDirection.h
ESHandle.h
TrackTransformerForCosmicMuons::theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
Definition:
TrackTransformerForCosmicMuons.h:111
TrackTransformerForCosmicMuons::theMuonRecHitBuilderName
std::string theMuonRecHitBuilderName
Definition:
TrackTransformerForCosmicMuons.h:113
TrackTransformerForCosmicMuons::theFitterIO
edm::ESHandle< TrajectoryFitter > theFitterIO
Definition:
TrackTransformerForCosmicMuons.h:104
edm::EventSetup
Definition:
EventSetup.h:44
Propagator
Definition:
Propagator.h:38
TrackTransformerForCosmicMuons::theMuonRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
Definition:
TrackTransformerForCosmicMuons.h:114
reco::TransientTrack
Definition:
TransientTrack.h:21
TrackTransformerForCosmicMuons
Definition:
TrackTransformerForCosmicMuons.h:48
TransientTrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition:
TransientTrackingRecHit.h:30
TrajectoryFitter
Definition:
TrajectoryFitter.h:16
TrackTransformerForCosmicMuons::theCacheId_MG
unsigned long long theCacheId_MG
Definition:
TrackTransformerForCosmicMuons.h:96
TrackTransformerForCosmicMuons::smoother
edm::ESHandle< TrajectorySmoother > smoother(bool, int, float) const
the smoother used to smooth the trajectory which came from the refitting step
Definition:
TrackTransformerForCosmicMuons.cc:202
reco::Track
Definition:
Track.h:27
edm::ParameterSet
Definition:
ParameterSet.h:35
GlobalTrackingGeometry.h
TrackTransformerForCosmicMuons::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition:
TrackTransformerForCosmicMuons.h:67
TrackTransformerForCosmicMuons::theMGField
edm::ESHandle< MagneticField > theMGField
Definition:
TrackTransformerForCosmicMuons.h:102
TrackTransformerForCosmicMuons::theCacheId_TRH
unsigned long long theCacheId_TRH
Definition:
TrackTransformerForCosmicMuons.h:97
TrackTransformerForCosmicMuons::magneticField
const MagneticField * magneticField() const
the magnetic field
Definition:
TrackTransformerForCosmicMuons.h:64
TrackTransformerForCosmicMuons::getTransientRecHits
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const
Definition:
TrackTransformerForCosmicMuons.cc:102
Generated for CMSSW Reference Manual by
1.8.5