Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <MTwistEngine.h>
Public Member Functions | |
MTwistEngine () | |
MTwistEngine (long seed) | |
MTwistEngine (int rowIndex, int colIndex) | |
MTwistEngine (std::istream &is) | |
virtual | ~MTwistEngine () |
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[]="MTwist.conf") const |
void | restoreStatus (const char filename[]="MTwist.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 Public Attributes | |
static const unsigned int | VECTOR_STATE_SIZE = 626 |
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 34 of file MTwistEngine.h.
CLHEP::MTwistEngine::MTwistEngine | ( | ) |
Definition at line 66 of file MTwistEngine.cc.
CLHEP::MTwistEngine::MTwistEngine | ( | long | seed | ) |
Definition at line 83 of file MTwistEngine.cc.
CLHEP::MTwistEngine::MTwistEngine | ( | int | rowIndex, |
int | colIndex | ||
) |
Definition at line 92 of file MTwistEngine.cc.
CLHEP::MTwistEngine::MTwistEngine | ( | std::istream & | is | ) |
Definition at line 108 of file MTwistEngine.cc.
|
virtual |
Definition at line 114 of file MTwistEngine.cc.
|
static |
Definition at line 346 of file MTwistEngine.cc.
|
inlinestatic |
Definition at line 77 of file MTwistEngine.h.
Referenced by restoreStatus().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 116 of file MTwistEngine.cc.
Referenced by flatArray(), and MTwistEngine().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 149 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 368 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 328 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 377 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 350 of file MTwistEngine.cc.
Referenced by get().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 64 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 235 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 239 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 270 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 318 of file MTwistEngine.cc.
|
virtual |
Reimplemented from CLHEP::HepRandomEngine.
Definition at line 301 of file MTwistEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 201 of file MTwistEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 190 of file MTwistEngine.cc.
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 153 of file MTwistEngine.cc.
Referenced by setSeeds().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 181 of file MTwistEngine.cc.
Referenced by MTwistEngine().
|
virtual |
Implements CLHEP::HepRandomEngine.
Definition at line 216 of file MTwistEngine.cc.
|
static |
Definition at line 83 of file MTwistEngine.h.
Referenced by getState().