Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <RanluxEngine.h>
Public Member Functions | |
RanluxEngine (std::istream &is) | |
RanluxEngine () | |
RanluxEngine (long seed, int lux=3) | |
RanluxEngine (int rowIndex, int colIndex, int lux) | |
virtual | ~RanluxEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int lux=3) |
void | setSeeds (const long *seeds, int lux=3) |
void | saveStatus (const char filename[]="Ranlux.conf") const |
void | restoreStatus (const char filename[]="Ranlux.conf") |
void | showStatus () const |
int | getLuxury () const |
operator unsigned int () | |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
std::string | name () const |
std::vector< unsigned long > | put () const |
bool | get (const std::vector< unsigned long > &v) |
bool | getState (const std::vector< unsigned long > &v) |
![]() | |
HepRandomEngine () | |
virtual | ~HepRandomEngine () |
bool | operator== (const HepRandomEngine &engine) |
bool | operator!= (const HepRandomEngine &engine) |
virtual double | flat ()=0 |
virtual void | flatArray (const int size, double *vect)=0 |
virtual void | setSeed (long seed, int)=0 |
virtual void | setSeeds (const long *seeds, int)=0 |
virtual void | saveStatus (const char filename[]="Config.conf") const =0 |
virtual void | restoreStatus (const char filename[]="Config.conf")=0 |
virtual void | showStatus () const =0 |
virtual std::string | name () const =0 |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
virtual std::istream & | getState (std::istream &is) |
virtual std::vector< unsigned long > | put () const |
virtual bool | get (const std::vector< unsigned long > &v) |
virtual bool | getState (const std::vector< unsigned long > &v) |
long | getSeed () const |
const long * | getSeeds () const |
virtual | operator double () |
virtual | operator float () |
virtual | operator unsigned int () |
Static Public Member Functions | |
static std::string | beginTag () |
static std::string | engineName () |
![]() | |
static std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
Static Public Attributes | |
static const unsigned int | VECTOR_STATE_SIZE = 31 |
Additional Inherited Members | |
![]() | |
static double | exponent_bit_32 () |
static double | mantissa_bit_12 () |
static double | mantissa_bit_24 () |
static double | mantissa_bit_32 () |
static double | twoToMinus_32 () |
static double | twoToMinus_48 () |
static double | twoToMinus_49 () |
static double | twoToMinus_53 () |
static double | nearlyTwoToMinus_54 () |
static bool | checkFile (std::istream &file, const std::string &filename, const std::string &classname, const std::string &methodname) |
![]() | |
long | theSeed |
const long * | theSeeds |
Definition at line 45 of file RanluxEngine.h.
CLHEP::RanluxEngine::RanluxEngine | ( | std::istream & | is | ) |
Definition at line 115 of file RanluxEngine.cc.
CLHEP::RanluxEngine::RanluxEngine | ( | ) |
Definition at line 73 of file RanluxEngine.cc.
CLHEP::RanluxEngine::RanluxEngine | ( | long | seed, |
int | lux = 3 |
||
) |
Definition at line 59 of file RanluxEngine.cc.
CLHEP::RanluxEngine::RanluxEngine | ( | int | rowIndex, |
int | colIndex, | ||
int | lux | ||
) |
Definition at line 94 of file RanluxEngine.cc.
|
virtual |
Definition at line 121 of file RanluxEngine.cc.
|
static |
Definition at line 462 of file RanluxEngine.cc.
|
inlinestatic |
Definition at line 102 of file RanluxEngine.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 307 of file RanluxEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 357 of file RanluxEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 507 of file RanluxEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 444 of file RanluxEngine.cc.
|
inline |
Definition at line 91 of file RanluxEngine.h.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 516 of file RanluxEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 466 of file RanluxEngine.cc.
Referenced by get(), getState(), and restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 51 of file RanluxEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 410 of file RanluxEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 428 of file RanluxEngine.cc.
Referenced by put(), and saveStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 417 of file RanluxEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 257 of file RanluxEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 245 of file RanluxEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 123 of file RanluxEngine.cc.
Referenced by RanluxEngine(), and setSeeds().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 179 of file RanluxEngine.cc.
Referenced by RanluxEngine().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 292 of file RanluxEngine.cc.
|
static |
Definition at line 108 of file RanluxEngine.h.
Referenced by getState(), and restoreStatus().