Geant4-11
|
#include <RandGaussQ.h>
Public Member Functions | |
HepRandomEngine & | engine () |
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) |
double | flat () |
double | flat (HepRandomEngine *theNewEngine) |
void | flatArray (const int size, double *vect) |
void | flatArray (HepRandomEngine *theNewEngine, const int size, double *vect) |
std::istream & | get (std::istream &is) |
bool | getF () const |
std::string | name () const |
virtual double | operator() () |
virtual double | operator() (double mean, double stdDev) |
std::ostream & | put (std::ostream &os) const |
RandGaussQ (HepRandomEngine &anEngine, double mean=0.0, double stdDev=1.0) | |
RandGaussQ (HepRandomEngine *anEngine, double mean=0.0, double stdDev=1.0) | |
void | setF (bool val) |
virtual | ~RandGaussQ () |
Static Public Member Functions | |
static int | createInstance () |
static std::string | distributionName () |
static bool | getFlag () |
static HepRandomEngine * | getTheEngine () |
static HepRandom * | getTheGenerator () |
static long | getTheSeed () |
static const long * | getTheSeeds () |
static void | getTheTableSeeds (long *seeds, int index) |
static std::istream & | restoreDistState (std::istream &is) |
static void | restoreEngineStatus (const char filename[]="Config.conf") |
static std::istream & | restoreFullState (std::istream &is) |
static std::istream & | restoreStaticRandomStates (std::istream &is) |
static std::ostream & | saveDistState (std::ostream &os) |
static void | saveEngineStatus (const char filename[]="Config.conf") |
static std::ostream & | saveFullState (std::ostream &os) |
static std::ostream & | saveStaticRandomStates (std::ostream &os) |
static void | setFlag (bool val) |
static void | setTheEngine (HepRandomEngine *theNewEngine) |
static void | setTheSeed (long seed, int lxr=3) |
static void | setTheSeeds (const long *seeds, int aux=-1) |
static double | shoot () |
static double | shoot (double mean, double stdDev) |
static double | shoot (HepRandomEngine *anotherEngine) |
static double | shoot (HepRandomEngine *anotherEngine, double mean, double stdDev) |
static void | shootArray (const int size, double *vect, double mean=0.0, double stdDev=1.0) |
static void | shootArray (HepRandomEngine *anotherEngine, const int size, double *vect, double mean=0.0, double stdDev=1.0) |
static void | showEngineStatus () |
Protected Member Functions | |
double | normal () |
Static Protected Member Functions | |
static double | getVal () |
static void | setVal (double nextVal) |
static double | transformQuick (double r) |
static double | transformSmall (double r) |
Protected Attributes | |
double | defaultMean |
double | defaultStdDev |
std::shared_ptr< HepRandomEngine > | localEngine |
Static Protected Attributes | |
static const long | seedTable [215][2] |
Private Attributes | |
double | nextGauss |
bool | set |
Static Private Attributes | |
static CLHEP_THREAD_LOCAL double | nextGauss_st = 0.0 |
static CLHEP_THREAD_LOCAL bool | set_st = false |
Definition at line 30 of file RandGaussQ.h.
|
inline |
|
inline |
|
virtual |
Definition at line 24 of file RandGaussQ.cc.
|
staticinherited |
Definition at line 311 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::defaults::ensureInitialized(), and CLHEP::anonymous_namespace{Random.cc}::theDefaults().
|
inlinestatic |
Definition at line 102 of file RandGaussQ.h.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 22 of file RandGaussQ.cc.
References CLHEP::RandGauss::engine().
|
inline |
Referenced by fireArray().
|
inline |
void CLHEP::RandGaussQ::fireArray | ( | const int | size, |
double * | vect | ||
) |
Definition at line 50 of file RandGaussQ.cc.
References CLHEP::RandGauss::defaultMean, CLHEP::RandGauss::defaultStdDev, and fire().
void CLHEP::RandGaussQ::fireArray | ( | const int | size, |
double * | vect, | ||
double | mean, | ||
double | stdDev | ||
) |
Definition at line 56 of file RandGaussQ.cc.
References fire().
|
inherited |
Definition at line 199 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.
Referenced by CLHEP::RandExponential::shoot().
|
inlineinherited |
|
inherited |
Definition at line 204 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.
|
inlineinherited |
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 173 of file RandGaussQ.cc.
References CLHEP::RandGauss::get(), and name().
|
inlineinherited |
|
staticinherited |
Definition at line 171 of file RandGauss.cc.
References CLHEP::RandGauss::set_st.
Referenced by CLHEP::RandGauss::saveDistState(), CLHEP::RandGauss::saveEngineStatus(), and CLHEP::RandGauss::shoot().
|
staticinherited |
Definition at line 268 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.
Referenced by CLHEP::StaticRandomStates::restore(), CLHEP::RandFlat::restoreEngineStatus(), CLHEP::RandGauss::restoreEngineStatus(), CLHEP::RandFlat::saveEngineStatus(), CLHEP::RandGauss::saveEngineStatus(), CLHEP::RandExponential::shoot(), CLHEP::RandExpZiggurat::shoot(), CLHEP::RandFlat::shoot(), CLHEP::RandGauss::shoot(), CLHEP::RandGaussZiggurat::shoot(), CLHEP::RandChiSquare::shoot(), CLHEP::RandStudentT::shoot(), CLHEP::RandBreitWigner::shoot(), CLHEP::RandGamma::shoot(), CLHEP::RandPoisson::shoot(), CLHEP::RandPoissonQ::shoot(), CLHEP::RandBinomial::shoot(), and CLHEP::RandFlat::shootArray().
|
staticinherited |
Definition at line 263 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theGenerator.
|
staticinherited |
Definition at line 239 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.
|
staticinherited |
Definition at line 249 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.
|
staticinherited |
Definition at line 254 of file Random.cc.
Referenced by CLHEP::HepJamesRandom::HepJamesRandom(), CLHEP::MTwistEngine::MTwistEngine(), CLHEP::RanecuEngine::RanecuEngine(), CLHEP::Ranlux64Engine::Ranlux64Engine(), CLHEP::RanluxEngine::RanluxEngine(), and CLHEP::RanecuEngine::setSeed().
|
staticprotectedinherited |
Definition at line 181 of file RandGauss.cc.
References CLHEP::RandGauss::nextGauss_st.
Referenced by CLHEP::RandGauss::saveDistState(), CLHEP::RandGauss::saveEngineStatus(), and CLHEP::RandGauss::shoot().
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 21 of file RandGaussQ.cc.
Referenced by source.g4viscp.G4Scene::create_scene(), get(), mcscore.MCParticle::printout(), put(), and source.g4viscp.G4Scene::update_scene().
|
protectedinherited |
Definition at line 132 of file RandGauss.cc.
References fac, CLHEP::RandGauss::localEngine, CLHEP::RandGauss::nextGauss, and CLHEP::RandGauss::set.
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 27 of file RandGaussQ.cc.
References CLHEP::RandGauss::defaultMean, CLHEP::RandGauss::defaultStdDev, CLHEP::RandGauss::localEngine, and transformQuick().
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 31 of file RandGaussQ.cc.
References CLHEP::RandGauss::localEngine, and transformQuick().
|
virtual |
Reimplemented from CLHEP::RandGauss.
Definition at line 165 of file RandGaussQ.cc.
References name(), and CLHEP::RandGauss::put().
|
staticinherited |
Definition at line 346 of file RandGauss.cc.
References CLHEP::RandGauss::distributionName(), CLHEP::DoubConv::longs2double(), CLHEP::RandGauss::nextGauss_st, CLHEP::possibleKeywordInput(), and CLHEP::RandGauss::setFlag().
Referenced by CLHEP::StaticRandomStates::restore(), and CLHEP::RandGauss::restoreFullState().
|
staticinherited |
Definition at line 211 of file RandGauss.cc.
References CLHEP::HepRandom::getTheEngine(), CLHEP::DoubConv::longs2double(), CLHEP::RandGauss::nextGauss_st, CLHEP::possibleKeywordInput(), CLHEP::HepRandomEngine::restoreStatus(), and CLHEP::RandGauss::setFlag().
|
staticinherited |
Definition at line 396 of file RandGauss.cc.
References CLHEP::RandGauss::restoreDistState(), and CLHEP::HepRandom::restoreFullState().
|
staticinherited |
Definition at line 302 of file Random.cc.
References CLHEP::StaticRandomStates::restore().
|
staticinherited |
Definition at line 331 of file RandGauss.cc.
References CLHEP::RandGauss::distributionName(), CLHEP::DoubConv::dto2longs(), CLHEP::RandGauss::getFlag(), CLHEP::RandGauss::getVal(), and CLHEP::prec.
Referenced by CLHEP::RandGauss::saveFullState().
|
staticinherited |
Definition at line 191 of file RandGauss.cc.
References demo::app, CLHEP::DoubConv::dto2longs(), CLHEP::RandGauss::getFlag(), CLHEP::HepRandom::getTheEngine(), CLHEP::RandGauss::getVal(), and CLHEP::HepRandomEngine::saveStatus().
|
staticinherited |
Definition at line 390 of file RandGauss.cc.
References CLHEP::RandGauss::saveDistState(), and CLHEP::HepRandom::saveFullState().
Referenced by CLHEP::StaticRandomStates::save().
|
staticinherited |
Definition at line 298 of file Random.cc.
References CLHEP::StaticRandomStates::save().
|
inlineinherited |
|
staticinherited |
Definition at line 176 of file RandGauss.cc.
References CLHEP::RandGauss::set_st.
Referenced by CLHEP::RandGauss::restoreDistState(), CLHEP::RandGauss::restoreEngineStatus(), and CLHEP::RandGauss::shoot().
|
staticinherited |
Definition at line 273 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.
Referenced by CLHEP::StaticRandomStates::restore().
|
staticinherited |
Definition at line 234 of file Random.cc.
References CLHEP::lux, CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.
|
staticinherited |
Definition at line 244 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.
|
staticprotectedinherited |
Definition at line 186 of file RandGauss.cc.
References CLHEP::RandGauss::nextGauss_st.
Referenced by CLHEP::RandGauss::shoot().
|
inlinestatic |
Referenced by CLHEP::RandPoissonQ::poissonDeviateQuick(), and shootArray().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 35 of file RandGaussQ.cc.
References shoot().
|
static |
Definition at line 42 of file RandGaussQ.cc.
References shoot().
|
staticinherited |
Definition at line 306 of file Random.cc.
References CLHEP::anonymous_namespace{Random.cc}::theDefaults(), and CLHEP::anonymous_namespace{Random.cc}::defaults::theEngine.
|
staticprotected |
Definition at line 91 of file RandGaussQ.cc.
References CLHEP::gaussTables, G4INCL::Math::sign(), Table0offset, Table0scale, Table0size, Table0step, Table1offset, Table1size, Table1step, and transformSmall().
Referenced by operator()().
|
staticprotected |
Definition at line 124 of file RandGaussQ.cc.
References eps, and CLHEP::twopi.
Referenced by transformQuick().
|
protectedinherited |
Definition at line 151 of file RandGauss.h.
Referenced by CLHEP::RandGaussZiggurat::fire(), CLHEP::RandGauss::fireArray(), fireArray(), CLHEP::RandGaussZiggurat::fireArray(), CLHEP::RandGauss::get(), CLHEP::RandGauss::operator()(), operator()(), CLHEP::RandGaussZiggurat::operator()(), and CLHEP::RandGauss::put().
|
protectedinherited |
Definition at line 152 of file RandGauss.h.
Referenced by CLHEP::RandGaussZiggurat::fire(), CLHEP::RandGauss::fireArray(), fireArray(), CLHEP::RandGaussZiggurat::fireArray(), CLHEP::RandGauss::get(), CLHEP::RandGauss::operator()(), operator()(), CLHEP::RandGaussZiggurat::operator()(), and CLHEP::RandGauss::put().
|
protectedinherited |
Definition at line 154 of file RandGauss.h.
Referenced by CLHEP::RandGauss::engine(), CLHEP::RandGaussZiggurat::fire(), CLHEP::RandGauss::normal(), operator()(), and CLHEP::RandGaussZiggurat::operator()().
|
privateinherited |
Definition at line 159 of file RandGauss.h.
Referenced by CLHEP::RandGauss::get(), CLHEP::RandGauss::normal(), and CLHEP::RandGauss::put().
|
staticprivateinherited |
Definition at line 163 of file RandGauss.h.
Referenced by CLHEP::RandGauss::getVal(), CLHEP::RandGauss::restoreDistState(), CLHEP::RandGauss::restoreEngineStatus(), and CLHEP::RandGauss::setVal().
|
staticprotectedinherited |
|
privateinherited |
Definition at line 158 of file RandGauss.h.
Referenced by CLHEP::RandGauss::get(), CLHEP::RandGauss::getF(), CLHEP::RandGauss::normal(), CLHEP::RandGauss::put(), and CLHEP::RandGauss::setF().
|
staticprivateinherited |
Definition at line 162 of file RandGauss.h.
Referenced by CLHEP::RandGauss::getFlag(), and CLHEP::RandGauss::setFlag().