Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
n
o
p
r
s
t
z
Variables
Typedefs
b
d
f
g
h
i
n
p
s
t
u
y
Enumerations
Enumerator
_
a
c
d
e
f
g
h
i
k
l
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
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
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
Enumerations
c
d
e
f
g
l
m
o
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
a
b
c
d
g
h
i
k
o
q
r
s
t
w
Files
File List
File 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
l
m
o
p
q
r
s
t
u
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
r
s
t
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
y
z
Enumerations
b
c
d
e
g
j
l
m
s
t
u
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Loading...
Searching...
No Matches
Randomize.h
Go to the documentation of this file.
1
// $Id:$
2
// -*- C++ -*-
3
//
4
// -----------------------------------------------------------------------
5
// HEP Random
6
// -----------------------------------------------------------------------
7
// This file is part of Geant4 (simulation toolkit for HEP).
8
//
9
// This file must be included to make use of the HEP Random module
10
// On some compilers the static instance of the HepRandom generator
11
// needs to be created explicitly in the client code. The static
12
// generator is assured to be correctly initialized by including this
13
// header in the client code.
14
15
// =======================================================================
16
// Gabriele Cosmo - Created: 5th September 1995
17
// Gabriele Cosmo - Last change: 13th February 1996
18
// Ken Smith - Added Ranshi and DualRand engines: 4th June 1998
19
// - Added Ranlux64 and MTwist engines: 14th July 1998
20
// - Added Hurd160, Hurd288m and TripleRand 6th Aug 1998
21
// =======================================================================
22
23
#ifndef Rndmze_h
24
#define Rndmze_h 1
25
26
// Including Engines ...
27
28
#include "
CLHEP/Random/DualRand.h
"
29
#include "
CLHEP/Random/JamesRandom.h
"
30
#include "
CLHEP/Random/MTwistEngine.h
"
31
#include "
CLHEP/Random/RanecuEngine.h
"
32
#include "
CLHEP/Random/RanluxEngine.h
"
33
#include "
CLHEP/Random/Ranlux64Engine.h
"
34
#include "
CLHEP/Random/RanshiEngine.h
"
35
36
// Including distributions ...
37
38
#include "
CLHEP/Random/RandBinomial.h
"
39
#include "
CLHEP/Random/RandBreitWigner.h
"
40
#include "
CLHEP/Random/RandChiSquare.h
"
41
#include "
CLHEP/Random/RandExponential.h
"
42
#include "
CLHEP/Random/RandFlat.h
"
43
#include "
CLHEP/Random/RandBit.h
"
44
#include "
CLHEP/Random/RandGamma.h
"
45
#include "
CLHEP/Random/RandGauss.h
"
46
#include "
CLHEP/Random/RandGaussQ.h
"
47
#include "
CLHEP/Random/RandGeneral.h
"
48
#include "
CLHEP/Random/RandLandau.h
"
49
#include "
CLHEP/Random/RandPoissonQ.h
"
50
#include "
CLHEP/Random/RandStudentT.h
"
51
52
namespace
CLHEP
{
53
54
#define HepUniformRand() HepRandom::getTheEngine()->flat()
55
56
// On some compilers the static instance of the HepRandom generator
57
// needs to be created explicitly in the client code (i.e. here).
58
59
static
int
HepRandomGenActive =
HepRandom::createInstance
();
60
61
}
// namespace CLHEP
62
63
#endif
DualRand.h
JamesRandom.h
MTwistEngine.h
RandBinomial.h
RandBit.h
RandBreitWigner.h
RandChiSquare.h
RandExponential.h
RandFlat.h
RandGamma.h
RandGaussQ.h
RandGauss.h
RandGeneral.h
RandLandau.h
RandPoissonQ.h
RandStudentT.h
RanecuEngine.h
Ranlux64Engine.h
RanluxEngine.h
RanshiEngine.h
CLHEP::HepRandom::createInstance
static int createInstance()
Definition:
Random.cc:208
CLHEP
Definition:
DoubConv.h:17
geant4-v9.6.0
source
externals
clhep
include
CLHEP
Random
Randomize.h
Generated by
1.9.6