| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

QuasiRandom.h
Go to the documentation of this file.
1 #ifndef GAUDIUTILS_QUASIRANDOM_H
2 #define GAUDIUTILS_QUASIRANDOM_H 1
3
4 // Include files
5 #include <string>
6
7 // boost
8 #include <boost/integer/integer_mask.hpp>
9
26 namespace Gaudi {
27 namespace Utils {
28 namespace QuasiRandom {
29
31 uint32_t mix(uint32_t state);
32
34 uint32_t mix32(uint32_t state, uint32_t extra);
35
37 uint32_t mix64(uint32_t state, uint64_t extra);
38
40 uint32_t mixString(uint32_t state, const std::string& extra);
41
42 }
43 }
44 }
45 #endif // GAUDIUTILS_QUASIRANDOM_H
compareRootHistos.state
state
Definition: compareRootHistos.py:348
Gaudi::Utils::QuasiRandom::mixString
uint32_t mixString(uint32_t state, const std::string &extra)
mix some &#39;extra&#39; entropy into &#39;state&#39; and return result
Definition: QuasiRandom.cpp:32
Gaudi::Utils::QuasiRandom::mix
uint32_t mix(uint32_t state)
Create a hash with a large avalanche effect from a 32 bit integer.
Definition: QuasiRandom.cpp:11
uint64_t
unsigned long long uint64_t
Definition: instrset.h:144
std::string
STL class.
uint32_t
unsigned int uint32_t
Definition: instrset.h:142
Gaudi::Utils::QuasiRandom::mix32
uint32_t mix32(uint32_t state, uint32_t extra)
mix some &#39;extra&#39; entropy into &#39;state&#39; and return result
Definition: QuasiRandom.cpp:20
Gaudi::Utils::QuasiRandom::mix64
uint32_t mix64(uint32_t state, uint64_t extra)
mix some &#39;extra&#39; entropy into &#39;state&#39; and return result
Definition: QuasiRandom.cpp:25
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1