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
TpcLoadDistortionCorrection.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TpcLoadDistortionCorrection.h
1
#ifndef TPC_TPCLOADDISTORTIONCORRECTION_H
2
#define TPC_TPCLOADDISTORTIONCORRECTION_H
3
10
#include <
fun4all/SubsysReco.h
>
11
#include <
phool/PHObject.h
>
12
#include <
phool/PHTimer.h
>
13
#include <
trackbase/TrkrDefs.h
>
14
15
#include <array>
16
17
class
TH3;
18
19
class
TpcLoadDistortionCorrection
:
public
SubsysReco
20
{
21
public
:
22
24
TpcLoadDistortionCorrection
(
const
std::string
& =
"TpcLoadDistortionCorrection"
);
25
27
int
InitRun
(
PHCompositeNode
*)
override
;
28
30
int
process_event
(
PHCompositeNode
*)
override
;
31
33
void
set_distortion_filename
(
const
std::string
&
value
)
34
{
set_correction_filename
(0,value);}
35
37
void
set_correction_filename
(
int
i
,
const
std::string
&
value
)
38
{
if
(i<0 || i>=3)
return
;
39
m_correction_filename
[
i
] =
value
;
40
m_correction_in_use
[
i
]=
true
;}
41
43
void
set_node_name
(
const
std::string
&
value
)
44
{
m_node_name
[0] =
value
; }
45
void
set_node_name
(
int
i
,
const
std::string
&
value
)
46
{
m_node_name
[
i
] =
value
; }
47
48
private
:
49
51
std::string
m_correction_filename
[3]={
""
,
""
,
""
};
52
54
bool
m_correction_in_use
[3]={
false
,
false
,
false
};
55
57
std::string
m_node_name
[3] = {
"TpcDistortionCorrectionContainerStatic"
,
"TpcDistortionCorrectionContainerAverage"
,
"TpcDistortionCorrectionContainerFluctuation"
};
58
59
};
60
61
#endif
coresoftware
blob
master
offline
packages
tpc
TpcLoadDistortionCorrection.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration