#include <RandomEngineStates.h>
Public Member Functions | |
void | getRandomEngineStates (std::vector< RandomEngineState > &states) const |
bool | isProductEqual (RandomEngineStates const &randomEngineStates) const |
RandomEngineStates () | |
void | setRandomEngineStates (std::vector< RandomEngineState > const &states) |
~RandomEngineStates () | |
Private Attributes | |
std::vector< std::string > | moduleLabels_ |
std::vector< unsigned > | seedLengths_ |
std::vector< unsigned > | seedVectors_ |
std::vector< unsigned > | stateLengths_ |
std::vector< unsigned > | stateVectors_ |
Description: Holds the states of multiple random number engines and associated seeds and module labels.
Usage: This should only be used by the Random Number Generator Service.
Definition at line 23 of file RandomEngineStates.h.
edm::RandomEngineStates::RandomEngineStates | ( | ) |
Definition at line 10 of file RandomEngineStates.cc.
edm::RandomEngineStates::~RandomEngineStates | ( | ) |
Definition at line 13 of file RandomEngineStates.cc.
void edm::RandomEngineStates::getRandomEngineStates | ( | std::vector< RandomEngineState > & | states | ) | const |
Definition at line 17 of file RandomEngineStates.cc.
References edm::errors::Configuration, edm::errors::EventCorruption, edm::hlt::Exception, i, diffTwoXMLs::label, moduleLabels_, seedLengths_, seedVectors_, RandomEngineState::setLabel(), stateLengths_, and stateVectors_.
bool edm::RandomEngineStates::isProductEqual | ( | RandomEngineStates const & | randomEngineStates | ) | const |
Definition at line 143 of file RandomEngineStates.cc.
References moduleLabels_, seedLengths_, seedVectors_, stateLengths_, and stateVectors_.
void edm::RandomEngineStates::setRandomEngineStates | ( | std::vector< RandomEngineState > const & | states | ) |
Definition at line 103 of file RandomEngineStates.cc.
References j, diffTwoXMLs::label, moduleLabels_, seedLengths_, seedVectors_, stateLengths_, and stateVectors_.
|
private |
Definition at line 36 of file RandomEngineStates.h.
Referenced by getRandomEngineStates(), isProductEqual(), and setRandomEngineStates().
|
private |
Definition at line 38 of file RandomEngineStates.h.
Referenced by getRandomEngineStates(), isProductEqual(), and setRandomEngineStates().
|
private |
Definition at line 39 of file RandomEngineStates.h.
Referenced by getRandomEngineStates(), isProductEqual(), and setRandomEngineStates().
|
private |
Definition at line 41 of file RandomEngineStates.h.
Referenced by getRandomEngineStates(), isProductEqual(), and setRandomEngineStates().
|
private |
Definition at line 42 of file RandomEngineStates.h.
Referenced by getRandomEngineStates(), isProductEqual(), and setRandomEngineStates().