Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsPropagator.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ActsPropagator.h
1 
2 #ifndef ACTSPROPAGATOR_H
3 #define ACTSPROPAGATOR_H
4 
6 
9 
10 #pragma GCC diagnostic push
11 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
13 #pragma GCC diagnostic pop
14 #pragma GCC diagnostic push
15 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
17 #pragma GCC diagnostic pop
20 
22 
23 #include <trackbase/ActsGeometry.h>
24 
25 class SvtxTrack;
26 class SvtxVertex;
27 class SvtxVertexMap;
28 class SvtxTrackState;
29 
31 {
32  public:
36  using BoundTrackParamPair = std::pair<float, BoundTrackParam>;
38  using SurfacePtr = std::shared_ptr<const Acts::Surface>;
42 
45  : m_geometry(geometry)
46  {
47  }
49 
55  SvtxVertexMap* vertexMap);
57  int trackCharge,
59 
66  const unsigned int sphenixLayer);
68  const SurfacePtr& surface);
74  const SurfacePtr& surface);
75 
76  bool checkLayer(const unsigned int& sphenixlayer,
77  unsigned int& actsvolume,
78  unsigned int& actslayer);
79  void verbosity(int verb) { m_verbosity = verb; }
81  void constField() { m_constField = true; }
82  void setOverstepLimit(const double overstep) { m_overstepLimit = overstep; }
85 
86  private:
87  void printTrackParams(const Acts::BoundTrackParameters& params);
88 
89  int m_verbosity = 0;
90 
91  bool m_constField = false;
92 
94 
96 
98  float m_overstepLimit = 0.01 * Acts::UnitConstants::cm; // sphenix units cm
99 };
100 
101 #endif