a class to generate random numbers with a unique seed
More...
#include <BootstrapGeneratorAlg.h>
|
TRandomRanluxpp | m_rng |
| the random number generator (Ranlux++) More...
|
|
|
static constexpr std::uint64_t | m_offset = 14695981039346656037u |
| constants for seed generation More...
|
|
static constexpr std::uint64_t | m_prime = 1099511628211u |
|
a class to generate random numbers with a unique seed
Definition at line 21 of file BootstrapGeneratorAlg.h.
◆ BootstrapGenerator()
CP::BootstrapGenerator::BootstrapGenerator |
( |
| ) |
|
|
inline |
◆ fnv1a_64()
std::uint64_t CP::BootstrapGenerator::fnv1a_64 |
( |
const void * |
buffer, |
|
|
size_t |
size, |
|
|
std::uint64_t |
offset_basis |
|
) |
| |
◆ generateSeed()
std::uint64_t CP::BootstrapGenerator::generateSeed |
( |
std::uint64_t |
eventNumber, |
|
|
std::uint32_t |
runNumber, |
|
|
std::uint32_t |
mcChannelNumber |
|
) |
| |
◆ getBootstrap()
std::uint8_t CP::BootstrapGenerator::getBootstrap |
( |
| ) |
|
|
inline |
◆ setSeed()
void CP::BootstrapGenerator::setSeed |
( |
std::uint64_t |
eventNumber, |
|
|
std::uint32_t |
runNumber, |
|
|
std::uint32_t |
mcChannelNumber |
|
) |
| |
◆ m_offset
constexpr std::uint64_t CP::BootstrapGenerator::m_offset = 14695981039346656037u |
|
staticconstexprprivate |
◆ m_prime
constexpr std::uint64_t CP::BootstrapGenerator::m_prime = 1099511628211u |
|
staticconstexprprivate |
◆ m_rng
TRandomRanluxpp CP::BootstrapGenerator::m_rng |
|
private |
The documentation for this class was generated from the following files: