|
Geant4.10
|
#include <RanshiEngine.h>
Public Member Functions | |
| RanshiEngine () | |
| RanshiEngine (std::istream &is) | |
| RanshiEngine (long seed) | |
| RanshiEngine (int rowIndex, int colIndex) | |
| virtual | ~RanshiEngine () |
| double | flat () |
| void | flatArray (const int size, double *vect) |
| void | setSeed (long seed, int) |
| void | setSeeds (const long *seeds, int) |
| void | saveStatus (const char filename[]="RanshiEngine.conf") const |
| void | restoreStatus (const char filename[]="RanshiEngine.conf") |
| void | showStatus () const |
| 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) |
| long | getSeed () const |
| const long * | getSeeds () const |
| virtual | operator double () |
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) |
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 52 of file RanshiEngine.h.
| CLHEP::RanshiEngine::RanshiEngine | ( | ) |
Definition at line 48 of file RanshiEngine.cc.
References flat(), int(), and CLHEP::HepRandomEngine::theSeed.
Referenced by setSeed().
| CLHEP::RanshiEngine::RanshiEngine | ( | std::istream & | is | ) |
Definition at line 63 of file RanshiEngine.cc.
| CLHEP::RanshiEngine::RanshiEngine | ( | long | seed | ) |
Definition at line 70 of file RanshiEngine.cc.
References flat(), int(), and CLHEP::HepRandomEngine::theSeed.
Definition at line 85 of file RanshiEngine.cc.
References flat(), int(), and CLHEP::HepRandomEngine::theSeed.
|
virtual |
Definition at line 99 of file RanshiEngine.cc.
|
static |
Definition at line 267 of file RanshiEngine.cc.
|
inlinestatic |
Definition at line 95 of file RanshiEngine.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 101 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::nearlyTwoToMinus_54(), CLHEP::HepRandomEngine::twoToMinus_32(), and CLHEP::HepRandomEngine::twoToMinus_53().
Referenced by flatArray(), and RanshiEngine().
Implements CLHEP::HepRandomEngine.
Definition at line 116 of file RanshiEngine.cc.
References flat().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 250 of file RanshiEngine.cc.
References getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 309 of file RanshiEngine.cc.
References getState().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 271 of file RanshiEngine.cc.
References CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and test::v.
Referenced by get(), and restoreStatus().
|
virtual |
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 43 of file RanshiEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 204 of file RanshiEngine.cc.
References buffer.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 216 of file RanshiEngine.cc.
References buffer.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 228 of file RanshiEngine.cc.
References put(), and test::v.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 238 of file RanshiEngine.cc.
References test::v.
Referenced by put(), and saveStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 154 of file RanshiEngine.cc.
References CLHEP::HepRandomEngine::checkFile(), engineName(), getState(), CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::theSeed, and test::v.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 143 of file RanshiEngine.cc.
References outFile, put(), and test::v.
Implements CLHEP::HepRandomEngine.
Definition at line 122 of file RanshiEngine.cc.
References RanshiEngine().
Implements CLHEP::HepRandomEngine.
Definition at line 126 of file RanshiEngine.cc.
References int(), CLHEP::HepRandomEngine::theSeed, and CLHEP::HepRandomEngine::theSeeds.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 187 of file RanshiEngine.cc.
References right, and CLHEP::HepRandomEngine::theSeed.
1.8.7