test
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 
17 
19 
21 
25 
27 
28 namespace edm {class ParameterSet; class EventSetup;}
29 namespace reco {class TransientTrack;}
30 
31 class TrajectoryFitter;
32 class TrajectorySmoother;
33 class Propagator;
35 class Trajectory;
36 class TrackerTopology;
37 
39 
40 public:
41 
44 
47 
48  // Operations
49 
51  virtual std::vector<Trajectory> transform(const reco::Track&) const;
52 
54  const MagneticField* magneticField() const {return &*theMGField;}
55 
58 
60  virtual void setServices(const edm::EventSetup&);
61 
64 
67 
69  getTransientRecHits(const reco::TransientTrack& track) const;
70 
72  bool TrackerKeep(DetId id) const;
74  bool MuonKeep(DetId id) const;
75 
76  protected:
77 
78  private:
79 
82 
84 
85 
86  unsigned long long theCacheId_TC;
87  unsigned long long theCacheId_GTG;
88  unsigned long long theCacheId_MG;
89  unsigned long long theCacheId_TRH;
90 
97 
100 
103 
106 
109 
112 
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:18
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