Belle II Software
release-08-01-10
|
Interface class to make Geant4 use the Belle2 RandomGenerator. More...
#include <RandomEngine.h>
Public Member Functions | |
RandomEngine () | |
Constructor expecting a reference to the Belle2::RandomGenerator. | |
double | flat () override final |
return a flat distributed double in (0,1), both excluded | |
void | flatArray (const int size, double *vect) override final |
fill an array of doubles with values in (0,1), both exluded More... | |
void | setSeed (long, int) override final |
set the seed, ignored | |
void | setSeeds (const long *, int) override final |
set array of seed values, ignored | |
void | saveStatus (const char[]) const override final |
save status to file, ignored | |
void | restoreStatus (const char[]) override final |
restore status from file, ignored | |
void | showStatus () const override final |
show status, ignored | |
std::string | name () const override final |
return name of the generator | |
std::vector< unsigned long > | put () const override final |
put call, whatever that does. More... | |
std::ostream & | put (std::ostream &o) const override final |
put call, whatever that does. More... | |
bool | get (const std::vector< unsigned long > &) override final |
get call, I assume same as above | |
std::istream & | get (std::istream &i) override final |
get call, I assume same as above | |
Interface class to make Geant4 use the Belle2 RandomGenerator.
Definition at line 22 of file RandomEngine.h.
|
inlinefinaloverride |
fill an array of doubles with values in (0,1), both exluded
size | number of doubles to generate |
vect | pointer to buffer at least sizeof(double)*size bytes large |
Definition at line 32 of file RandomEngine.h.
|
inlinefinaloverride |
put call, whatever that does.
If we don't override it we get useless messages
Definition at line 46 of file RandomEngine.h.
|
inlinefinaloverride |
put call, whatever that does.
If we don't override it we get useless messages
Definition at line 48 of file RandomEngine.h.