Geant4
9.6.p02
|
#include <RandomEngine.h>
Public Member Functions | |
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 HepRandomEngine * | newEngine (std::istream &is) |
static HepRandomEngine * | newEngine (const std::vector< unsigned long > &v) |
Static Protected Member Functions | |
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 | |
long | theSeed |
const long * | theSeeds |
Definition at line 54 of file RandomEngine.h.
CLHEP::HepRandomEngine::HepRandomEngine | ( | ) |
Definition at line 25 of file RandomEngine.cc.
|
virtual |
Definition at line 30 of file RandomEngine.cc.
|
static |
Definition at line 66 of file RandomEngine.cc.
|
inlinestaticprotected |
|
pure virtual |
Implemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::NonRandomEngine, CLHEP::RanecuEngine, CLHEP::HepJamesRandom, and CLHEP::MTwistEngine.
Implemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::NonRandomEngine, CLHEP::RanecuEngine, CLHEP::HepJamesRandom, and CLHEP::MTwistEngine.
|
virtual |
Reimplemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::HepJamesRandom, CLHEP::MTwistEngine, and CLHEP::NonRandomEngine.
Definition at line 61 of file RandomEngine.cc.
|
virtual |
Reimplemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::HepJamesRandom, CLHEP::MTwistEngine, and CLHEP::NonRandomEngine.
Definition at line 80 of file RandomEngine.cc.
|
inline |
Definition at line 113 of file RandomEngine.h.
|
inline |
Definition at line 116 of file RandomEngine.h.
|
virtual |
Reimplemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::HepJamesRandom, CLHEP::MTwistEngine, and CLHEP::NonRandomEngine.
Definition at line 70 of file RandomEngine.cc.
|
virtual |
Reimplemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::HepJamesRandom, CLHEP::MTwistEngine, and CLHEP::NonRandomEngine.
Definition at line 84 of file RandomEngine.cc.
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
pure virtual |
Implemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::HepJamesRandom, CLHEP::MTwistEngine, and CLHEP::NonRandomEngine.
|
inlinestaticprotected |
|
static |
Definition at line 89 of file RandomEngine.cc.
|
static |
|
virtual |
Definition at line 32 of file RandomEngine.cc.
|
virtual |
Reimplemented in CLHEP::DualRand, CLHEP::RanshiEngine, and CLHEP::MTwistEngine.
Definition at line 36 of file RandomEngine.cc.
|
virtual |
Reimplemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::HepJamesRandom, and CLHEP::MTwistEngine.
Definition at line 40 of file RandomEngine.cc.
|
inline |
|
inline |
|
virtual |
Reimplemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::HepJamesRandom, CLHEP::MTwistEngine, and CLHEP::NonRandomEngine.
Definition at line 57 of file RandomEngine.cc.
|
virtual |
Reimplemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::HepJamesRandom, CLHEP::MTwistEngine, and CLHEP::NonRandomEngine.
Definition at line 75 of file RandomEngine.cc.
|
pure virtual |
Implemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::HepJamesRandom, and CLHEP::MTwistEngine.
|
pure virtual |
Implemented in CLHEP::RanluxEngine, CLHEP::DualRand, CLHEP::RanecuEngine, CLHEP::RanshiEngine, CLHEP::Ranlux64Engine, CLHEP::HepJamesRandom, and CLHEP::MTwistEngine.
|
pure virtual |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
protected |
Definition at line 143 of file RandomEngine.h.
|
protected |
Definition at line 144 of file RandomEngine.h.