EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ActsTransformations.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ActsTransformations.h
1
#ifndef TRACKRECO_ACTSTRANSFORMATIONS_H
2
#define TRACKRECO_ACTSTRANSFORMATIONS_H
3
4
#include <
trackbase/TrkrDefs.h
>
5
#include <
trackbase/ActsSurfaceMaps.h
>
6
#include <
trackbase/ActsTrackingGeometry.h
>
7
9
#include <
Acts/Utilities/BinnedArray.hpp
>
10
#include <
Acts/Utilities/Definitions.hpp
>
11
#include <
Acts/Utilities/Logger.hpp
>
12
13
#include "
SvtxTrack.h
"
14
15
#include <
ActsExamples/EventData/TrkrClusterMultiTrajectory.hpp
>
16
18
#include <cmath>
19
#include <iostream>
20
#include <memory>
21
#include <utility>
22
23
class
TrkrCluster
;
24
25
using
Trajectory
=
ActsExamples::TrkrClusterMultiTrajectory
;
26
27
35
class
ActsTransformations
36
{
37
public
:
38
ActsTransformations
() =
default
;
39
44
Acts::BoundSymMatrix
rotateSvtxTrackCovToActs
(
const
SvtxTrack
*track,
45
Acts::GeometryContext
geoCtxt)
const
;
46
48
Acts::BoundSymMatrix
rotateActsCovToSvtxTrack
(
49
const
Acts::BoundTrackParameters
params,
50
Acts::GeometryContext
geoCtxt)
const
;
51
52
void
setVerbosity
(
int
verbosity) {
m_verbosity
= verbosity;}
53
54
void
printMatrix
(
const
std::string &message,
Acts::BoundSymMatrix
matrix
)
const
;
55
58
void
calculateDCA
(
const
Acts::BoundTrackParameters
param,
59
Acts::Vector3D
vertex,
60
Acts::BoundSymMatrix
cov
,
61
Acts::GeometryContext
geoCtxt,
62
float
&dca3Dxy,
63
float
&dca3Dz,
64
float
&dca3DxyCov,
65
float
&dca3DzCov)
const
;
66
67
void
fillSvtxTrackStates
(
const
Trajectory
& traj,
68
const
size_t
&trackTip,
69
SvtxTrack
*svtxTrack,
70
Acts::GeometryContext
geoContext
)
const
;
71
72
Acts::Vector3F
getGlobalPositionF
(
TrkrCluster
* cluster,
73
ActsSurfaceMaps
* surfMaps,
74
ActsTrackingGeometry
*
tGeometry
)
const
;
75
Acts::Vector3D
getGlobalPosition
(
TrkrCluster
* cluster,
76
ActsSurfaceMaps
* surfMaps,
77
ActsTrackingGeometry
*
tGeometry
)
const
;
78
Surface
getSurface
(
TrkrCluster
* cluster,
79
ActsSurfaceMaps
* surfMaps)
const
;
80
81
private
:
82
int
m_verbosity
= 0;
83
84
Surface
getSiliconSurface
(
TrkrDefs::hitsetkey
hitsetkey
,
85
ActsSurfaceMaps
*maps)
const
;
86
Surface
getTpcSurface
(
TrkrDefs::hitsetkey
hitsetkey
,
87
TrkrDefs::subsurfkey
surfkey,
88
ActsSurfaceMaps
*maps)
const
;
89
Surface
getMMSurface
(
TrkrDefs::hitsetkey
hitsetkey
,
90
ActsSurfaceMaps
*maps)
const
;
91
92
93
};
94
95
96
#endif
fun4all_coresoftware
blob
master
offline
packages
trackbase_historic
ActsTransformations.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:46
using
1.8.2 with
EIC GitHub integration