CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#include <RandGauss.h>
Public Member Functions | |
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 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 () |
Protected Member Functions | |
double | normal () |
Static Protected Member Functions | |
static double | getVal () |
static void | setVal (double nextVal) |
Protected Attributes | |
double | defaultMean |
double | defaultStdDev |
std::shared_ptr< HepRandomEngine > | localEngine |
Additional Inherited Members | |
Static Protected Attributes inherited from CLHEP::HepRandom | |
static const long | seedTable [215][2] |
Definition at line 43 of file RandGauss.h.
|
inline |
|
inline |
|
virtual |
Definition at line 53 of file RandGauss.cc.
|
inlinestatic |
Definition at line 101 of file RandGauss.h.
Referenced by restoreDistState(), and saveDistState().
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandGaussQ, CLHEP::RandGaussT, and CLHEP::RandGaussZiggurat.
Definition at line 47 of file RandGauss.cc.
Referenced by CLHEP::RandGaussQ::engine(), CLHEP::RandGaussT::engine(), and CLHEP::RandGaussZiggurat::engine().
double CLHEP::RandGauss::fire | ( | ) |
Referenced by dist_layout(), fireArray(), main(), operator()(), and testRandGauss().
void CLHEP::RandGauss::fireArray | ( | const int | size, |
double * | vect | ||
) |
Definition at line 160 of file RandGauss.cc.
Definition at line 166 of file RandGauss.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandGaussQ, CLHEP::RandGaussT, and CLHEP::RandGaussZiggurat.
Definition at line 285 of file RandGauss.cc.
Referenced by CLHEP::RandGaussQ::get(), CLHEP::RandGaussT::get(), and CLHEP::RandGaussZiggurat::get().
|
inline |
Definition at line 117 of file RandGauss.h.
|
static |
Definition at line 173 of file RandGauss.cc.
Referenced by saveDistState(), saveEngineStatus(), and shoot().
|
staticprotected |
Definition at line 183 of file RandGauss.cc.
Referenced by saveDistState(), saveEngineStatus(), and shoot().
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandGaussQ, CLHEP::RandGaussT, and CLHEP::RandGaussZiggurat.
Definition at line 46 of file RandGauss.cc.
|
protected |
Definition at line 134 of file RandGauss.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandGaussQ, CLHEP::RandGaussT, and CLHEP::RandGaussZiggurat.
Definition at line 56 of file RandGauss.cc.
Reimplemented in CLHEP::RandGaussQ, CLHEP::RandGaussT, and CLHEP::RandGaussZiggurat.
Definition at line 60 of file RandGauss.cc.
|
virtual |
Reimplemented from CLHEP::HepRandom.
Reimplemented in CLHEP::RandGaussQ, CLHEP::RandGaussT, and CLHEP::RandGaussZiggurat.
Definition at line 260 of file RandGauss.cc.
Referenced by CLHEP::RandGaussQ::put(), CLHEP::RandGaussT::put(), and CLHEP::RandGaussZiggurat::put().
|
static |
Definition at line 361 of file RandGauss.cc.
Referenced by CLHEP::StaticRandomStates::restore(), and restoreFullState().
|
static |
Definition at line 213 of file RandGauss.cc.
Referenced by restoreStep().
|
static |
Definition at line 411 of file RandGauss.cc.
|
static |
Definition at line 346 of file RandGauss.cc.
Referenced by saveFullState().
|
static |
Definition at line 193 of file RandGauss.cc.
Referenced by saveStep().
|
static |
Definition at line 405 of file RandGauss.cc.
Referenced by CLHEP::StaticRandomStates::save().
|
inline |
Definition at line 119 of file RandGauss.h.
|
static |
Definition at line 178 of file RandGauss.cc.
Referenced by restoreDistState(), restoreEngineStatus(), shoot(), and testRandGauss().
|
staticprotected |
Definition at line 188 of file RandGauss.cc.
Referenced by shoot().
|
static |
Definition at line 64 of file RandGauss.cc.
Referenced by captureStatics(), layout(), main(), randomizeStatics(), restoreStep(), restoreStepX(), saveStep(), saveStepX(), shootArray(), testRandGauss(), and user_layout().
|
static |
Definition at line 100 of file RandGauss.cc.
|
inlinestatic |
|
static |
Definition at line 93 of file RandGauss.cc.
|
static |
Definition at line 126 of file RandGauss.cc.
|
protected |
Definition at line 153 of file RandGauss.h.
Referenced by CLHEP::RandGaussZiggurat::fire(), fireArray(), CLHEP::RandGaussQ::fireArray(), CLHEP::RandGaussT::fireArray(), CLHEP::RandGaussZiggurat::fireArray(), get(), operator()(), CLHEP::RandGaussQ::operator()(), CLHEP::RandGaussT::operator()(), CLHEP::RandGaussZiggurat::operator()(), and put().
|
protected |
Definition at line 154 of file RandGauss.h.
Referenced by CLHEP::RandGaussZiggurat::fire(), fireArray(), CLHEP::RandGaussQ::fireArray(), CLHEP::RandGaussT::fireArray(), CLHEP::RandGaussZiggurat::fireArray(), get(), operator()(), CLHEP::RandGaussQ::operator()(), CLHEP::RandGaussT::operator()(), CLHEP::RandGaussZiggurat::operator()(), and put().
|
protected |
Definition at line 156 of file RandGauss.h.
Referenced by engine(), CLHEP::RandGaussZiggurat::fire(), normal(), CLHEP::RandGaussQ::operator()(), CLHEP::RandGaussT::operator()(), and CLHEP::RandGaussZiggurat::operator()().