src
TrackingTools
TrackRefitter
interface
TrackTransformerForGlobalCosmicMuons.h
Go to the documentation of this file.
1
#ifndef TrackingTools_TrackRefitter_TrackTransformerForGlobalCosmicMuons_H
2
#define TrackingTools_TrackRefitter_TrackTransformerForGlobalCosmicMuons_H
3
16
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
17
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
18
#include "
FWCore/Framework/interface/ESHandle.h
"
19
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
20
#include "
Geometry/Records/interface/GlobalTrackingGeometryRecord.h
"
21
#include "
MagneticField/Engine/interface/MagneticField.h
"
22
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
23
#include "
TrackingTools/TrackRefitter/interface/RefitDirection.h
"
24
#include "
TrackingTools/TrackRefitter/interface/TrackTransformerBase.h
"
25
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
26
#include "
TrackingTools/Records/interface/TrackingComponentsRecord.h
"
27
#include "
TrackingTools/Records/interface/TransientRecHitRecord.h
"
28
#include "
TrackingTools/TrackFitters/interface/TrajectoryFitter.h
"
29
30
namespace
edm
{
31
class
ParameterSet
;
32
class
EventSetup
;
33
}
// namespace edm
34
namespace
reco
{
35
class
TransientTrack;
36
}
37
38
class
TrajectoryFitter
;
39
class
TrajectorySmoother
;
40
class
Propagator
;
41
class
TransientTrackingRecHitBuilder
;
42
class
Trajectory
;
43
class
TrackerTopology
;
44
45
class
TrackTransformerForGlobalCosmicMuons
:
public
TrackTransformerBase
{
46
public
:
48
TrackTransformerForGlobalCosmicMuons
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
);
49
51
~TrackTransformerForGlobalCosmicMuons
()
override
;
52
53
// Operations
54
56
std::vector<Trajectory>
transform
(
const
reco::Track
&)
const override
;
57
59
const
MagneticField
*
magneticField
()
const
{
return
&*
theMGField
; }
60
62
edm::ESHandle<GlobalTrackingGeometry>
trackingGeometry
()
const
{
return
theTrackingGeometry
; }
63
65
void
setServices
(
const
edm::EventSetup
&)
override
;
66
68
edm::ESHandle<TrajectoryFitter>
fitter
(
bool
)
const
;
69
71
edm::ESHandle<TrajectorySmoother>
smoother
(
bool
)
const
;
72
73
TransientTrackingRecHit::ConstRecHitContainer
getTransientRecHits
(
const
reco::TransientTrack
&
track
)
const
;
74
76
bool
TrackerKeep
(
DetId
id
)
const
;
78
bool
MuonKeep
(
DetId
id
)
const
;
79
80
protected
:
81
private
:
82
const
edm::ESGetToken<Propagator, TrackingComponentsRecord>
theIOpropToken
;
83
const
edm::ESGetToken<Propagator, TrackingComponentsRecord>
theOIpropToken
;
84
const
edm::ESGetToken<GlobalTrackingGeometry, GlobalTrackingGeometryRecord>
thGlobTrackGeoToken
;
85
const
edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>
theMFToken
;
86
const
edm::ESGetToken<TrajectoryFitter, TrajectoryFitter::Record>
theIOFitterToken
;
87
const
edm::ESGetToken<TrajectoryFitter, TrajectoryFitter::Record>
theOIFitterToken
;
88
const
edm::ESGetToken<TrajectorySmoother, TrajectoryFitter::Record>
theIOSmootherToken
;
89
const
edm::ESGetToken<TrajectorySmoother, TrajectoryFitter::Record>
theOISmootherToken
;
90
const
edm::ESGetToken<TransientTrackingRecHitBuilder, TransientRecHitRecord>
theTkRecHitBuildToken
;
91
const
edm::ESGetToken<TransientTrackingRecHitBuilder, TransientRecHitRecord>
theMuonRecHitBuildToken
;
92
const
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd>
theTopologyToken
;
93
94
edm::ESHandle<Propagator>
thePropagatorIO
;
95
edm::ESHandle<Propagator>
thePropagatorOI
;
96
97
edm::ESHandle<Propagator>
propagator
(
bool
)
const
;
98
99
unsigned
long
long
theCacheId_TC
;
100
unsigned
long
long
theCacheId_GTG
;
101
unsigned
long
long
theCacheId_MG
;
102
unsigned
long
long
theCacheId_TRH
;
103
104
bool
theRPCInTheFit
;
105
int
theSkipStationDT
;
106
int
theSkipStationCSC
;
107
int
theSkipWheelDT
;
108
int
theTrackerSkipSystem
;
109
int
theTrackerSkipSection
;
110
111
edm::ESHandle<GlobalTrackingGeometry>
theTrackingGeometry
;
112
edm::ESHandle<MagneticField>
theMGField
;
113
114
edm::ESHandle<TrajectoryFitter>
theFitterIO
;
115
edm::ESHandle<TrajectoryFitter>
theFitterOI
;
116
117
edm::ESHandle<TrajectorySmoother>
theSmootherIO
;
118
edm::ESHandle<TrajectorySmoother>
theSmootherOI
;
119
120
std::string
theTrackerRecHitBuilderName
;
121
edm::ESHandle<TransientTrackingRecHitBuilder>
theTrackerRecHitBuilder
;
122
123
std::string
theMuonRecHitBuilderName
;
124
edm::ESHandle<TransientTrackingRecHitBuilder>
theMuonRecHitBuilder
;
125
126
const
TrackerTopology
*
tTopo_
;
127
};
128
#endif
TrackingComponentsRecord.h
GlobalTrackingGeometryRecord.h
TrackTransformerForGlobalCosmicMuons::theMFToken
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theMFToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:85
ParameterSet
Definition:
Functions.h:16
TrackTransformerForGlobalCosmicMuons::thePropagatorOI
edm::ESHandle< Propagator > thePropagatorOI
Definition:
TrackTransformerForGlobalCosmicMuons.h:95
TrackerTopology
Definition:
TrackerTopology.h:16
TrackTransformerForGlobalCosmicMuons::theSmootherOI
edm::ESHandle< TrajectorySmoother > theSmootherOI
Definition:
TrackTransformerForGlobalCosmicMuons.h:118
MagneticField
Definition:
MagneticField.h:19
TrajectorySmoother
Definition:
TrajectorySmoother.h:11
TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuilderName
std::string theMuonRecHitBuilderName
Definition:
TrackTransformerForGlobalCosmicMuons.h:123
TrackTransformerForGlobalCosmicMuons::theCacheId_TRH
unsigned long long theCacheId_TRH
Definition:
TrackTransformerForGlobalCosmicMuons.h:102
TrackTransformerForGlobalCosmicMuons::theMGField
edm::ESHandle< MagneticField > theMGField
Definition:
TrackTransformerForGlobalCosmicMuons.h:112
TrackFwd.h
TransientTrackingRecHitBuilder
Definition:
TransientTrackingRecHitBuilder.h:6
TrackTransformerForGlobalCosmicMuons::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition:
TrackTransformerForGlobalCosmicMuons.h:111
HLT_2024v14_cff.track
track
Definition:
HLT_2024v14_cff.py:9565
TrackTransformerForGlobalCosmicMuons::theOIpropToken
const edm::ESGetToken< Propagator, TrackingComponentsRecord > theOIpropToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:83
Trajectory
Definition:
Trajectory.h:38
TrackTransformerBase
Definition:
TrackTransformerBase.h:17
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TrackTransformerForGlobalCosmicMuons
Definition:
TrackTransformerForGlobalCosmicMuons.h:45
TrackTransformerForGlobalCosmicMuons::theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
Definition:
TrackTransformerForGlobalCosmicMuons.h:121
TrackTransformerForGlobalCosmicMuons::thePropagatorIO
edm::ESHandle< Propagator > thePropagatorIO
Definition:
TrackTransformerForGlobalCosmicMuons.h:94
TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuildToken
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theMuonRecHitBuildToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:91
MagneticField.h
TrackTransformerForGlobalCosmicMuons::theRPCInTheFit
bool theRPCInTheFit
Definition:
TrackTransformerForGlobalCosmicMuons.h:104
TrackTransformerForGlobalCosmicMuons::setServices
void setServices(const edm::EventSetup &) override
set the services needed by the TrackTransformer
Definition:
TrackTransformerForGlobalCosmicMuons.cc:54
TransientTrackingRecHit.h
TrackTransformerBase.h
edm::ESGetToken< Propagator, TrackingComponentsRecord >
EventSetup
TrackTransformerForGlobalCosmicMuons::theTrackerRecHitBuilderName
std::string theTrackerRecHitBuilderName
Definition:
TrackTransformerForGlobalCosmicMuons.h:120
TrackTransformerForGlobalCosmicMuons::MuonKeep
bool MuonKeep(DetId id) const
check (via options) if this is a muon rec hit for removal
Definition:
TrackTransformerForGlobalCosmicMuons.cc:265
TrackTransformerForGlobalCosmicMuons::magneticField
const MagneticField * magneticField() const
the magnetic field
Definition:
TrackTransformerForGlobalCosmicMuons.h:59
TrackTransformerForGlobalCosmicMuons::theSkipWheelDT
int theSkipWheelDT
Definition:
TrackTransformerForGlobalCosmicMuons.h:107
TrackTransformerForGlobalCosmicMuons::getTransientRecHits
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const
Definition:
TrackTransformerForGlobalCosmicMuons.cc:100
edm::ESHandle< GlobalTrackingGeometry >
TrackTransformerForGlobalCosmicMuons::transform
std::vector< Trajectory > transform(const reco::Track &) const override
Convert a reco::Track into Trajectory.
Definition:
TrackTransformerForGlobalCosmicMuons.cc:191
RefitDirection.h
ESHandle.h
TransientRecHitRecord.h
TrackTransformerForGlobalCosmicMuons::theIOpropToken
const edm::ESGetToken< Propagator, TrackingComponentsRecord > theIOpropToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:82
edm::EventSetup
Definition:
EventSetup.h:56
Propagator
Definition:
Propagator.h:44
TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
Definition:
TrackTransformerForGlobalCosmicMuons.h:124
TrackTransformerForGlobalCosmicMuons::thGlobTrackGeoToken
const edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > thGlobTrackGeoToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:84
reco::TransientTrack
Definition:
TransientTrack.h:19
TrackTransformerForGlobalCosmicMuons::~TrackTransformerForGlobalCosmicMuons
~TrackTransformerForGlobalCosmicMuons() override
Destructor.
Definition:
TrackTransformerForGlobalCosmicMuons.cc:52
TrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition:
TrackingRecHit.h:32
TrackTransformerForGlobalCosmicMuons::theSkipStationCSC
int theSkipStationCSC
Definition:
TrackTransformerForGlobalCosmicMuons.h:106
TrackTransformerForGlobalCosmicMuons::theIOSmootherToken
const edm::ESGetToken< TrajectorySmoother, TrajectoryFitter::Record > theIOSmootherToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:88
TrackTransformerForGlobalCosmicMuons::tTopo_
const TrackerTopology * tTopo_
Definition:
TrackTransformerForGlobalCosmicMuons.h:126
TrajectoryFitter
Definition:
TrajectoryFitter.h:19
TrackTransformerForGlobalCosmicMuons::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition:
TrackTransformerForGlobalCosmicMuons.h:62
DetId
Definition:
DetId.h:17
TrackTransformerForGlobalCosmicMuons::theTrackerSkipSection
int theTrackerSkipSection
Definition:
TrackTransformerForGlobalCosmicMuons.h:109
TrackTransformerForGlobalCosmicMuons::smoother
edm::ESHandle< TrajectorySmoother > smoother(bool) const
the smoother used to smooth the trajectory which came from the refitting step
Definition:
TrackTransformerForGlobalCosmicMuons.cc:176
TrackTransformerForGlobalCosmicMuons::theIOFitterToken
const edm::ESGetToken< TrajectoryFitter, TrajectoryFitter::Record > theIOFitterToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:86
TrackTransformerForGlobalCosmicMuons::TrackerKeep
bool TrackerKeep(DetId id) const
check (via options) if this is a tracker rec hit for removal
Definition:
TrackTransformerForGlobalCosmicMuons.cc:245
TrackTransformerForGlobalCosmicMuons::theCacheId_TC
unsigned long long theCacheId_TC
Definition:
TrackTransformerForGlobalCosmicMuons.h:99
reco::Track
Definition:
Track.h:27
TrackTransformerForGlobalCosmicMuons::theTkRecHitBuildToken
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theTkRecHitBuildToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:90
TrackTransformerForGlobalCosmicMuons::theTopologyToken
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > theTopologyToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:92
TrackTransformerForGlobalCosmicMuons::theSmootherIO
edm::ESHandle< TrajectorySmoother > theSmootherIO
Definition:
TrackTransformerForGlobalCosmicMuons.h:117
TrackTransformerForGlobalCosmicMuons::theSkipStationDT
int theSkipStationDT
Definition:
TrackTransformerForGlobalCosmicMuons.h:105
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
edm
HLT enums.
Definition:
AlignableModifier.h:19
TrackTransformerForGlobalCosmicMuons::theFitterOI
edm::ESHandle< TrajectoryFitter > theFitterOI
Definition:
TrackTransformerForGlobalCosmicMuons.h:115
TrackTransformerForGlobalCosmicMuons::theCacheId_MG
unsigned long long theCacheId_MG
Definition:
TrackTransformerForGlobalCosmicMuons.h:101
edm::ParameterSet
Definition:
ParameterSet.h:48
TrackTransformerForGlobalCosmicMuons::theOIFitterToken
const edm::ESGetToken< TrajectoryFitter, TrajectoryFitter::Record > theOIFitterToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:87
TrackTransformerForGlobalCosmicMuons::theFitterIO
edm::ESHandle< TrajectoryFitter > theFitterIO
Definition:
TrackTransformerForGlobalCosmicMuons.h:114
TrackTransformerForGlobalCosmicMuons::theCacheId_GTG
unsigned long long theCacheId_GTG
Definition:
TrackTransformerForGlobalCosmicMuons.h:100
TrackTransformerForGlobalCosmicMuons::TrackTransformerForGlobalCosmicMuons
TrackTransformerForGlobalCosmicMuons(const edm::ParameterSet &, edm::ConsumesCollector)
Constructor.
Definition:
TrackTransformerForGlobalCosmicMuons.cc:26
TrackTransformerForGlobalCosmicMuons::fitter
edm::ESHandle< TrajectoryFitter > fitter(bool) const
the refitter used to refit the reco::Track
Definition:
TrackTransformerForGlobalCosmicMuons.cc:168
TrackTransformerForGlobalCosmicMuons::theOISmootherToken
const edm::ESGetToken< TrajectorySmoother, TrajectoryFitter::Record > theOISmootherToken
Definition:
TrackTransformerForGlobalCosmicMuons.h:89
TrajectoryFitter.h
GlobalTrackingGeometry.h
ConsumesCollector.h
TrackTransformerForGlobalCosmicMuons::theTrackerSkipSystem
int theTrackerSkipSystem
Definition:
TrackTransformerForGlobalCosmicMuons.h:108
IdealMagneticFieldRecord.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
TrackTransformerForGlobalCosmicMuons::propagator
edm::ESHandle< Propagator > propagator(bool) const
Definition:
TrackTransformerForGlobalCosmicMuons.cc:183
Generated for CMSSW Reference Manual by
1.8.14