#include <RandomEngineGlue.h>
|
IBPtr | clone () const override |
|
void | doinit () noexcept(false) override |
|
void | fill () override |
|
IBPtr | fullclone () const override |
|
void | setSeed (long seed) override |
|
Definition at line 22 of file RandomEngineGlue.h.
◆ RandomEngineGlue()
RandomEngineGlue::RandomEngineGlue |
( |
| ) |
|
◆ ~RandomEngineGlue()
RandomEngineGlue::~RandomEngineGlue |
( |
| ) |
|
|
override |
◆ clone()
IBPtr ThePEG::RandomEngineGlue::clone |
( |
void |
| ) |
const |
|
inlineoverrideprotected |
◆ doinit()
void RandomEngineGlue::doinit |
( |
| ) |
|
|
overrideprotectednoexcept |
◆ fill()
void RandomEngineGlue::fill |
( |
void |
| ) |
|
|
overrideprotected |
Definition at line 27 of file RandomEngineGlue.cc.
References Exception, edm::errors::LogicError, and randomEngine.
30 <<
"the engine pointer was null. This might mean that the code\n" 31 <<
"was tried to generate a random number outside the event and\n" 32 <<
"beginLuminosityBlock methods, which is not allowed.\n";
34 nextNumber = theNumbers.begin();
35 for (RndVector::iterator it = nextNumber; it != theNumbers.end(); ++it)
CLHEP::HepRandomEngine * randomEngine
◆ flush()
void RandomEngineGlue::flush |
( |
| ) |
|
◆ fullclone()
IBPtr ThePEG::RandomEngineGlue::fullclone |
( |
| ) |
const |
|
inlineoverrideprotected |
◆ getRandomEngine()
CLHEP::HepRandomEngine* ThePEG::RandomEngineGlue::getRandomEngine |
( |
| ) |
const |
|
inline |
◆ Init()
void RandomEngineGlue::Init |
( |
void |
| ) |
|
|
static |
Definition at line 57 of file RandomEngineGlue.cc.
References proxyID.
60 static ClassDocumentation<RandomEngineGlue> documentation(
"Interface to the CMSSW RandomNumberEngine.");
61 static Parameter<RandomEngineGlue, ProxyID> interfaceProxyID(
64 interfaceProxyID.rank(11);
◆ setRandomEngine()
void ThePEG::RandomEngineGlue::setRandomEngine |
( |
CLHEP::HepRandomEngine * |
v | ) |
|
|
inline |
◆ setSeed()
void RandomEngineGlue::setSeed |
( |
long |
seed | ) |
|
|
overrideprotected |
◆ initRandomEngineGlue
◆ proxyID
◆ randomEngine
CLHEP::HepRandomEngine* ThePEG::RandomEngineGlue::randomEngine |
|
private |