Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <RandGaussQ.h>
Public Member Functions | |
RandGaussQ (HepRandomEngine &anEngine, double mean=0.0, double stdDev=1.0) | |
RandGaussQ (HepRandomEngine *anEngine, double mean=0.0, double stdDev=1.0) | |
virtual | ~RandGaussQ () |
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::ostream & | put (std::ostream &os) const |
std::istream & | get (std::istream &is) |
std::string | name () const |
HepRandomEngine & | engine () |
![]() | |
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) |
![]() | |
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 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 *anotherEngine) |
static double | shoot (HepRandomEngine *anotherEngine, double mean, double stdDev) |
static void | shootArray (HepRandomEngine *anotherEngine, const int size, double *vect, double mean=0.0, double stdDev=1.0) |
static std::string | distributionName () |
![]() | |
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 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 double | transformQuick (double r) |
static double | transformSmall (double r) |
![]() | |
static double | getVal () |
static void | setVal (double nextVal) |
Additional Inherited Members | |
![]() | |
double | normal () |
![]() | |
double | defaultMean |
double | defaultStdDev |
shared_ptr< HepRandomEngine > | localEngine |
![]() | |
static const long | seedTable [215][2] |
Definition at line 31 of file RandGaussQ.h.
|
inline |
|
inline |
|
virtual |
Definition at line 25 of file RandGaussQ.cc.
|
inlinestatic |
Definition at line 103 of file RandGaussQ.h.
|
virtual |
|
inline |
Referenced by fireArray().
|
inline |
void CLHEP::RandGaussQ::fireArray | ( | const int | size, |
double * | vect | ||
) |
Definition at line 51 of file RandGaussQ.cc.
void CLHEP::RandGaussQ::fireArray | ( | const int | size, |
double * | vect, | ||
double | mean, | ||
double | stdDev | ||
) |
Definition at line 57 of file RandGaussQ.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 174 of file RandGaussQ.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 22 of file RandGaussQ.cc.
|
virtual |
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 32 of file RandGaussQ.cc.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 166 of file RandGaussQ.cc.
|
inlinestatic |
Referenced by shootArray().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 36 of file RandGaussQ.cc.
|
static |
Definition at line 43 of file RandGaussQ.cc.
|
staticprotected |
Definition at line 92 of file RandGaussQ.cc.
Referenced by operator()().
|
staticprotected |
Definition at line 125 of file RandGaussQ.cc.
Referenced by transformQuick().