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
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/ActsGeometry.h
>
6
#include <
trackbase/ActsTrackFittingAlgorithm.h
>
7
9
#include <
Acts/Utilities/BinnedArray.hpp
>
10
#include <
Acts/Definitions/Algebra.hpp
>
11
#include <
Acts/Utilities/Logger.hpp
>
12
#include <
Acts/EventData/VectorMultiTrajectory.hpp
>
13
14
#include "
SvtxTrack.h
"
15
17
#include <cmath>
18
#include <iostream>
19
#include <memory>
20
#include <utility>
21
22
// forward declarations
23
class
SvtxTrack
;
24
class
SvtxTrackState
;
25
class
TrkrCluster
;
26
34
class
ActsTransformations
35
{
36
public
:
37
ActsTransformations
() =
default
;
38
43
Acts::BoundSquareMatrix
rotateSvtxTrackCovToActs
(
const
SvtxTrack
* )
const
;
44
49
Acts::BoundSquareMatrix
rotateSvtxTrackCovToActs
(
const
SvtxTrackState
* )
const
;
50
53
Acts::BoundSquareMatrix
rotateActsCovToSvtxTrack
(
const
ActsTrackFittingAlgorithm::TrackParameters
& )
const
;
54
55
void
setVerbosity
(
int
verbosity
) {
m_verbosity
=
verbosity
;}
56
57
void
printMatrix
(
const
std::string
&
message
,
const
Acts::BoundSquareMatrix
& matrix)
const
;
58
61
void
calculateDCA
(
const
ActsTrackFittingAlgorithm::TrackParameters
param,
62
Acts::Vector3
vertex
,
63
Acts::BoundSquareMatrix
cov
,
64
Acts::GeometryContext
& geoCtxt,
65
float
&dca3Dxy,
66
float
&dca3Dz,
67
float
&dca3DxyCov,
68
float
&dca3DzCov)
const
;
69
70
void
fillSvtxTrackStates
(
const
Acts::ConstVectorMultiTrajectory
& traj,
71
const
size_t
& trackTip,
72
SvtxTrack
*svtxTrack,
73
Acts::GeometryContext
&
geoContext
)
const
;
74
75
private
:
76
int
m_verbosity
= 0;
77
78
79
};
80
81
82
#endif
coresoftware
blob
master
offline
packages
trackbase_historic
ActsTransformations.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration