KaliVeda
1.15/6
Toolkit for HIC analysis
KVVGVectorSum.cpp
1
#include "KVVGVectorSum.h"
2
3
ClassImp
(
KVVGVectorSum
)
4
5
6
8
Double_t
KVVGVectorSum::getvalue_int(
Int_t
i)
const
9
{
10
switch
(i) {
11
case
0:
12
default
:
13
return
GetSumObject
().
Z
();
14
break
;
15
case
1:
16
return
GetSumObject
().
X
();
17
break
;
18
case
2:
19
return
GetSumObject
().
Y
();
20
break
;
21
}
22
}
23
24
25
27
28
void
KVVGVectorSum::init()
29
{
30
SetNameIndex(
"Z"
, 0);
31
SetNameIndex(
"X"
, 1);
32
SetNameIndex(
"Y"
, 2);
33
}
34
35
Int_t
int Int_t
Double_t
double Double_t
KVVGObjectSum< TVector3 >::GetSumObject
const TVector3 & GetSumObject() const
Definition:
KVVGObjectSum.h:57
KVVGVectorSum
Global variable calculating sum of 3-dimensional vectors.
Definition:
KVVGVectorSum.h:28
TVector3::Z
Double_t Z() const
TVector3::Y
Double_t Y() const
TVector3::X
Double_t X() const
ClassImp
ClassImp(TPyArg)
kaliveda.doxygen
src
core
globvars
KVVGVectorSum.cpp
Generated on Wed Aug 5 2026 08:50:05 for KaliVeda by
1.9.1