Belle II Software
release-06-01-15
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
PhotosRandom.h
1
#ifndef _PhotosRandom_included_
2
#define _PhotosRandom_included_
3
17
namespace
Photospp {
18
19
class
PhotosRandom
{
20
public
:
21
/* Change the seed. Default is s1=1802 and s2=9373
22
These values must be in range [0,31327] and [0,30080] respectively */
23
static
void
setSeed(
int
s1,
int
s2);
24
25
/* Initialization routine. Must be called at least once before
26
the generator can be used. */
27
static
void
initialize();
28
29
/* Uniform distribution between 0 and 1 */
30
static
double
randomReal();
31
32
protected
:
33
static
bool
init;
34
static
int
iseed[2];
35
static
int
i97;
36
static
int
j97;
37
static
double
uran[97];
38
static
double
cran;
39
static
const
double
cdran;
40
static
const
double
cmran;
41
};
42
43
}
// namespace Photospp
44
#endif
Photospp::PhotosRandom
Definition:
PhotosRandom.h:19
generators
kkmc
photospp
PhotosRandom.h
Generated on Fri Dec 8 2023 04:20:25 for Belle II Software by
1.9.1