KaliVeda
1.14/2
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVCouple.h
1
3
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::nbre
Int_t nbre
Definition
KVCouple.h:23
KVCouple::tz1
std::vector< Int_t > tz1
Definition
KVCouple.h:19
KVCouple::current_idx
Int_t current_idx
Definition
KVCouple.h:21
KVCouple::~KVCouple
virtual ~KVCouple()
Definition
KVCouple.h:44
KVCouple::zfra
Int_t zfra
Definition
KVCouple.h:24
KVCouple::zmax
Int_t zmax
Definition
KVCouple.h:25
KVCouple::init
Bool_t init
Definition
KVCouple.h:26
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::zlim
Int_t zlim
Definition
KVCouple.h:22
KVCouple::ResetVars
void ResetVars()
Definition
KVCouple.h:34
KVCouple::tz2
std::vector< Int_t > tz2
Definition
KVCouple.h:20
kaliveda.doxygen
KVMultiDet
base
KVCouple.h
Generated on Wed Oct 23 2024 12:45:19 for KaliVeda by
1.9.8