CMS 3D CMS Logo

TrackTransformerForGlobalCosmicMuons.h
Go to the documentation of this file.
1 #ifndef TrackingTools_TrackRefitter_TrackTransformerForGlobalCosmicMuons_H
2 #define TrackingTools_TrackRefitter_TrackTransformerForGlobalCosmicMuons_H
3 
17 
19 
21 
25 
27 
28 namespace edm {
29  class ParameterSet;
30  class EventSetup;
31 } // namespace edm
32 namespace reco {
33  class TransientTrack;
34 }
35 
36 class TrajectoryFitter;
37 class TrajectorySmoother;
38 class Propagator;
40 class Trajectory;
41 class TrackerTopology;
42 
44 public:
47 
50 
51  // Operations
52 
54  std::vector<Trajectory> transform(const reco::Track&) const override;
55 
57  const MagneticField* magneticField() const { return &*theMGField; }
58 
61 
63  void setServices(const edm::EventSetup&) override;
64 
67 
70 
72 
74  bool TrackerKeep(DetId id) const;
76  bool MuonKeep(DetId id) const;
77 
78 protected:
79 private:
82 
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 
96 
99 
102 
105 
108 
111 
113 };
114 #endif
TrackTransformerForGlobalCosmicMuons::transform
std::vector< Trajectory > transform(const reco::Track &) const override
Convert a reco::Track into Trajectory.
Definition: TrackTransformerForGlobalCosmicMuons.cc:194
RefitDirection.h
ESHandle.h
TrackTransformerForGlobalCosmicMuons::theMGField
edm::ESHandle< MagneticField > theMGField
Definition: TrackTransformerForGlobalCosmicMuons.h:98
TrackTransformerForGlobalCosmicMuons::~TrackTransformerForGlobalCosmicMuons
~TrackTransformerForGlobalCosmicMuons() override
Destructor.
Definition: TrackTransformerForGlobalCosmicMuons.cc:53
edm
HLT enums.
Definition: AlignableModifier.h:19
TrackTransformerForGlobalCosmicMuons::theSkipStationCSC
int theSkipStationCSC
Definition: TrackTransformerForGlobalCosmicMuons.h:92
TrackerTopology
Definition: TrackerTopology.h:16
TrackTransformerForGlobalCosmicMuons::theSkipWheelDT
int theSkipWheelDT
Definition: TrackTransformerForGlobalCosmicMuons.h:93
TrackTransformerForGlobalCosmicMuons::fitter
edm::ESHandle< TrajectoryFitter > fitter(bool) const
the refitter used to refit the reco::Track
Definition: TrackTransformerForGlobalCosmicMuons.cc:171
TrackTransformerForGlobalCosmicMuons::TrackTransformerForGlobalCosmicMuons
TrackTransformerForGlobalCosmicMuons(const edm::ParameterSet &)
Constructor.
Definition: TrackTransformerForGlobalCosmicMuons.cc:37
TrackTransformerForGlobalCosmicMuons::TrackerKeep
bool TrackerKeep(DetId id) const
check (via options) if this is a tracker rec hit for removal
Definition: TrackTransformerForGlobalCosmicMuons.cc:248
TransientTrackingRecHit.h
TrackTransformerForGlobalCosmicMuons::thePropagatorOI
edm::ESHandle< Propagator > thePropagatorOI
Definition: TrackTransformerForGlobalCosmicMuons.h:81
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
TrackTransformerForGlobalCosmicMuons::propagator
edm::ESHandle< Propagator > propagator(bool) const
Definition: TrackTransformerForGlobalCosmicMuons.cc:186
TrackTransformerForGlobalCosmicMuons::theFitterIO
edm::ESHandle< TrajectoryFitter > theFitterIO
Definition: TrackTransformerForGlobalCosmicMuons.h:100
TrajectorySmoother
Definition: TrajectorySmoother.h:11
Propagator
Definition: Propagator.h:44
DetId
Definition: DetId.h:17
TrackFwd.h
reco::Track
Definition: Track.h:27
edm::ESHandle< GlobalTrackingGeometry >
TrackTransformerForGlobalCosmicMuons::thePropagatorIO
edm::ESHandle< Propagator > thePropagatorIO
Definition: TrackTransformerForGlobalCosmicMuons.h:80
TrackTransformerForGlobalCosmicMuons::theSkipStationDT
int theSkipStationDT
Definition: TrackTransformerForGlobalCosmicMuons.h:91
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackTransformerForGlobalCosmicMuons::theCacheId_GTG
unsigned long long theCacheId_GTG
Definition: TrackTransformerForGlobalCosmicMuons.h:86
TrackTransformerForGlobalCosmicMuons::theFitterOI
edm::ESHandle< TrajectoryFitter > theFitterOI
Definition: TrackTransformerForGlobalCosmicMuons.h:101
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
TrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition: TrackingRecHit.h:32
TrackTransformerForGlobalCosmicMuons::theCacheId_TC
unsigned long long theCacheId_TC
Definition: TrackTransformerForGlobalCosmicMuons.h:85
TrackTransformerBase.h
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:57
TrackTransformerBase
Definition: TrackTransformerBase.h:17
TrackTransformerForGlobalCosmicMuons::theTrackerSkipSystem
int theTrackerSkipSystem
Definition: TrackTransformerForGlobalCosmicMuons.h:94
TrackTransformerForGlobalCosmicMuons::setServices
void setServices(const edm::EventSetup &) override
set the services needed by the TrackTransformer
Definition: TrackTransformerForGlobalCosmicMuons.cc:55
TrackTransformerForGlobalCosmicMuons::theTrackerRecHitBuilderName
std::string theTrackerRecHitBuilderName
Definition: TrackTransformerForGlobalCosmicMuons.h:106
TrackTransformerForGlobalCosmicMuons::MuonKeep
bool MuonKeep(DetId id) const
check (via options) if this is a muon rec hit for removal
Definition: TrackTransformerForGlobalCosmicMuons.cc:268
TrajectoryFitter
Definition: TrajectoryFitter.h:19
TrackTransformerForGlobalCosmicMuons::theCacheId_MG
unsigned long long theCacheId_MG
Definition: TrackTransformerForGlobalCosmicMuons.h:87
TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuilderName
std::string theMuonRecHitBuilderName
Definition: TrackTransformerForGlobalCosmicMuons.h:109
TrackTransformerForGlobalCosmicMuons::theSmootherOI
edm::ESHandle< TrajectorySmoother > theSmootherOI
Definition: TrackTransformerForGlobalCosmicMuons.h:104
reco::TransientTrack
Definition: TransientTrack.h:19
TrackTransformerForGlobalCosmicMuons
Definition: TrackTransformerForGlobalCosmicMuons.h:43
Trajectory
Definition: Trajectory.h:38
TrackTransformerForGlobalCosmicMuons::magneticField
const MagneticField * magneticField() const
the magnetic field
Definition: TrackTransformerForGlobalCosmicMuons.h:57
TrackTransformerForGlobalCosmicMuons::smoother
edm::ESHandle< TrajectorySmoother > smoother(bool) const
the smoother used to smooth the trajectory which came from the refitting step
Definition: TrackTransformerForGlobalCosmicMuons.cc:179
TrackTransformerForGlobalCosmicMuons::theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
Definition: TrackTransformerForGlobalCosmicMuons.h:107
HLT_2018_cff.track
track
Definition: HLT_2018_cff.py:10352
TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
Definition: TrackTransformerForGlobalCosmicMuons.h:110
EventSetup
TrackTransformerForGlobalCosmicMuons::theSmootherIO
edm::ESHandle< TrajectorySmoother > theSmootherIO
Definition: TrackTransformerForGlobalCosmicMuons.h:103
TrackTransformerForGlobalCosmicMuons::theRPCInTheFit
bool theRPCInTheFit
Definition: TrackTransformerForGlobalCosmicMuons.h:90
GlobalTrackingGeometry.h
TrackTransformerForGlobalCosmicMuons::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition: TrackTransformerForGlobalCosmicMuons.h:60
MagneticField
Definition: MagneticField.h:19
TransientTrackingRecHitBuilder
Definition: TransientTrackingRecHitBuilder.h:6
TrackTransformerForGlobalCosmicMuons::theTrackerSkipSection
int theTrackerSkipSection
Definition: TrackTransformerForGlobalCosmicMuons.h:95
TrackTransformerForGlobalCosmicMuons::tTopo_
const TrackerTopology * tTopo_
Definition: TrackTransformerForGlobalCosmicMuons.h:112
TrackTransformerForGlobalCosmicMuons::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition: TrackTransformerForGlobalCosmicMuons.h:97
TrackTransformerForGlobalCosmicMuons::getTransientRecHits
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const
Definition: TrackTransformerForGlobalCosmicMuons.cc:103
TrackTransformerForGlobalCosmicMuons::theCacheId_TRH
unsigned long long theCacheId_TRH
Definition: TrackTransformerForGlobalCosmicMuons.h:88