Analysis Software
Documentation for sPHENIX simulation software
 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 
7 
8 class TrkrCluster;
9 
10 class ActsGeometry {
11 
12  public:
13  ActsGeometry() = default;
15 
17  { m_tGeometry = tGeometry; }
18 
19  void setSurfMaps(ActsSurfaceMaps& surfMaps)
20  { m_surfMaps = surfMaps; }
21 
23  { return m_tGeometry; }
25  { return m_surfMaps; }
26 
27  void set_drift_velocity(double vd) {_drift_velocity = vd;}
29 
30  Eigen::Matrix<float,3,1> getGlobalPositionF(
31  TrkrDefs:: cluskey key,
32  TrkrCluster* cluster);
33 
35  TrkrDefs:: cluskey key,
36  TrkrCluster* cluster);
37 
39  TrkrDefs:: cluskey key,
40  TrkrCluster* cluster);
41 
44  Acts::Vector3 world,
46 
48 
50 
51  private:
54 
55  double _drift_velocity = 8.0e-3; // cm/ns
56 };
57 
58 #endif