Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <RanecuEngine.h>
Public Member Functions | |
RanecuEngine (std::istream &is) | |
RanecuEngine () | |
RanecuEngine (int index) | |
virtual | ~RanecuEngine () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setIndex (long index) |
void | setSeed (long index, int dum=0) |
void | setSeeds (const long *seeds, int index=-1) |
void | saveStatus (const char filename[]="Ranecu.conf") const |
void | restoreStatus (const char filename[]="Ranecu.conf") |
void | showStatus () const |
operator double () | |
operator float () | |
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) |
Public Member Functions inherited from CLHEP::HepRandomEngine | |
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 Public Member Functions inherited from CLHEP::HepRandomEngine | |
static std::string | beginTag () |
static HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
Static Protected Attributes | |
static const int | ecuyer_a = 40014 |
static const int | ecuyer_b = 53668 |
static const int | ecuyer_c = 12211 |
static const int | ecuyer_d = 40692 |
static const int | ecuyer_e = 52774 |
static const int | ecuyer_f = 3791 |
static const int | shift1 = 2147483563 |
static const int | shift2 = 2147483399 |
static const unsigned int | VECTOR_STATE_SIZE = 4 |
Additional Inherited Members | |
Static Protected Member Functions inherited from CLHEP::HepRandomEngine | |
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) |
Protected Attributes inherited from CLHEP::HepRandomEngine | |
long | theSeed |
const long * | theSeeds |
Definition at line 46 of file RanecuEngine.h.
CLHEP::RanecuEngine::RanecuEngine | ( | std::istream & | is | ) |
Definition at line 105 of file RanecuEngine.cc.
CLHEP::RanecuEngine::RanecuEngine | ( | ) |
Definition at line 71 of file RanecuEngine.cc.
CLHEP::RanecuEngine::RanecuEngine | ( | int | index | ) |
Definition at line 89 of file RanecuEngine.cc.
|
virtual |
Definition at line 111 of file RanecuEngine.cc.
|
static |
Definition at line 317 of file RanecuEngine.cc.
|
inlinestatic |
Definition at line 99 of file RanecuEngine.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 199 of file RanecuEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 222 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 360 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 298 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 369 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 321 of file RanecuEngine.cc.
Referenced by get(), getState(), and restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 63 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 249 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 253 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 257 of file RanecuEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 289 of file RanecuEngine.cc.
Referenced by put(), and saveStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 278 of file RanecuEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 155 of file RanecuEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 142 of file RanecuEngine.cc.
void CLHEP::RanecuEngine::setIndex | ( | long | index | ) |
Definition at line 135 of file RanecuEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 113 of file RanecuEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 123 of file RanecuEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 188 of file RanecuEngine.cc.
|
staticprotected |
Definition at line 109 of file RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 110 of file RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 111 of file RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 112 of file RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 113 of file RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 114 of file RanecuEngine.h.
Referenced by flat(), and flatArray().
|
staticprotected |
Definition at line 115 of file RanecuEngine.h.
Referenced by flat(), flatArray(), RanecuEngine(), setSeed(), and setSeeds().
|
staticprotected |
Definition at line 116 of file RanecuEngine.h.
Referenced by flat(), flatArray(), setSeed(), and setSeeds().
|
staticprotected |
Definition at line 118 of file RanecuEngine.h.
Referenced by getState(), and restoreStatus().