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
TpcSpaceChargeMatrixContainer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TpcSpaceChargeMatrixContainer.h
1
#ifndef TPCCALIB_TPCSPACECHARGEMATRIXCONTAINER_H
2
#define TPCCALIB_TPCSPACECHARGEMATRIXCONTAINER_H
3
11
#include <
phool/PHObject.h
>
12
13
#include <array>
14
18
class
TpcSpaceChargeMatrixContainer
:
public
PHObject
19
{
20
public
:
21
23
TpcSpaceChargeMatrixContainer
()
24
{}
25
27
~TpcSpaceChargeMatrixContainer
()
override
=
default
;
28
30
31
33
void
identify
(std::ostream &
/*os*/
= std::cout)
const override
34
{}
35
37
virtual
void
get_grid_dimensions
(
int
&
/*phibins*/
,
int
&
/*rbins*/
,
int
&
/*zbins*/
)
const
38
{}
39
41
virtual
int
get_grid_size
()
const
42
{
return
0; }
43
45
virtual
int
get_cell_index
(
int
/*iphibin*/
,
int
/*irbin*/
,
int
/*izbin*/
)
const
46
{
return
-1; }
47
49
virtual
int
get_entries
(
int
/*cell_index*/
)
const
50
{
return
0; }
51
53
virtual
float
get_lhs
(
int
/*cell_index*/
,
int
/*i*/
,
int
/*j*/
)
const
54
{
return
0; }
55
57
virtual
float
get_rhs
(
int
/*cell_index*/
,
int
/*i*/
)
const
58
{
return
0; }
59
61
63
64
66
void
Reset
()
override
67
{}
68
70
74
virtual
void
set_grid_dimensions
(
int
/*phibins*/
,
int
/*rbins*/
,
int
/*zbins*/
)
75
{}
76
78
virtual
void
add_to_entries
(
int
/*cell_index*/
)
79
{}
80
82
virtual
void
add_to_entries
(
int
/*cell_index*/
,
int
/*value*/
)
83
{}
84
86
virtual
void
add_to_lhs
(
int
/*cell_index*/
,
int
/*i*/
,
int
/*j*/
,
float
/*value*/
)
87
{}
88
90
virtual
void
add_to_rhs
(
int
/*cell_index*/
,
int
/*i*/
,
float
/*value*/
)
91
{}
92
94
virtual
bool
add
(
const
TpcSpaceChargeMatrixContainer
&
/*other*/
)
95
{
return
false
; }
96
98
99
private
:
100
101
ClassDefOverride(
TpcSpaceChargeMatrixContainer
, 1)
102
103
};
104
105
#endif
fun4all_coresoftware
blob
master
offline
packages
tpccalib
TpcSpaceChargeMatrixContainer.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:45
using
1.8.2 with
EIC GitHub integration