CMS 3D CMS Logo

TrackTransformerForCosmicMuons.h
Go to the documentation of this file.
1 #ifndef TrackingTools_TrackRefitter_TrackTransformerForCosmicMuons_H
2 #define TrackingTools_TrackRefitter_TrackTransformerForCosmicMuons_H
3 
23 
25 
27 
29 
31 
35 
37 
38 namespace edm {
39  class ParameterSet;
40  class EventSetup;
41 } // namespace edm
42 namespace reco {
43  class TransientTrack;
44 }
45 
46 class TrajectoryFitter;
47 class TrajectorySmoother;
48 class Propagator;
50 class Trajectory;
51 
53 public:
56 
59 
60  // Operations
61 
63  std::vector<Trajectory> transform(const reco::Track&) const override;
64 
66  const MagneticField* magneticField() const { return &*theMGField; }
67 
70 
72  void setServices(const edm::EventSetup&) override;
73 
77 
79  edm::ESHandle<TrajectoryFitter> fitter(bool, int, float) const;
80 
82  edm::ESHandle<TrajectorySmoother> smoother(bool, int, float) const;
83 
85 
86 protected:
87 private:
90 
91  edm::ESHandle<Propagator> propagator(bool, int, float) const;
92 
93  unsigned long long theCacheId_TC;
94  unsigned long long theCacheId_GTG;
95  unsigned long long theCacheId_MG;
96  unsigned long long theCacheId_TRH;
97 
99 
102 
105 
108 
111 
114 };
115 #endif
TrackTransformerForCosmicMuons::theMuonRecHitBuilderName
std::string theMuonRecHitBuilderName
Definition: TrackTransformerForCosmicMuons.h:112
TrackTransformerForCosmicMuons::smoother
edm::ESHandle< TrajectorySmoother > smoother(bool, int, float) const
the smoother used to smooth the trajectory which came from the refitting step
Definition: TrackTransformerForCosmicMuons.cc:223
RefitDirection.h
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11713
TrackTransformerForCosmicMuons::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition: TrackTransformerForCosmicMuons.h:100
TrackTransformerForCosmicMuons::theSmootherIO
edm::ESHandle< TrajectorySmoother > theSmootherIO
Definition: TrackTransformerForCosmicMuons.h:106
ESHandle.h
TrackTransformerForCosmicMuons::SumDy
float SumDy(const TransientTrackingRecHit::ConstRecHitContainer &) const
decide if the track should be reversed
Definition: TrackTransformerForCosmicMuons.cc:485
edm
HLT enums.
Definition: AlignableModifier.h:19
TrackTransformerForCosmicMuons::theRPCInTheFit
bool theRPCInTheFit
Definition: TrackTransformerForCosmicMuons.h:98
TrackTransformerForCosmicMuons::setServices
void setServices(const edm::EventSetup &) override
set the services needed by the TrackTransformer
Definition: TrackTransformerForCosmicMuons.cc:46
TransientTrackingRecHit.h
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
TrackTransformerForCosmicMuons::thePropagatorIO
edm::ESHandle< Propagator > thePropagatorIO
Definition: TrackTransformerForCosmicMuons.h:88
TrackTransformerForCosmicMuons::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition: TrackTransformerForCosmicMuons.h:69
TrajectorySmoother
Definition: TrajectorySmoother.h:11
Propagator
Definition: Propagator.h:44
TrackFwd.h
TrackTransformerForCosmicMuons::theMGField
edm::ESHandle< MagneticField > theMGField
Definition: TrackTransformerForCosmicMuons.h:101
TrackTransformerForCosmicMuons::theTrackerRecHitBuilderName
std::string theTrackerRecHitBuilderName
Definition: TrackTransformerForCosmicMuons.h:109
reco::Track
Definition: Track.h:27
TrackTransformerForCosmicMuons::theCacheId_TC
unsigned long long theCacheId_TC
Definition: TrackTransformerForCosmicMuons.h:93
edm::ESHandle< GlobalTrackingGeometry >
TrackTransformerForCosmicMuons::propagator
edm::ESHandle< Propagator > propagator(bool, int, float) const
Definition: TrackTransformerForCosmicMuons.cc:254
TrackTransformerForCosmicMuons::theMuonRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
Definition: TrackTransformerForCosmicMuons.h:113
TrackTransformerForCosmicMuons::theFitterIO
edm::ESHandle< TrajectoryFitter > theFitterIO
Definition: TrackTransformerForCosmicMuons.h:103
TrackTransformerForCosmicMuons::theFitterOI
edm::ESHandle< TrajectoryFitter > theFitterOI
Definition: TrackTransformerForCosmicMuons.h:104
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
TrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition: TrackingRecHit.h:32
TrackTransformerForCosmicMuons::theCacheId_TRH
unsigned long long theCacheId_TRH
Definition: TrackTransformerForCosmicMuons.h:96
TrackTransformerForCosmicMuons::magneticField
const MagneticField * magneticField() const
the magnetic field
Definition: TrackTransformerForCosmicMuons.h:66
TrackTransformerForCosmicMuons::theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
Definition: TrackTransformerForCosmicMuons.h:110
TrackTransformerBase.h
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:58
TrackTransformerBase
Definition: TrackTransformerBase.h:17
TrackTransformerForCosmicMuons::SlopeSum
bool SlopeSum(const TransientTrackingRecHit::ConstRecHitContainer &) const
calculate the sum of slopes for the track
Definition: TrackTransformerForCosmicMuons.cc:429
TrackTransformerForCosmicMuons::getTransientRecHits
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const
Definition: TrackTransformerForCosmicMuons.cc:89
TrajectoryFitter
Definition: TrajectoryFitter.h:19
TrackTransformerForCosmicMuons::theCacheId_MG
unsigned long long theCacheId_MG
Definition: TrackTransformerForCosmicMuons.h:95
reco::TransientTrack
Definition: TransientTrack.h:19
TrackTransformerForCosmicMuons::fitter
edm::ESHandle< TrajectoryFitter > fitter(bool, int, float) const
the refitter used to refit the reco::Track
Definition: TrackTransformerForCosmicMuons.cc:190
Trajectory
Definition: Trajectory.h:38
TrackTransformerForCosmicMuons::~TrackTransformerForCosmicMuons
~TrackTransformerForCosmicMuons() override
Destructor.
Definition: TrackTransformerForCosmicMuons.cc:44
TrackTransformerForCosmicMuons::theCacheId_GTG
unsigned long long theCacheId_GTG
Definition: TrackTransformerForCosmicMuons.h:94
TrackTransformerForCosmicMuons::TrackTransformerForCosmicMuons
TrackTransformerForCosmicMuons(const edm::ParameterSet &)
Constructor.
Definition: TrackTransformerForCosmicMuons.cc:34
TrackTransformerForCosmicMuons::transform
std::vector< Trajectory > transform(const reco::Track &) const override
Convert a reco::Track into Trajectory.
Definition: TrackTransformerForCosmicMuons.cc:286
EventSetup
TrackTransformerForCosmicMuons
Definition: TrackTransformerForCosmicMuons.h:52
GlobalTrackingGeometry.h
MagneticField
Definition: MagneticField.h:19
TransientTrackingRecHitBuilder
Definition: TransientTrackingRecHitBuilder.h:6
TrackTransformerForCosmicMuons::thePropagatorOI
edm::ESHandle< Propagator > thePropagatorOI
Definition: TrackTransformerForCosmicMuons.h:89
TrackTransformerForCosmicMuons::theSmootherOI
edm::ESHandle< TrajectorySmoother > theSmootherOI
Definition: TrackTransformerForCosmicMuons.h:107