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
TpcDistortionCorrection.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TpcDistortionCorrection.h
1
#ifndef TPC_TPCDISTORTIONCORRECTION_H
2
#define TPC_TPCDISTORTIONCORRECTION_H
3
10
#include <
Acts/Definitions/Algebra.hpp
>
11
12
class
TpcDistortionCorrectionContainer
;
13
14
class
TpcDistortionCorrection
15
{
16
public
:
17
19
TpcDistortionCorrection
() =
default
;
20
21
enum
DistortionType
22
{
23
StaticOnly
=0,
24
BeamInducedAverage
=1,
25
BeamInducedFluctuation
=2
26
};
27
28
enum
CoordMask
29
{
30
COORD_PHI
= 1<<0,
31
COORD_R
= 1<<1,
32
COORD_Z
= 1<<2,
33
COORD_PHIZ
=
COORD_PHI
|
COORD_Z
,
34
COORD_ALL
=
COORD_PHI
|
COORD_R
|
COORD_Z
35
};
36
38
Acts::Vector3
get_corrected_position
(
const
Acts::Vector3
&,
const
TpcDistortionCorrectionContainer
*,
39
unsigned
int
mask
=
COORD_ALL
)
const
;
40
42
void
read_phi_as_radians
(
bool
flag=
true
){
43
m_phi_hist_in_radians
=flag;
44
return
;
45
}
46
private
:
47
bool
m_phi_hist_in_radians
=
true
;
48
};
49
50
#endif
coresoftware
blob
master
offline
packages
tpc
TpcDistortionCorrection.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration