LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Information for each engine. More...
Public Member Functions | |
bool | hasSeeder () const |
bool | isFrozen () const |
void | freeze (bool doFreeze=true) |
void | setSeeder (Seeder_t new_seeder) |
template<typename... Args> | |
void | applySeed (Args...args) const |
Execute the seeder (whatever arguments it has...) More... | |
template<typename... Args> | |
void | autoApplySeed (Args...args) const |
Applies the seed unless frozen. More... | |
Private Attributes | |
Seeder_t | seeder |
engine seeder More... | |
bool | autoseed = true |
whether seeding can be automatic More... | |
Information for each engine.
Definition at line 216 of file SeedMaster.h.
|
inline |
Execute the seeder (whatever arguments it has...)
Definition at line 226 of file SeedMaster.h.
References rndm::SeedMaster< SEED >::EngineInfo_t::hasSeeder(), and rndm::SeedMaster< SEED >::EngineInfo_t::seeder.
Referenced by rndm::SeedMaster< SEED >::EngineInfo_t::autoApplySeed().
|
inline |
Applies the seed unless frozen.
Definition at line 231 of file SeedMaster.h.
References rndm::SeedMaster< SEED >::EngineInfo_t::applySeed(), and rndm::SeedMaster< SEED >::EngineInfo_t::isFrozen().
|
inline |
Definition at line 221 of file SeedMaster.h.
References rndm::SeedMaster< SEED >::EngineInfo_t::autoseed.
|
inline |
Definition at line 218 of file SeedMaster.h.
References rndm::SeedMaster< SEED >::EngineInfo_t::seeder.
Referenced by rndm::SeedMaster< SEED >::EngineInfo_t::applySeed().
|
inline |
Definition at line 219 of file SeedMaster.h.
References rndm::SeedMaster< SEED >::EngineInfo_t::autoseed.
Referenced by rndm::SeedMaster< SEED >::EngineInfo_t::autoApplySeed().
|
inline |
Definition at line 222 of file SeedMaster.h.
References rndm::SeedMaster< SEED >::EngineInfo_t::seeder.
|
private |
whether seeding can be automatic
Definition at line 236 of file SeedMaster.h.
Referenced by rndm::SeedMaster< SEED >::EngineInfo_t::freeze(), and rndm::SeedMaster< SEED >::EngineInfo_t::isFrozen().
|
private |
engine seeder
Definition at line 235 of file SeedMaster.h.
Referenced by rndm::SeedMaster< SEED >::EngineInfo_t::applySeed(), rndm::SeedMaster< seed_t >::getCurrentSeed(), rndm::SeedMaster< SEED >::EngineInfo_t::hasSeeder(), and rndm::SeedMaster< SEED >::EngineInfo_t::setSeeder().