KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVRiso.h
1#ifndef KVRiso_h
2#define KVRiso_h
3#include "KVVarGlob.h"
4
38class KVRiso: public KVVarGlob {
39
44
45 void init();
46
47protected:
49 void fill(const KVNucleus*);
50
51public:
52 KVRiso() : KVVarGlob("KVRiso")
53 {
54 init();
55 }
56 KVRiso(const Char_t* nom) : KVVarGlob(nom)
57 {
58 init();
59 }
60 ROOT_COPY_CTOR(KVRiso, KVVarGlob)
61 ROOT_COPY_ASSIGN_OP(KVRiso)
62 virtual ~KVRiso() {}
63
64 void Copy(TObject& obj) const;
65
66 void Init(void)
67 {
68 }
69 void Reset(void)
70 {
71 Epar = Etrans = 0;
72 Mult = 0;
73 }
74 void Calculate();
76 {
78 if (i == 3) return 'I';
79 return 'D';
80 }
81
82 ClassDef(KVRiso, 1)// Global variable Riso=Sum(epar)/2*Sum(eper)
83};
84#endif
int Int_t
char Char_t
double Double_t
#define ClassDef(name, id)
Description of properties and kinematics of atomic nuclei.
Definition KVNucleus.h:126
Energy isotropy ratio .
Definition KVRiso.h:38
Double_t getvalue_int(Int_t) const
Definition KVRiso.cpp:65
Char_t GetValueType(Int_t i) const
Definition KVRiso.h:75
void init()
Definition KVRiso.cpp:8
Double_t Epar
Definition KVRiso.h:41
void Copy(TObject &obj) const
Definition KVRiso.cpp:24
void Init(void)
Definition KVRiso.h:66
void Reset(void)
Definition KVRiso.h:69
Int_t Mult
Definition KVRiso.h:43
KVRiso()
Definition KVRiso.h:52
void Calculate()
Definition KVRiso.cpp:40
Double_t Riso
Definition KVRiso.h:40
KVRiso(const Char_t *nom)
Definition KVRiso.h:56
Double_t Etrans
Definition KVRiso.h:42
void fill(const KVNucleus *)
Definition KVRiso.cpp:100
Base class for all global variable implementations.
Definition KVVarGlob.h:233