| The Gaudi Framework v29r0 (ff2e7097)

- 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 {
28 namespace Utils
29 {
30 namespace QuasiRandom
31 {
32
34 uint32_t mix( uint32_t state );
35
37 uint32_t mix32( uint32_t state, uint32_t extra );
38
40 uint32_t mix64( uint32_t state, uint64_t extra );
41
43 uint32_t mixString( uint32_t state, const std::string& extra );
44 }
45 }
46 }
47 #endif // GAUDIUTILS_QUASIRANDOM_H
compareRootHistos.state
state
Definition: compareRootHistos.py:422
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:36
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:14
uint64_t
unsigned long long uint64_t
Definition: instrset.h:143
std::string
STL class.
uint32_t
unsigned int uint32_t
Definition: instrset.h:141
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:27
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:29
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1