KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVVGVectorSum.cpp
1#include "KVVGVectorSum.h"
2
4
5
6
7
8Double_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
29{
30 SetNameIndex("Z", 0);
31 SetNameIndex("X", 1);
32 SetNameIndex("Y", 2);
33}
34
35
int Int_t
double Double_t
Global variable calculating sum of 3-dimensional vectors.
void SetNameIndex(const Char_t *name, Int_t index)
ClassImp(TPyArg)