KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVZmax.cpp
1#include "KVZmax.h"
2
4
5
6
8
9void KVZmax::init()
10{
11 //set up list of indices
12 for (int i = 1; i <= 50; i++)
13 SetNameIndex(Form("Zmax%d", i), i - 1);
14 fValueType = 'I'; // integer values
15 SetMaxNumBranches(3);
16}
17
18
19
21
22void KVZmax::Copy(TObject& a) const
23{
24 ((KVZmax&) a).Reset();
26 KVZmax& _a = dynamic_cast<KVZmax&>(a);
28}
29
30
31
32
35
36std::vector<Double_t> KVZmax::GetValueVector(void) const
37{
38 // \return vector containing ordered list of Z (all fragments)
39
40 auto size_event = GetMult();
41 std::vector<Double_t> tmp;
42 for (UInt_t u = 0; u < size_event; u++)
43 tmp.push_back(GetValue(u));
44 return tmp;
45}
46
47
unsigned int UInt_t
char * Form(const char *fmt,...)
virtual void Copy(TObject &obj) const
Double_t GetValue(void) const
Definition KVVarGlob.h:443
void Copy(TObject &obj) const
Definition KVVarGlob.h:346
Global variable used to sort particles in order of decreasing atomic number
Definition KVZmax.h:35
std::vector< Double_t > GetValueVector(void) const
Definition KVZmax.cpp:36
virtual void Copy(TObject &obj) const
Definition KVZmax.cpp:22
KVUnownedList heaviest
sorted list of pointers to nuclei, sorted by decreasing Z
Definition KVZmax.h:37
Int_t GetMult() const
Definition KVZmax.h:86
TArc a
ClassImp(TPyArg)