Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsTrackingGeometry.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ActsTrackingGeometry.h
1 #ifndef TRACKBASE_ACTSTRACKINGGEOMETRY_H
2 #define TRACKBASE_ACTSTRACKINGGEOMETRY_H
3 
4 #include <memory>
8 
13 
20  ActsTrackingGeometry(std::shared_ptr<const Acts::TrackingGeometry> tGeo,
21  //ActsTrackingGeometry(std::shared_ptr<Acts::TrackingGeometry> tGeo,
22  std::shared_ptr<Acts::MagneticFieldProvider> mag,
24  Acts::GeometryContext geoCtxt,
25  Acts::MagneticFieldContext magFieldCtxt)
26  : tGeometry(tGeo)
27  , magField(mag)
28  , calibContext(calib)
29  , geoContext(geoCtxt)
30  , magFieldContext(magFieldCtxt)
31  {}
32 
34  std::shared_ptr<const Acts::TrackingGeometry> tGeometry;
35  //std::shared_ptr<Acts::TrackingGeometry> tGeometry;
36 
37  std::shared_ptr<Acts::MagneticFieldProvider> magField;
38 
43 
45  {
46  return geoContext;
47  }
48 
49  double tpcSurfStepPhi = 0;
50  double tpcSurfStepZ = 0;
51 };
52 
53 
54 #endif