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 
40 
41 public:
42 
45 
48 
49  // Operations
50 
52  virtual std::vector<Trajectory> transform(const reco::Track&) const;
53 
55  const MagneticField* magneticField() const {return &*theMGField;}
56 
59 
61  virtual void setServices(const edm::EventSetup&);
62 
65 
68 
70  getTransientRecHits(const reco::TransientTrack& track) const;
71 
73  bool TrackerKeep(DetId id) const;
75  bool MuonKeep(DetId id) const;
76 
77  protected:
78 
79  private:
80 
83 
85 
86 
87  unsigned long long theCacheId_TC;
88  unsigned long long theCacheId_GTG;
89  unsigned long long theCacheId_MG;
90  unsigned long long theCacheId_TRH;
91 
98 
101 
104 
107 
110 
113 
114 };
115 #endif
116 
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