#include <RandomEngineGlue.h>
|
virtual IBPtr | clone () const |
|
virtual void | doinit () throw (InitException) |
|
virtual void | fill () |
|
virtual IBPtr | fullclone () const |
|
virtual void | setSeed (long seed) |
|
Definition at line 23 of file RandomEngineGlue.h.
RandomEngineGlue::RandomEngineGlue |
( |
| ) |
|
RandomEngineGlue::~RandomEngineGlue |
( |
| ) |
|
|
virtual |
virtual IBPtr ThePEG::RandomEngineGlue::clone |
( |
void |
| ) |
const |
|
inlineprotectedvirtual |
void RandomEngineGlue::doinit |
( |
| ) |
|
throw | ( | InitException |
| ) | | |
|
protectedvirtual |
void RandomEngineGlue::fill |
( |
void |
| ) |
|
|
protectedvirtual |
Definition at line 33 of file RandomEngineGlue.cc.
References edm::hlt::Exception, edm::errors::LogicError, and randomEngine.
37 <<
"The PEG code attempted to a generate random number while\n"
38 <<
"the engine pointer was null. This might mean that the code\n"
39 <<
"was tried to generate a random number outside the event and\n"
40 <<
"beginLuminosityBlock methods, which is not allowed.\n";
42 nextNumber = theNumbers.begin();
43 for(RndVector::iterator it = nextNumber; it != theNumbers.end(); ++it)
CLHEP::HepRandomEngine * randomEngine
void RandomEngineGlue::flush |
( |
| ) |
|
virtual IBPtr ThePEG::RandomEngineGlue::fullclone |
( |
| ) |
const |
|
inlineprotectedvirtual |
void RandomEngineGlue::Init |
( |
void |
| ) |
|
|
static |
Definition at line 67 of file RandomEngineGlue.cc.
References proxyID.
70 static ClassDocumentation<RandomEngineGlue> documentation
71 (
"Interface to the CMSSW RandomNumberEngine.");
72 static Parameter<RandomEngineGlue, ProxyID> interfaceProxyID
73 (
"ProxyID",
"The ProxyID.",
75 ProxyID(), ProxyID(),
false,
false,
false);
77 interfaceProxyID.rank(11);
void ThePEG::RandomEngineGlue::setRandomEngine |
( |
CLHEP::HepRandomEngine * |
v | ) |
|
|
inline |
void RandomEngineGlue::setSeed |
( |
long |
seed | ) |
|
|
protectedvirtual |
CLHEP::HepRandomEngine* ThePEG::RandomEngineGlue::randomEngine |
|
private |