#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 12 of file RandomEngineStates.cc.
void edm::RandomEngineStates::getRandomEngineStates | ( | std::vector< RandomEngineState > & | states | ) | const |
Definition at line 14 of file RandomEngineStates.cc.
References edm::errors::Configuration, edm::errors::EventCorruption, Exception, mps_fire::i, label, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, moduleLabels_, seedLengths_, seedVectors_, RandomEngineState::setLabel(), stateLengths_, stateVectors_, and mitigatedMETSequence_cff::U.
bool edm::RandomEngineStates::isProductEqual | ( | RandomEngineStates const & | randomEngineStates | ) | const |
Definition at line 122 of file RandomEngineStates.cc.
References moduleLabels_, seedLengths_, seedVectors_, stateLengths_, and stateVectors_.
void edm::RandomEngineStates::setRandomEngineStates | ( | std::vector< RandomEngineState > const & | states | ) |
Definition at line 91 of file RandomEngineStates.cc.
References dqmiolumiharvest::j, label, moduleLabels_, seedLengths_, seedVectors_, stateLengths_, and stateVectors_.
|
private |
Definition at line 34 of file RandomEngineStates.h.
Referenced by getRandomEngineStates(), isProductEqual(), and setRandomEngineStates().
|
private |
Definition at line 36 of file RandomEngineStates.h.
Referenced by getRandomEngineStates(), isProductEqual(), and setRandomEngineStates().
|
private |
Definition at line 37 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 40 of file RandomEngineStates.h.
Referenced by getRandomEngineStates(), isProductEqual(), and setRandomEngineStates().