CMS 3D CMS Logo

SeedTransformer.h
Go to the documentation of this file.
1 #ifndef SeedTransformer_H
2 #define SeedTransformer_H
3 
12 // Base class header
15 
16 #include <vector>
17 
18 namespace edm {
19  class ParameterSet;
20  class EventSetup;
21  class ConsumesCollector;
22 } // namespace edm
23 class Trajectory;
24 class TrajectorySeed;
27 class MagneticField;
29 class Propagator;
34 
36 public:
39 
41  virtual ~SeedTransformer();
42 
43  // Operations
45  void setServices(const edm::EventSetup&);
46 
48  std::vector<Trajectory> seedTransform(const TrajectorySeed&) const;
50 
51 protected:
52 private:
58 
64 
66  unsigned int nMinRecHits;
67 
69  double errorRescale;
70 
72 };
73 #endif
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theMagneticFieldToken
void setServices(const edm::EventSetup &)
Set the services needed by the SeedTransformer.
const GlobalTrackingGeometry * theTrackingGeometry
const MagneticField * theMagneticField
virtual ~SeedTransformer()
Destructor.
SeedTransformer(const edm::ParameterSet &, edm::ConsumesCollector)
Constructor.
double errorRescale
Error rescale factor.
edm::ESGetToken< TrajectoryFitter, TrajectoryFitter::Record > theFitterToken
const TransientTrackingRecHitBuilder * theMuonRecHitBuilder
const Propagator * thePropagator
std::vector< Trajectory > seedTransform(const TrajectorySeed &) const
Performs the fit.
const TrajectoryFitter * theFitter
unsigned int nMinRecHits
Minimum number of RecHits required to perform the fit.
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > theTrackingGeometryToken
HLT enums.
edm::ESGetToken< Propagator, TrackingComponentsRecord > thePropagatorToken
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theMuonRecHitBuilderToken
TrajectoryStateOnSurface seedTransientState(const TrajectorySeed &) const