KaliVeda
1.15/6
Toolkit for HIC analysis
KVCouple.h
1
4
#ifndef __KVCOUPLE_H
5
#define __KVCOUPLE_H
6
7
#include "
Rtypes.h
"
8
#include "
TMath.h
"
9
16
class
KVCouple
{
17
18
protected
:
19
std::vector<Int_t> tz1;
20
std::vector<Int_t> tz2;
21
Int_t
current_idx;
22
Int_t
zlim;
23
Int_t
nbre;
24
Int_t
zfra;
25
Int_t
zmax;
26
Bool_t
init;
27
28
public
:
29
KVCouple
();
30
31
KVCouple
(
Int_t
zf,
Int_t
zsup);
32
KVCouple
(
Int_t
zf,
Int_t
zsup,
Int_t
div);
33
34
void
ResetVars
()
35
{
36
current_idx = 0;
37
zlim = 0;
38
nbre = 0;
39
zfra = 0;
40
zmax = 0;
41
init
=
kFALSE
;
42
}
43
44
virtual
~KVCouple
()
45
{
46
ResetVars
();
47
init
=
kFALSE
;
48
}
49
50
Int_t
GetZ1
(
Int_t
idx)
51
{
52
return
tz1[idx];
53
}
54
Int_t
GetZ2
(
Int_t
idx)
55
{
56
return
tz2[idx];
57
}
58
Int_t
GetNbreCouples
()
59
{
60
return
nbre;
61
}
62
63
64
ClassDef
(
KVCouple
, 1)
//Handle binary decomposition of an integer
65
};
66
67
#endif
Int_t
int Int_t
Bool_t
bool Bool_t
kFALSE
constexpr Bool_t kFALSE
Rtypes.h
ClassDef
#define ClassDef(name, id)
TMath.h
KVCouple
Handles binary decomposition of an integer.
Definition:
KVCouple.h:16
KVCouple::GetNbreCouples
Int_t GetNbreCouples()
Definition:
KVCouple.h:58
KVCouple::~KVCouple
virtual ~KVCouple()
Definition:
KVCouple.h:44
KVCouple::GetZ2
Int_t GetZ2(Int_t idx)
Definition:
KVCouple.h:54
KVCouple::KVCouple
KVCouple()
Default constructor.
Definition:
KVCouple.cpp:13
KVCouple::GetZ1
Int_t GetZ1(Int_t idx)
Definition:
KVCouple.h:50
KVCouple::ResetVars
void ResetVars()
Definition:
KVCouple.h:34
init
void init()
kaliveda.doxygen
src
core
base
KVCouple.h
Generated on Wed Aug 5 2026 08:50:01 for KaliVeda by
1.9.1