CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#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 lxr=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 38 of file RandGaussZiggurat.h.
|
inline |
Definition at line 143 of file RandGaussZiggurat.h.
|
inline |
Definition at line 147 of file RandGaussZiggurat.h.
|
virtual |
Definition at line 26 of file RandGaussZiggurat.cc.
|
inlinestatic |
Definition at line 88 of file RandGaussZiggurat.h.
|
virtual |
|
inline |
Definition at line 68 of file RandGaussZiggurat.h.
Referenced by fireArray().
|
inline |
Definition at line 70 of file RandGaussZiggurat.h.
void CLHEP::RandGaussZiggurat::fireArray | ( | const int | size, |
double * | vect | ||
) |
Definition at line 156 of file RandGaussZiggurat.cc.
void CLHEP::RandGaussZiggurat::fireArray | ( | const int | size, |
double * | vect, | ||
double | mean, | ||
double | stdDev | ||
) |
Definition at line 170 of file RandGaussZiggurat.cc.
void CLHEP::RandGaussZiggurat::fireArray | ( | const int | size, |
float * | vect | ||
) |
Definition at line 149 of file RandGaussZiggurat.cc.
void CLHEP::RandGaussZiggurat::fireArray | ( | const int | size, |
float * | vect, | ||
float | mean, | ||
float | stdDev | ||
) |
Definition at line 163 of file RandGaussZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 185 of file RandGaussZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 29 of file RandGaussZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 113 of file RandGaussZiggurat.cc.
Reimplemented from CLHEP::RandGauss.
Definition at line 117 of file RandGaussZiggurat.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 177 of file RandGaussZiggurat.cc.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 59 of file RandGaussZiggurat.h.
|
inlinestatic |
|
static |
Definition at line 128 of file RandGaussZiggurat.cc.
|
static |
Definition at line 121 of file RandGaussZiggurat.cc.
|
static |
Definition at line 142 of file RandGaussZiggurat.cc.
|
static |
Definition at line 135 of file RandGaussZiggurat.cc.
|
static |
Definition at line 34 of file RandGaussZiggurat.cc.
Referenced by ziggurat_nfix(), and ziggurat_RNOR().
|
staticprotected |
Definition at line 85 of file RandGaussZiggurat.cc.
Referenced by ziggurat_RNOR().
|
inlinestaticprotected |
Definition at line 116 of file RandGaussZiggurat.h.
Referenced by fire(), operator()(), and shoot().
|
inlinestaticprotected |
Definition at line 114 of file RandGaussZiggurat.h.
Referenced by ziggurat_nfix(), and ziggurat_RNOR().
|
inlinestaticprotected |
Definition at line 115 of file RandGaussZiggurat.h.
Referenced by ziggurat_nfix().
|
staticprotected |
Definition at line 110 of file RandGaussZiggurat.h.
Referenced by ziggurat_init().
|
staticprotected |
Definition at line 110 of file RandGaussZiggurat.h.
Referenced by ziggurat_init(), and 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(), ziggurat_nfix(), and ziggurat_RNOR().
|
staticprotected |
Definition at line 110 of file RandGaussZiggurat.h.
Referenced by ziggurat_init().
|
staticprotected |
Definition at line 110 of file RandGaussZiggurat.h.
Referenced by ziggurat_init(), ziggurat_nfix(), and ziggurat_RNOR().
|
staticprotected |
Definition at line 112 of file RandGaussZiggurat.h.
Referenced by ziggurat_init(), ziggurat_nfix(), and ziggurat_RNOR().