KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVVGVectorSum.cpp
Go to the documentation of this file.
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 
29 {
30  SetNameIndex("Z", 0);
31  SetNameIndex("X", 1);
32  SetNameIndex("Y", 2);
33 }
34 
35 
int Int_t
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
double Double_t
Global variable calculating sum of 3-dimensional vectors.
Definition: KVVGVectorSum.h:25
void SetNameIndex(const Char_t *name, Int_t index)
Definition: KVVarGlob.cpp:223