The Gaudi Framework master (934d2c3c)
Loading...
Searching...
No Matches
QuasiRandom.h File Reference
#include <cstdint>
#include <string>
Include dependency graph for QuasiRandom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Gaudi
 This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from python with a format liks : ( nbins, min, max, title ) where title can be ommited.
namespace  Gaudi::Utils
namespace  Gaudi::Utils::QuasiRandom
 Create a hash with a large avalanche effect from 32 or 64 bit integers or a string.

Functions

std::uint32_t Gaudi::Utils::QuasiRandom::mix (std::uint32_t state)
 Create a hash with a large avalanche effect from a 32 bit integer.
std::uint32_t Gaudi::Utils::QuasiRandom::mix32 (std::uint32_t state, std::uint32_t extra)
 mix some 'extra' entropy into 'state' and return result
std::uint32_t Gaudi::Utils::QuasiRandom::mix64 (std::uint32_t state, uint64_t extra)
 mix some 'extra' entropy into 'state' and return result
std::uint32_t Gaudi::Utils::QuasiRandom::mixString (std::uint32_t state, const std::string &extra)
 mix some 'extra' entropy into 'state' and return result