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 
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;
42 class Trajectory;
43 class TrackerTopology;
44 
46 public:
49 
52 
53  // Operations
54 
56  std::vector<Trajectory> transform(const reco::Track&) const override;
57 
59  const MagneticField* magneticField() const { return &*theMGField; }
60 
63 
65  void setServices(const edm::EventSetup&) override;
66 
69 
72 
74 
76  bool TrackerKeep(DetId id) const;
78  bool MuonKeep(DetId id) const;
79 
80 protected:
81 private:
93 
96 
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 
110 
113 
116 
119 
122 
125 
127 };
128 #endif
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theMFToken
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
const edm::ESGetToken< Propagator, TrackingComponentsRecord > theOIpropToken
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theMuonRecHitBuildToken
void setServices(const edm::EventSetup &) override
set the services needed by the TrackTransformer
bool MuonKeep(DetId id) const
check (via options) if this is a muon rec hit for removal
const MagneticField * magneticField() const
the magnetic field
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const
std::vector< Trajectory > transform(const reco::Track &) const override
Convert a reco::Track into Trajectory.
const edm::ESGetToken< Propagator, TrackingComponentsRecord > theIOpropToken
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
const edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > thGlobTrackGeoToken
std::vector< ConstRecHitPointer > ConstRecHitContainer
const edm::ESGetToken< TrajectorySmoother, TrajectoryFitter::Record > theIOSmootherToken
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition: DetId.h:17
edm::ESHandle< TrajectorySmoother > smoother(bool) const
the smoother used to smooth the trajectory which came from the refitting step
const edm::ESGetToken< TrajectoryFitter, TrajectoryFitter::Record > theIOFitterToken
bool TrackerKeep(DetId id) const
check (via options) if this is a tracker rec hit for removal
const edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theTkRecHitBuildToken
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > theTopologyToken
fixed size matrix
HLT enums.
const edm::ESGetToken< TrajectoryFitter, TrajectoryFitter::Record > theOIFitterToken
TrackTransformerForGlobalCosmicMuons(const edm::ParameterSet &, edm::ConsumesCollector)
Constructor.
edm::ESHandle< TrajectoryFitter > fitter(bool) const
the refitter used to refit the reco::Track
const edm::ESGetToken< TrajectorySmoother, TrajectoryFitter::Record > theOISmootherToken
edm::ESHandle< Propagator > propagator(bool) const