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
ActsGeometry.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ActsGeometry.h
1
#ifndef TRACKBASE_ACTSGEOMETRY_H
2
#define TRACKBASE_ACTSGEOMETRY_H
3
4
#include "
ActsSurfaceMaps.h
"
5
6
#include <
Acts/Definitions/Units.hpp
>
7
8
class
TrkrCluster
;
9
10
class
ActsGeometry
{
11
12
public
:
13
ActsGeometry
() =
default
;
14
~ActsGeometry
() {}
15
16
void
setGeometry
(
ActsTrackingGeometry
&
tGeometry
)
17
{
m_tGeometry
=
tGeometry
; }
18
19
void
setSurfMaps
(
ActsSurfaceMaps
& surfMaps)
20
{
m_surfMaps
= surfMaps; }
21
22
ActsTrackingGeometry
&
geometry
()
23
{
return
m_tGeometry
; }
24
ActsSurfaceMaps
&
maps
()
25
{
return
m_surfMaps
; }
26
27
void
set_drift_velocity
(
double
vd) {
_drift_velocity
= vd;}
28
double
get_drift_velocity
() {
return
_drift_velocity
;}
29
30
Eigen::Matrix<float,3,1>
getGlobalPositionF
(
31
TrkrDefs:: cluskey
key,
32
TrkrCluster
* cluster);
33
34
Acts::Vector3
getGlobalPosition
(
35
TrkrDefs:: cluskey
key,
36
TrkrCluster
* cluster);
37
38
Acts::Vector3
getGlobalPositionTpc
(
39
TrkrDefs:: cluskey
key,
40
TrkrCluster
* cluster);
41
42
Surface
get_tpc_surface_from_coords
(
43
TrkrDefs::hitsetkey
hitsetkey
,
44
Acts::Vector3
world,
45
TrkrDefs::subsurfkey
&
subsurfkey
);
46
47
Acts::Transform3
makeAffineTransform
(
Acts::Vector3
rotation,
Acts::Vector3
translation
);
48
49
Acts::Vector2
getLocalCoords
(
TrkrDefs::cluskey
key,
TrkrCluster
* cluster);
50
51
private
:
52
ActsTrackingGeometry
m_tGeometry
;
53
ActsSurfaceMaps
m_surfMaps
;
54
55
double
_drift_velocity
= 8.0e-3;
// cm/ns
56
};
57
58
#endif
coresoftware
blob
master
offline
packages
trackbase
ActsGeometry.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration