Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <JamesRandom.h>
Public Member Functions | |
HepJamesRandom (std::istream &is) | |
HepJamesRandom () | |
HepJamesRandom (long seed) | |
HepJamesRandom (int rowIndex, int colIndex) | |
virtual | ~HepJamesRandom () |
double | flat () |
void | flatArray (const int size, double *vect) |
void | setSeed (long seed, int dum=0) |
void | setSeeds (const long *seeds, int dum=0) |
void | saveStatus (const char filename[]="JamesRand.conf") const |
void | restoreStatus (const char filename[]="JamesRand.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) |
long | getSeed () const |
const long * | getSeeds () const |
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 Public Attributes | |
static const unsigned int | VECTOR_STATE_SIZE = 202 |
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 43 of file JamesRandom.h.
CLHEP::HepJamesRandom::HepJamesRandom | ( | std::istream & | is | ) |
Definition at line 106 of file JamesRandom.cc.
CLHEP::HepJamesRandom::HepJamesRandom | ( | ) |
Definition at line 73 of file JamesRandom.cc.
CLHEP::HepJamesRandom::HepJamesRandom | ( | long | seed | ) |
Definition at line 66 of file JamesRandom.cc.
CLHEP::HepJamesRandom::HepJamesRandom | ( | int | rowIndex, |
int | colIndex ) |
Definition at line 90 of file JamesRandom.cc.
|
virtual |
Definition at line 112 of file JamesRandom.cc.
|
static |
Definition at line 333 of file JamesRandom.cc.
|
inlinestatic |
Definition at line 91 of file JamesRandom.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 239 of file JamesRandom.cc.
Referenced by flatArray().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 264 of file JamesRandom.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 381 of file JamesRandom.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 316 of file JamesRandom.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 390 of file JamesRandom.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 337 of file JamesRandom.cc.
Referenced by get(), get(), getState(), and restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 64 of file JamesRandom.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 274 of file JamesRandom.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 278 of file JamesRandom.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 282 of file JamesRandom.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 297 of file JamesRandom.cc.
Referenced by put(), and saveStatus().
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 287 of file JamesRandom.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 127 of file JamesRandom.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 114 of file JamesRandom.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 181 of file JamesRandom.cc.
Referenced by HepJamesRandom(), HepJamesRandom(), HepJamesRandom(), and setSeeds().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 233 of file JamesRandom.cc.
Referenced by HepJamesRandom(), HepJamesRandom(), and HepJamesRandom().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 165 of file JamesRandom.cc.
|
static |
Definition at line 97 of file JamesRandom.h.
Referenced by getState(), getState(), and restoreStatus().