KaliVeda
1.14/2
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVVGVectorSum.cpp
1
#include "KVVGVectorSum.h"
2
3
ClassImp
(
KVVGVectorSum
)
4
5
6
7
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
KVVGVectorSum
Global variable calculating sum of 3-dimensional vectors.
Definition
KVVGVectorSum.h:26
KVVGVectorSum::init
void init()
Definition
KVVGVectorSum.cpp:28
KVVarGlob::SetNameIndex
void SetNameIndex(const Char_t *name, Int_t index)
Definition
KVVarGlob.cpp:223
ClassImp
ClassImp(TPyArg)
kaliveda.doxygen
KVMultiDet
globvars
KVVGVectorSum.cpp
Generated on Wed Oct 23 2024 12:45:21 for KaliVeda by
1.9.8