KaliVeda
Toolkit for HIC analysis
KVVGVectorSum.cpp
1 #include "KVVGVectorSum.h"
2 
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 Int_t
double Double_t
const TVector3 & GetSumObject() const
Definition: KVVGObjectSum.h:57
Global variable calculating sum of 3-dimensional vectors.
Definition: KVVGVectorSum.h:28
Double_t Z() const
Double_t Y() const
Double_t X() const
ClassImp(TPyArg)