CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackTransformerForGlobalCosmicMuons.h
Go to the documentation of this file.
1 #ifndef TrackingTools_TrackRefitter_TrackTransformerForGlobalCosmicMuons_H
2 #define TrackingTools_TrackRefitter_TrackTransformerForGlobalCosmicMuons_H
3 
19 
21 
23 
27 
29 
30 namespace edm {class ParameterSet; class EventSetup;}
31 namespace reco {class TransientTrack;}
32 
33 class TrajectoryFitter;
34 class TrajectorySmoother;
35 class Propagator;
37 class Trajectory;
38 class TrackerTopology;
39 
41 
42 public:
43 
46 
49 
50  // Operations
51 
53  virtual std::vector<Trajectory> transform(const reco::Track&) const;
54 
56  const MagneticField* magneticField() const {return &*theMGField;}
57 
60 
62  virtual void setServices(const edm::EventSetup&);
63 
66 
69 
71  getTransientRecHits(const reco::TransientTrack& track) const;
72 
74  bool TrackerKeep(DetId id) const;
76  bool MuonKeep(DetId id) const;
77 
78  protected:
79 
80  private:
81 
84 
86 
87 
88  unsigned long long theCacheId_TC;
89  unsigned long long theCacheId_GTG;
90  unsigned long long theCacheId_MG;
91  unsigned long long theCacheId_TRH;
92 
99 
102 
105 
108 
111 
114 
116 };
117 #endif
118 
bool TrackerKeep(DetId id) const
check (via options) if this is a tracker rec hit for removal
edm::ESHandle< TrajectoryFitter > fitter(bool) const
the refitter used to refit the reco::Track
virtual void setServices(const edm::EventSetup &)
set the services needed by the TrackTransformer
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
edm::ESHandle< TrajectorySmoother > smoother(bool) const
the smoother used to smooth the trajectory which came from the refitting step
bool MuonKeep(DetId id) const
check (via options) if this is a muon rec hit for removal
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
std::vector< ConstRecHitPointer > ConstRecHitContainer
virtual std::vector< Trajectory > transform(const reco::Track &) const
Convert a reco::Track into Trajectory.
Definition: DetId.h:20
TrackTransformerForGlobalCosmicMuons(const edm::ParameterSet &)
Constructor.
edm::ESHandle< Propagator > propagator(bool) const
const MagneticField * magneticField() const
the magnetic field
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const