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
22
#include "
TrackingTools/TrackRefitter/interface/TrackTransformerBase.h
"
23
24
#include "
TrackingTools/TrackRefitter/interface/RefitDirection.h
"
25
26
#include "
TrackingTools/TrackRefitter/interface/TrackTransformerBase.h
"
27
28
#include "
TrackingTools/TrackRefitter/interface/RefitDirection.h
"
29
30
#include "
FWCore/Framework/interface/ESHandle.h
"
31
32
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
33
#include "
MagneticField/Engine/interface/MagneticField.h
"
34
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
35
36
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
37
38
namespace
edm
{
39
class
ParameterSet
;
40
class
EventSetup
;
41
}
// namespace edm
42
namespace
reco
{
43
class
TransientTrack;
44
}
45
46
class
TrajectoryFitter
;
47
class
TrajectorySmoother
;
48
class
Propagator
;
49
class
TransientTrackingRecHitBuilder
;
50
class
Trajectory
;
51
52
class
TrackTransformerForCosmicMuons
:
public
TrackTransformerBase
{
53
public
:
55
TrackTransformerForCosmicMuons
(
const
edm::ParameterSet
&);
56
58
~TrackTransformerForCosmicMuons
()
override
;
59
60
// Operations
61
63
std::vector<Trajectory>
transform
(
const
reco::Track
&)
const override
;
64
66
const
MagneticField
*
magneticField
()
const
{
return
&*
theMGField
; }
67
69
edm::ESHandle<GlobalTrackingGeometry>
trackingGeometry
()
const
{
return
theTrackingGeometry
; }
70
72
void
setServices
(
const
edm::EventSetup
&)
override
;
73
75
bool
SlopeSum
(
const
TransientTrackingRecHit::ConstRecHitContainer
&)
const
;
76
float
SumDy
(
const
TransientTrackingRecHit::ConstRecHitContainer
&)
const
;
77
79
edm::ESHandle<TrajectoryFitter>
fitter
(
bool
,
int
,
float
)
const
;
80
82
edm::ESHandle<TrajectorySmoother>
smoother
(
bool
,
int
,
float
)
const
;
83
84
TransientTrackingRecHit::ConstRecHitContainer
getTransientRecHits
(
const
reco::TransientTrack
&
track
)
const
;
85
86
protected
:
87
private
:
88
edm::ESHandle<Propagator>
thePropagatorIO
;
89
edm::ESHandle<Propagator>
thePropagatorOI
;
90
91
edm::ESHandle<Propagator>
propagator
(
bool
,
int
,
float
)
const
;
92
93
unsigned
long
long
theCacheId_TC
;
94
unsigned
long
long
theCacheId_GTG
;
95
unsigned
long
long
theCacheId_MG
;
96
unsigned
long
long
theCacheId_TRH
;
97
98
bool
theRPCInTheFit
;
99
100
edm::ESHandle<GlobalTrackingGeometry>
theTrackingGeometry
;
101
edm::ESHandle<MagneticField>
theMGField
;
102
103
edm::ESHandle<TrajectoryFitter>
theFitterIO
;
104
edm::ESHandle<TrajectoryFitter>
theFitterOI
;
105
106
edm::ESHandle<TrajectorySmoother>
theSmootherIO
;
107
edm::ESHandle<TrajectorySmoother>
theSmootherOI
;
108
109
std::string
theTrackerRecHitBuilderName
;
110
edm::ESHandle<TransientTrackingRecHitBuilder>
theTrackerRecHitBuilder
;
111
112
std::string
theMuonRecHitBuilderName
;
113
edm::ESHandle<TransientTrackingRecHitBuilder>
theMuonRecHitBuilder
;
114
};
115
#endif
TrackTransformerForCosmicMuons::theMuonRecHitBuilderName
std::string theMuonRecHitBuilderName
Definition:
TrackTransformerForCosmicMuons.h:112
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:223
RefitDirection.h
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11713
TrackTransformerForCosmicMuons::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition:
TrackTransformerForCosmicMuons.h:100
TrackTransformerForCosmicMuons::theSmootherIO
edm::ESHandle< TrajectorySmoother > theSmootherIO
Definition:
TrackTransformerForCosmicMuons.h:106
ESHandle.h
TrackTransformerForCosmicMuons::SumDy
float SumDy(const TransientTrackingRecHit::ConstRecHitContainer &) const
decide if the track should be reversed
Definition:
TrackTransformerForCosmicMuons.cc:485
edm
HLT enums.
Definition:
AlignableModifier.h:19
TrackTransformerForCosmicMuons::theRPCInTheFit
bool theRPCInTheFit
Definition:
TrackTransformerForCosmicMuons.h:98
TrackTransformerForCosmicMuons::setServices
void setServices(const edm::EventSetup &) override
set the services needed by the TrackTransformer
Definition:
TrackTransformerForCosmicMuons.cc:46
TransientTrackingRecHit.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
TrackTransformerForCosmicMuons::thePropagatorIO
edm::ESHandle< Propagator > thePropagatorIO
Definition:
TrackTransformerForCosmicMuons.h:88
TrackTransformerForCosmicMuons::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition:
TrackTransformerForCosmicMuons.h:69
TrajectorySmoother
Definition:
TrajectorySmoother.h:11
Propagator
Definition:
Propagator.h:44
TrackFwd.h
TrackTransformerForCosmicMuons::theMGField
edm::ESHandle< MagneticField > theMGField
Definition:
TrackTransformerForCosmicMuons.h:101
TrackTransformerForCosmicMuons::theTrackerRecHitBuilderName
std::string theTrackerRecHitBuilderName
Definition:
TrackTransformerForCosmicMuons.h:109
reco::Track
Definition:
Track.h:27
TrackTransformerForCosmicMuons::theCacheId_TC
unsigned long long theCacheId_TC
Definition:
TrackTransformerForCosmicMuons.h:93
edm::ESHandle< GlobalTrackingGeometry >
TrackTransformerForCosmicMuons::propagator
edm::ESHandle< Propagator > propagator(bool, int, float) const
Definition:
TrackTransformerForCosmicMuons.cc:254
TrackTransformerForCosmicMuons::theMuonRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
Definition:
TrackTransformerForCosmicMuons.h:113
TrackTransformerForCosmicMuons::theFitterIO
edm::ESHandle< TrajectoryFitter > theFitterIO
Definition:
TrackTransformerForCosmicMuons.h:103
TrackTransformerForCosmicMuons::theFitterOI
edm::ESHandle< TrajectoryFitter > theFitterOI
Definition:
TrackTransformerForCosmicMuons.h:104
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
TrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition:
TrackingRecHit.h:32
TrackTransformerForCosmicMuons::theCacheId_TRH
unsigned long long theCacheId_TRH
Definition:
TrackTransformerForCosmicMuons.h:96
TrackTransformerForCosmicMuons::magneticField
const MagneticField * magneticField() const
the magnetic field
Definition:
TrackTransformerForCosmicMuons.h:66
TrackTransformerForCosmicMuons::theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
Definition:
TrackTransformerForCosmicMuons.h:110
TrackTransformerBase.h
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
TrackTransformerBase
Definition:
TrackTransformerBase.h:17
TrackTransformerForCosmicMuons::SlopeSum
bool SlopeSum(const TransientTrackingRecHit::ConstRecHitContainer &) const
calculate the sum of slopes for the track
Definition:
TrackTransformerForCosmicMuons.cc:429
TrackTransformerForCosmicMuons::getTransientRecHits
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const
Definition:
TrackTransformerForCosmicMuons.cc:89
TrajectoryFitter
Definition:
TrajectoryFitter.h:19
TrackTransformerForCosmicMuons::theCacheId_MG
unsigned long long theCacheId_MG
Definition:
TrackTransformerForCosmicMuons.h:95
reco::TransientTrack
Definition:
TransientTrack.h:19
TrackTransformerForCosmicMuons::fitter
edm::ESHandle< TrajectoryFitter > fitter(bool, int, float) const
the refitter used to refit the reco::Track
Definition:
TrackTransformerForCosmicMuons.cc:190
Trajectory
Definition:
Trajectory.h:38
TrackTransformerForCosmicMuons::~TrackTransformerForCosmicMuons
~TrackTransformerForCosmicMuons() override
Destructor.
Definition:
TrackTransformerForCosmicMuons.cc:44
TrackTransformerForCosmicMuons::theCacheId_GTG
unsigned long long theCacheId_GTG
Definition:
TrackTransformerForCosmicMuons.h:94
TrackTransformerForCosmicMuons::TrackTransformerForCosmicMuons
TrackTransformerForCosmicMuons(const edm::ParameterSet &)
Constructor.
Definition:
TrackTransformerForCosmicMuons.cc:34
TrackTransformerForCosmicMuons::transform
std::vector< Trajectory > transform(const reco::Track &) const override
Convert a reco::Track into Trajectory.
Definition:
TrackTransformerForCosmicMuons.cc:286
EventSetup
TrackTransformerForCosmicMuons
Definition:
TrackTransformerForCosmicMuons.h:52
GlobalTrackingGeometry.h
MagneticField
Definition:
MagneticField.h:19
TransientTrackingRecHitBuilder
Definition:
TransientTrackingRecHitBuilder.h:6
TrackTransformerForCosmicMuons::thePropagatorOI
edm::ESHandle< Propagator > thePropagatorOI
Definition:
TrackTransformerForCosmicMuons.h:89
TrackTransformerForCosmicMuons::theSmootherOI
edm::ESHandle< TrajectorySmoother > theSmootherOI
Definition:
TrackTransformerForCosmicMuons.h:107
Generated for CMSSW Reference Manual by
1.8.16