|
Geant4
10.07
|
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 |
| HepRandomEngine | ( | ) |
|
virtual |
| bool operator== | ( | const HepRandomEngine & | engine | ) |
| bool operator!= | ( | const HepRandomEngine & | engine | ) |
|
pure virtual |
Implemented in RanluxEngine, MixMaxRng, DualRand, RanshiEngine, Ranlux64Engine, NonRandomEngine, RanecuEngine, HepJamesRandom, and MTwistEngine.
Referenced by G4UniversalFluctuation::AddExcitation(), G4UniversalFluctuation::SampleGauss(), G4UrbanMscModel::SimpleScattering(), G4UrbanAdjointMscModel::SimpleScattering(), RandGaussZiggurat::ziggurat_UNI(), and RandExpZiggurat::ziggurat_UNI().
Implemented in MixMaxRng, RanluxEngine, DualRand, RanshiEngine, Ranlux64Engine, NonRandomEngine, RanecuEngine, HepJamesRandom, and MTwistEngine.
Implemented in NonRandomEngine, MixMaxRng, RanluxEngine, DualRand, RanshiEngine, RanecuEngine, Ranlux64Engine, HepJamesRandom, and MTwistEngine.
Implemented in NonRandomEngine, MixMaxRng, RanluxEngine, DualRand, RanecuEngine, RanshiEngine, Ranlux64Engine, HepJamesRandom, and MTwistEngine.
Implemented in MixMaxRng, RanluxEngine, DualRand, RanecuEngine, RanshiEngine, Ranlux64Engine, HepJamesRandom, and MTwistEngine.
Implemented in MixMaxRng, RanluxEngine, DualRand, RanecuEngine, RanshiEngine, Ranlux64Engine, HepJamesRandom, and MTwistEngine.
|
pure virtual |
Implemented in NonRandomEngine, MixMaxRng, RanluxEngine, DualRand, RanecuEngine, RanshiEngine, Ranlux64Engine, HepJamesRandom, and MTwistEngine.
|
pure virtual |
Implemented in MixMaxRng, RanluxEngine, RanecuEngine, DualRand, RanshiEngine, HepJamesRandom, Ranlux64Engine, MTwistEngine, and NonRandomEngine.
|
virtual |
Reimplemented in MixMaxRng, RanluxEngine, RanecuEngine, DualRand, RanshiEngine, HepJamesRandom, Ranlux64Engine, MTwistEngine, and NonRandomEngine.
|
virtual |
Reimplemented in MixMaxRng, RanluxEngine, RanecuEngine, DualRand, RanshiEngine, HepJamesRandom, Ranlux64Engine, MTwistEngine, and NonRandomEngine.
|
static |
|
virtual |
Reimplemented in MixMaxRng, RanluxEngine, RanecuEngine, DualRand, RanshiEngine, HepJamesRandom, Ranlux64Engine, MTwistEngine, and NonRandomEngine.
|
static |
|
static |
|
virtual |
Reimplemented in MixMaxRng, RanluxEngine, RanecuEngine, DualRand, RanshiEngine, HepJamesRandom, Ranlux64Engine, MTwistEngine, and NonRandomEngine.
|
virtual |
Reimplemented in MixMaxRng, RanluxEngine, RanecuEngine, DualRand, RanshiEngine, HepJamesRandom, Ranlux64Engine, MTwistEngine, and NonRandomEngine.
|
virtual |
Reimplemented in MixMaxRng, RanluxEngine, RanecuEngine, DualRand, RanshiEngine, HepJamesRandom, Ranlux64Engine, MTwistEngine, and NonRandomEngine.
| long getSeed | ( | ) | const |
References HepRandomEngine::theSeed.
| const long* getSeeds | ( | ) | const |
References HepRandomEngine::theSeeds.
|
virtual |
Reimplemented in RanluxEngine, MixMaxRng, DualRand, RanecuEngine, RanshiEngine, HepJamesRandom, and MTwistEngine.
|
virtual |
Reimplemented in MixMaxRng, RanluxEngine, RanecuEngine, DualRand, RanshiEngine, HepJamesRandom, and MTwistEngine.
|
virtual |
Reimplemented in MixMaxRng, RanluxEngine, RanecuEngine, DualRand, RanshiEngine, HepJamesRandom, and MTwistEngine.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
Referenced by HepRandomEngine::getSeed().
|
protected |
Referenced by HepRandomEngine::getSeeds().