|
static unsigned int | LCG (unsigned int a_n) |
|
static unsigned int | TAUSWORTHE (unsigned int a_s, unsigned int a_a, unsigned int a_b, unsigned int a_c, unsigned int a_d) |
|
Definition at line 36 of file rtausmeui.
◆ rtausmeui() [1/2]
tools::rtausmeui::rtausmeui |
( |
unsigned int |
a_seed = 1 | ) |
|
|
inline |
Definition at line 41 of file rtausmeui.
43 mem::increment(s_class().c_str());
◆ ~rtausmeui()
virtual tools::rtausmeui::~rtausmeui |
( |
| ) |
|
|
inlinevirtual |
Definition at line 47 of file rtausmeui.
49 mem::decrement(s_class().c_str());
◆ rtausmeui() [2/2]
tools::rtausmeui::rtausmeui |
( |
const rtausmeui & |
a_from | ) |
|
|
inline |
Definition at line 53 of file rtausmeui.
55 mem::increment(s_class().c_str());
◆ LCG()
static unsigned int tools::rtausmeui::LCG |
( |
unsigned int |
a_n | ) |
|
|
inlinestaticprotected |
Definition at line 103 of file rtausmeui.
104 return ((69069 * a_n) & 0xffffffffUL);
◆ operator=()
◆ seed()
unsigned int tools::rtausmeui::seed |
( |
| ) |
const |
|
inline |
◆ set_seed()
void tools::rtausmeui::set_seed |
( |
unsigned int |
a_seed | ) |
|
|
inline |
Definition at line 65 of file rtausmeui.
81 for (
unsigned int i = 0; i < 6; ++i)
shoot();
◆ shoot()
unsigned int tools::rtausmeui::shoot |
( |
| ) |
|
|
inline |
◆ TAUSWORTHE()
static unsigned int tools::rtausmeui::TAUSWORTHE |
( |
unsigned int |
a_s, |
|
|
unsigned int |
a_a, |
|
|
unsigned int |
a_b, |
|
|
unsigned int |
a_c, |
|
|
unsigned int |
a_d |
|
) |
| |
|
inlinestaticprotected |
Definition at line 106 of file rtausmeui.
107 return (((a_s & a_c) << a_d) & 0xffffffffUL ) ^ ((((a_s << a_a) & 0xffffffffUL )^ a_s) >> a_b);
◆ m_seed
unsigned int tools::rtausmeui::m_seed |
|
protected |
◆ m_seed1
unsigned int tools::rtausmeui::m_seed1 |
|
protected |
◆ m_seed2
unsigned int tools::rtausmeui::m_seed2 |
|
protected |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/rtausmeui