Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <RandExpZiggurat.h>
Public Member Functions | |
RandExpZiggurat (HepRandomEngine &anEngine, double mean=1.0) | |
RandExpZiggurat (HepRandomEngine *anEngine, double mean=1.0) | |
virtual | ~RandExpZiggurat () |
float | fire () |
float | fire (float mean) |
void | fireArray (const int size, float *vect) |
void | fireArray (const int size, double *vect) |
void | fireArray (const int size, float *vect, float mean) |
void | fireArray (const int size, double *vect, double mean) |
virtual double | operator() () |
float | operator() (float mean) |
std::ostream & | put (std::ostream &os) const |
std::istream & | get (std::istream &is) |
std::string | name () const |
HepRandomEngine & | engine () |
Public Member Functions inherited from CLHEP::HepRandom | |
HepRandom () | |
HepRandom (long seed) | |
HepRandom (HepRandomEngine &algorithm) | |
HepRandom (HepRandomEngine *algorithm) | |
virtual | ~HepRandom () |
double | flat () |
void | flatArray (const int size, double *vect) |
double | flat (HepRandomEngine *theNewEngine) |
void | flatArray (HepRandomEngine *theNewEngine, const int size, double *vect) |
virtual double | operator() () |
virtual std::string | name () const |
virtual HepRandomEngine & | engine () |
virtual std::ostream & | put (std::ostream &os) const |
virtual std::istream & | get (std::istream &is) |
Static Public Member Functions | |
static float | shoot () |
static float | shoot (float mean) |
static void | shootArray (const int size, float *vect, float mean=1.0) |
static void | shootArray (const int size, double *vect, double mean=1.0) |
static float | shoot (HepRandomEngine *anEngine) |
static float | shoot (HepRandomEngine *anEngine, float mean) |
static void | shootArray (HepRandomEngine *anEngine, const int size, float *vect, float mean=1.0) |
static void | shootArray (HepRandomEngine *anEngine, const int size, double *vect, double mean=1.0) |
static std::string | distributionName () |
static bool | ziggurat_init () |
Static Public Member Functions inherited from CLHEP::HepRandom | |
static void | setTheSeed (long seed, int lux=3) |
static long | getTheSeed () |
static void | setTheSeeds (const long *seeds, int aux=-1) |
static const long * | getTheSeeds () |
static void | getTheTableSeeds (long *seeds, int index) |
static HepRandom * | getTheGenerator () |
static void | setTheEngine (HepRandomEngine *theNewEngine) |
static HepRandomEngine * | getTheEngine () |
static void | saveEngineStatus (const char filename[]="Config.conf") |
static void | restoreEngineStatus (const char filename[]="Config.conf") |
static std::ostream & | saveFullState (std::ostream &os) |
static std::istream & | restoreFullState (std::istream &is) |
static std::ostream & | saveDistState (std::ostream &os) |
static std::istream & | restoreDistState (std::istream &is) |
static std::ostream & | saveStaticRandomStates (std::ostream &os) |
static std::istream & | restoreStaticRandomStates (std::istream &is) |
static void | showEngineStatus () |
static int | createInstance () |
static std::string | distributionName () |
Static Protected Member Functions | |
static unsigned long | ziggurat_SHR3 (HepRandomEngine *anEngine) |
static float | ziggurat_UNI (HepRandomEngine *anEngine) |
static float | ziggurat_REXP (HepRandomEngine *anEngine) |
static float | ziggurat_efix (unsigned long jz, HepRandomEngine *anEngine) |
Static Protected Attributes | |
static CLHEP_THREAD_LOCAL unsigned long | kn [128] |
static CLHEP_THREAD_LOCAL unsigned long | ke [256] |
static CLHEP_THREAD_LOCAL float | wn [128] |
static CLHEP_THREAD_LOCAL float | fn [128] |
static CLHEP_THREAD_LOCAL float | we [256] |
static CLHEP_THREAD_LOCAL float | fe [256] |
static CLHEP_THREAD_LOCAL bool | ziggurat_is_init = false |
Static Protected Attributes inherited from CLHEP::HepRandom | |
static const long | seedTable [215][2] |
Definition at line 36 of file RandExpZiggurat.h.
|
inline |
Definition at line 158 of file RandExpZiggurat.h.
|
inline |
Definition at line 162 of file RandExpZiggurat.h.
|
virtual |
Definition at line 19 of file RandExpZiggurat.cc.
|
inlinestatic |
Definition at line 109 of file RandExpZiggurat.h.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 17 of file RandExpZiggurat.cc.
|
inline |
Definition at line 85 of file RandExpZiggurat.h.
Referenced by fire(), fireArray(), and operator()().
|
inline |
Definition at line 86 of file RandExpZiggurat.h.
void CLHEP::RandExpZiggurat::fireArray | ( | const int | size, |
double * | vect | ||
) |
Definition at line 56 of file RandExpZiggurat.cc.
void CLHEP::RandExpZiggurat::fireArray | ( | const int | size, |
double * | vect, | ||
double | mean | ||
) |
Definition at line 66 of file RandExpZiggurat.cc.
void CLHEP::RandExpZiggurat::fireArray | ( | const int | size, |
float * | vect | ||
) |
Definition at line 51 of file RandExpZiggurat.cc.
void CLHEP::RandExpZiggurat::fireArray | ( | const int | size, |
float * | vect, | ||
float | mean | ||
) |
Definition at line 61 of file RandExpZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 89 of file RandExpZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 15 of file RandExpZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 26 of file RandExpZiggurat.cc.
|
inline |
Definition at line 99 of file RandExpZiggurat.h.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Definition at line 71 of file RandExpZiggurat.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 70 of file RandExpZiggurat.h.
|
inlinestatic |
|
static |
Definition at line 36 of file RandExpZiggurat.cc.
|
static |
Definition at line 31 of file RandExpZiggurat.cc.
|
static |
Definition at line 46 of file RandExpZiggurat.cc.
|
static |
Definition at line 41 of file RandExpZiggurat.cc.
|
staticprotected |
Definition at line 110 of file RandExpZiggurat.cc.
Referenced by ziggurat_REXP().
|
static |
Definition at line 130 of file RandExpZiggurat.cc.
Referenced by ziggurat_efix(), and ziggurat_REXP().
|
inlinestaticprotected |
Definition at line 137 of file RandExpZiggurat.h.
|
inlinestaticprotected |
Definition at line 135 of file RandExpZiggurat.h.
Referenced by ziggurat_efix(), and ziggurat_REXP().
|
inlinestaticprotected |
Definition at line 136 of file RandExpZiggurat.h.
Referenced by ziggurat_efix().
|
staticprotected |
Definition at line 131 of file RandExpZiggurat.h.
Referenced by ziggurat_efix(), and ziggurat_init().
|
staticprotected |
Definition at line 131 of file RandExpZiggurat.h.
Referenced by ziggurat_init().
|
staticprotected |
Definition at line 130 of file RandExpZiggurat.h.
Referenced by ziggurat_efix(), ziggurat_init(), and ziggurat_REXP().
|
staticprotected |
Definition at line 130 of file RandExpZiggurat.h.
Referenced by ziggurat_init().
|
staticprotected |
Definition at line 131 of file RandExpZiggurat.h.
Referenced by ziggurat_efix(), ziggurat_init(), and ziggurat_REXP().
|
staticprotected |
Definition at line 131 of file RandExpZiggurat.h.
Referenced by ziggurat_init().
|
staticprotected |
Definition at line 133 of file RandExpZiggurat.h.
Referenced by ziggurat_efix(), ziggurat_init(), and ziggurat_REXP().