MarlinMT
0.1.0
|
RandomSeedExtension class Event extension providing access to random seeds. More...
#include <EventExtensions.h>
Public Types | |
using | RandomSeedMap = std::unique_ptr< RandomSeedManager::RandomSeedMap > |
using | RandomSeedType = RandomSeedManager::SeedType |
Public Member Functions | |
~RandomSeedExtension ()=default | |
RandomSeedExtension ()=delete | |
RandomSeedExtension (const RandomSeedExtension &)=delete | |
RandomSeedExtension & | operator= (const RandomSeedExtension &)=delete |
RandomSeedExtension (RandomSeedMap seeds) | |
Constructor. More... | |
RandomSeedType | randomSeed (const Processor *const processor) const |
Get the random seed for a given processor. More... | |
Private Attributes | |
RandomSeedMap | _randomSeeds {nullptr} |
The random seed map for the current event. More... | |
RandomSeedExtension class Event extension providing access to random seeds.
Definition at line 77 of file EventExtensions.h.
using marlinmt::RandomSeedExtension::RandomSeedMap = std::unique_ptr<RandomSeedManager::RandomSeedMap> |
Definition at line 79 of file EventExtensions.h.
Definition at line 80 of file EventExtensions.h.
|
default |
|
delete |
|
delete |
marlinmt::RandomSeedExtension::RandomSeedExtension | ( | RandomSeedMap | seeds | ) |
Constructor.
seeds | the random seed set for the current event |
Definition at line 8 of file EventExtensions.cc.
|
delete |
RandomSeedExtension::RandomSeedType marlinmt::RandomSeedExtension::randomSeed | ( | const Processor *const | processor | ) | const |
Get the random seed for a given processor.
processor | the processor pointer |
Definition at line 15 of file EventExtensions.cc.
References _randomSeeds, and marlinmt::Component::name().
|
private |
The random seed map for the current event.
Definition at line 105 of file EventExtensions.h.
Referenced by randomSeed().