Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <RandGaussZiggurat.h>
Public Member Functions | |
RandGaussZiggurat (HepRandomEngine &anEngine, double mean=0.0, double stdDev=1.0) | |
RandGaussZiggurat (HepRandomEngine *anEngine, double mean=0.0, double stdDev=1.0) | |
virtual | ~RandGaussZiggurat () |
float | fire () |
float | fire (float mean, float stdDev) |
void | fireArray (const int size, float *vect) |
void | fireArray (const int size, double *vect) |
void | fireArray (const int size, float *vect, float mean, float stdDev) |
void | fireArray (const int size, double *vect, double mean, double stdDev) |
virtual double | operator() () |
virtual double | operator() (double mean, double stdDev) |
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::RandGauss | |
RandGauss (HepRandomEngine &anEngine, double mean=0.0, double stdDev=1.0) | |
RandGauss (HepRandomEngine *anEngine, double mean=0.0, double stdDev=1.0) | |
virtual | ~RandGauss () |
double | fire () |
double | fire (double mean, double stdDev) |
void | fireArray (const int size, double *vect) |
void | fireArray (const int size, double *vect, double mean, double stdDev) |
virtual double | operator() () |
virtual double | operator() (double mean, double stdDev) |
std::string | name () const |
HepRandomEngine & | engine () |
std::ostream & | put (std::ostream &os) const |
std::istream & | get (std::istream &is) |
bool | getF () const |
void | setF (bool val) |
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, float stdDev) |
static void | shootArray (const int size, float *vect, float mean=0.0, float stdDev=1.0) |
static void | shootArray (const int size, double *vect, double mean=0.0, double stdDev=1.0) |
static float | shoot (HepRandomEngine *anotherEngine) |
static float | shoot (HepRandomEngine *anotherEngine, float mean, float stdDev) |
static void | shootArray (HepRandomEngine *anotherEngine, const int size, float *vect, float mean=0.0, float stdDev=1.0) |
static void | shootArray (HepRandomEngine *anotherEngine, const int size, double *vect, double mean=0.0, double stdDev=1.0) |
static std::string | distributionName () |
static bool | ziggurat_init () |
Static Public Member Functions inherited from CLHEP::RandGauss | |
static double | shoot () |
static double | shoot (double mean, double stdDev) |
static void | shootArray (const int size, double *vect, double mean=0.0, double stdDev=1.0) |
static double | shoot (HepRandomEngine *anEngine) |
static double | shoot (HepRandomEngine *anEngine, double mean, double stdDev) |
static void | shootArray (HepRandomEngine *anEngine, const int size, double *vect, double mean=0.0, double stdDev=1.0) |
static std::string | distributionName () |
static bool | getFlag () |
static void | setFlag (bool val) |
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 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_RNOR (HepRandomEngine *anEngine) |
static float | ziggurat_nfix (long hz, HepRandomEngine *anEngine) |
Static Protected Member Functions inherited from CLHEP::RandGauss | |
static double | getVal () |
static void | setVal (double nextVal) |
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] |
Additional Inherited Members | |
Protected Member Functions inherited from CLHEP::RandGauss | |
double | normal () |
Protected Attributes inherited from CLHEP::RandGauss | |
double | defaultMean |
double | defaultStdDev |
std::shared_ptr< HepRandomEngine > | localEngine |
Definition at line 37 of file RandGaussZiggurat.h.
|
inline |
Definition at line 137 of file RandGaussZiggurat.h.
|
inline |
Definition at line 141 of file RandGaussZiggurat.h.
|
virtual |
Definition at line 14 of file RandGaussZiggurat.cc.
|
inlinestatic |
Definition at line 87 of file RandGaussZiggurat.h.
|
virtual |
|
inline |
Definition at line 67 of file RandGaussZiggurat.h.
Referenced by fireArray().
|
inline |
Definition at line 69 of file RandGaussZiggurat.h.
void CLHEP::RandGaussZiggurat::fireArray | ( | const int | size, |
double * | vect | ||
) |
Definition at line 144 of file RandGaussZiggurat.cc.
void CLHEP::RandGaussZiggurat::fireArray | ( | const int | size, |
double * | vect, | ||
double | mean, | ||
double | stdDev | ||
) |
Definition at line 158 of file RandGaussZiggurat.cc.
void CLHEP::RandGaussZiggurat::fireArray | ( | const int | size, |
float * | vect | ||
) |
Definition at line 137 of file RandGaussZiggurat.cc.
void CLHEP::RandGaussZiggurat::fireArray | ( | const int | size, |
float * | vect, | ||
float | mean, | ||
float | stdDev | ||
) |
Definition at line 151 of file RandGaussZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 173 of file RandGaussZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 17 of file RandGaussZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 101 of file RandGaussZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 105 of file RandGaussZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 165 of file RandGaussZiggurat.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 58 of file RandGaussZiggurat.h.
|
inlinestatic |
|
static |
Definition at line 116 of file RandGaussZiggurat.cc.
|
static |
Definition at line 109 of file RandGaussZiggurat.cc.
|
static |
Definition at line 130 of file RandGaussZiggurat.cc.
|
static |
Definition at line 123 of file RandGaussZiggurat.cc.
|
static |
Definition at line 22 of file RandGaussZiggurat.cc.
Referenced by ziggurat_nfix(), and ziggurat_RNOR().
|
staticprotected |
Definition at line 73 of file RandGaussZiggurat.cc.
Referenced by ziggurat_RNOR().
|
inlinestaticprotected |
Definition at line 115 of file RandGaussZiggurat.h.
Referenced by fire(), operator()(), and shoot().
|
inlinestaticprotected |
Definition at line 113 of file RandGaussZiggurat.h.
Referenced by ziggurat_nfix(), and ziggurat_RNOR().
|
inlinestaticprotected |
Definition at line 114 of file RandGaussZiggurat.h.
Referenced by ziggurat_nfix().
|
staticprotected |
Definition at line 109 of file RandGaussZiggurat.h.
Referenced by ziggurat_init().
|
staticprotected |
Definition at line 109 of file RandGaussZiggurat.h.
Referenced by ziggurat_init(), and ziggurat_nfix().
|
staticprotected |
Definition at line 108 of file RandGaussZiggurat.h.
Referenced by ziggurat_init().
|
staticprotected |
Definition at line 108 of file RandGaussZiggurat.h.
Referenced by ziggurat_init(), ziggurat_nfix(), and ziggurat_RNOR().
|
staticprotected |
Definition at line 109 of file RandGaussZiggurat.h.
Referenced by ziggurat_init().
|
staticprotected |
Definition at line 109 of file RandGaussZiggurat.h.
Referenced by ziggurat_init(), ziggurat_nfix(), and ziggurat_RNOR().
|
staticprotected |
Definition at line 111 of file RandGaussZiggurat.h.
Referenced by ziggurat_init(), ziggurat_nfix(), and ziggurat_RNOR().