![]() |
ATLAS Offline Software
|
Classes | |
class | RNGWrapper |
A wrapper class for event-slot-local random engines. More... | |
Functions | |
size_t | calculateSeedMC16 (const std::string &algName, uint64_t ev, uint64_t run, uint32_t offset=0) |
Helper methods. More... | |
size_t | calculateSeedMC20 (const std::string &algName, uint64_t ev, uint64_t run) |
Set the random seed using a string (e.g. More... | |
void | calculateSeedsMC21 (long *seeds, const std::string &algName, uint64_t ev, uint64_t run, uint64_t offset=0) |
Set the random seed using a string (e.g. More... | |
long | calculateSeedsPython (const std::string &algName, uint64_t ev, uint64_t run, uint64_t offset=0) |
size_t ATHRNG::calculateSeedMC16 | ( | const std::string & | algName, |
uint64_t | ev, | ||
uint64_t | run, | ||
uint32_t | offset = 0 |
||
) |
Helper methods.
Set the random seed using a string (e.g.
Set the random seed using a string (e.g. algorithm name) and the current slot, event, and run numbers and an optional offset. - MC16 Legacy Version attempting to reproduce seeds from thread-unsafe random number services
algorithm name) and the current slot, event, and run numbers and an optional offset. - MC16 Legacy Version attempting to reproduce seeds from thread-unsafe random number services
Definition at line 15 of file RNGWrapper.cxx.
size_t ATHRNG::calculateSeedMC20 | ( | const std::string & | algName, |
uint64_t | ev, | ||
uint64_t | run | ||
) |
Set the random seed using a string (e.g.
algorithm name) and the current slot, event, and run numbers. MC20 seeding algorithm
Definition at line 26 of file RNGWrapper.cxx.
void ATHRNG::calculateSeedsMC21 | ( | long * | seeds, |
const std::string & | algName, | ||
uint64_t | ev, | ||
uint64_t | run, | ||
uint64_t | offset = 0 |
||
) |
Set the random seed using a string (e.g.
algorithm name) and the current slot, event, and run numbers. MC21 seeding algorithm
Definition at line 37 of file RNGWrapper.cxx.
long ATHRNG::calculateSeedsPython | ( | const std::string & | algName, |
uint64_t | ev, | ||
uint64_t | run, | ||
uint64_t | offset = 0 |
||
) |
Definition at line 63 of file RNGWrapper.cxx.