Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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>
5
#include <
Acts/Utilities/BinnedArray.hpp
>
6
#include <
Acts/Definitions/Algebra.hpp
>
7
#include <
Acts/Utilities/Logger.hpp
>
8
9
#include <
Acts/Geometry/TrackingGeometry.hpp
>
10
#include <
Acts/MagneticField/MagneticFieldContext.hpp
>
11
#include <
Acts/Utilities/CalibrationContext.hpp
>
12
#include <
Acts/MagneticField/MagneticFieldProvider.hpp
>
13
18
struct
ActsTrackingGeometry
{
19
ActsTrackingGeometry
(){}
20
ActsTrackingGeometry
(std::shared_ptr<const Acts::TrackingGeometry> tGeo,
21
//ActsTrackingGeometry(std::shared_ptr<Acts::TrackingGeometry> tGeo,
22
std::shared_ptr<Acts::MagneticFieldProvider> mag,
23
Acts::CalibrationContext
calib,
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
40
Acts::CalibrationContext
calibContext
;
41
Acts::GeometryContext
geoContext
;
42
Acts::MagneticFieldContext
magFieldContext
;
43
44
Acts::GeometryContext
&
getGeoContext
()
45
{
46
return
geoContext
;
47
}
48
49
double
tpcSurfStepPhi
= 0;
50
double
tpcSurfStepZ
= 0;
51
};
52
53
54
#endif
coresoftware
blob
master
offline
packages
trackbase
ActsTrackingGeometry.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration