Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
CLHEP::RandGaussQ Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/geant4/v4_10_4_p02ba/source/geant4.10.04.p02/source/externals/clhep/include/CLHEP/Random/RandGaussQ.h"

Inheritance diagram for CLHEP::RandGaussQ:
CLHEP::RandGauss CLHEP::HepRandom

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
 
HepRandomEngineengine ()
 
bool getF () const
 
void setF (bool val)
 
double flat ()
 
double flat (HepRandomEngine *theNewEngine)
 
void flatArray (const int size, double *vect)
 
void flatArray (HepRandomEngine *theNewEngine, const int size, double *vect)
 

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 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 HepRandomgetTheGenerator ()
 
static void setTheEngine (HepRandomEngine *theNewEngine)
 
static HepRandomEnginegetTheEngine ()
 
static std::ostream & saveStaticRandomStates (std::ostream &os)
 
static std::istream & restoreStaticRandomStates (std::istream &is)
 
static void showEngineStatus ()
 
static int createInstance ()
 

Protected Member Functions

double normal ()
 

Static Protected Member Functions

static double transformQuick (double r)
 
static double transformSmall (double r)
 
static double getVal ()
 
static void setVal (double nextVal)
 

Protected Attributes

double defaultMean
 
double defaultStdDev
 
std::shared_ptr< HepRandomEnginelocalEngine
 

Static Protected Attributes

static const long seedTable [215][2]
 

Detailed Description

Author

Definition at line 31 of file RandGaussQ.h.

Constructor & Destructor Documentation

CLHEP::RandGaussQ::RandGaussQ ( HepRandomEngine anEngine,
double  mean = 0.0,
double  stdDev = 1.0 
)
inline
CLHEP::RandGaussQ::RandGaussQ ( HepRandomEngine anEngine,
double  mean = 0.0,
double  stdDev = 1.0 
)
inline
virtual CLHEP::RandGaussQ::~RandGaussQ ( )
virtual

Member Function Documentation

static int CLHEP::HepRandom::createInstance ( )
staticinherited
static std::string CLHEP::RandGaussQ::distributionName ( )
inlinestatic

Definition at line 103 of file RandGaussQ.h.

References r(), transformQuick(), and transformSmall().

103 {return "RandGaussQ";}
HepRandomEngine& CLHEP::RandGaussQ::engine ( )
virtual

Reimplemented from CLHEP::RandGauss.

double CLHEP::RandGaussQ::fire ( )
inline
double CLHEP::RandGaussQ::fire ( double  mean,
double  stdDev 
)
inline
void CLHEP::RandGaussQ::fireArray ( const int  size,
double *  vect 
)
void CLHEP::RandGaussQ::fireArray ( const int  size,
double *  vect,
double  mean,
double  stdDev 
)
double CLHEP::HepRandom::flat ( )
inherited
double CLHEP::HepRandom::flat ( HepRandomEngine theNewEngine)
inlineinherited
void CLHEP::HepRandom::flatArray ( const int  size,
double *  vect 
)
inherited
void CLHEP::HepRandom::flatArray ( HepRandomEngine theNewEngine,
const int  size,
double *  vect 
)
inlineinherited
std::istream& CLHEP::RandGaussQ::get ( std::istream &  is)
virtual

Reimplemented from CLHEP::RandGauss.

bool CLHEP::RandGauss::getF ( ) const
inlineinherited

Definition at line 116 of file RandGauss.h.

116 {return set;}
static bool CLHEP::RandGauss::getFlag ( )
staticinherited
static HepRandomEngine* CLHEP::HepRandom::getTheEngine ( )
staticinherited
static HepRandom* CLHEP::HepRandom::getTheGenerator ( )
staticinherited
static long CLHEP::HepRandom::getTheSeed ( )
staticinherited
static const long* CLHEP::HepRandom::getTheSeeds ( )
staticinherited
static void CLHEP::HepRandom::getTheTableSeeds ( long *  seeds,
int  index 
)
staticinherited
static double CLHEP::RandGauss::getVal ( )
staticprotectedinherited

Referenced by CLHEP::RandGauss::setF().

std::string CLHEP::RandGaussQ::name ( ) const
virtual
double CLHEP::RandGauss::normal ( )
protectedinherited

Referenced by CLHEP::RandGauss::setF().

virtual double CLHEP::RandGaussQ::operator() ( )
virtual

Reimplemented from CLHEP::RandGauss.

virtual double CLHEP::RandGaussQ::operator() ( double  mean,
double  stdDev 
)
virtual

Reimplemented from CLHEP::RandGauss.

std::ostream& CLHEP::RandGaussQ::put ( std::ostream &  os) const
virtual

Reimplemented from CLHEP::RandGauss.

static std::istream& CLHEP::RandGauss::restoreDistState ( std::istream &  is)
staticinherited

Referenced by CLHEP::RandGauss::setF().

static void CLHEP::RandGauss::restoreEngineStatus ( const char  filename[] = "Config.conf")
staticinherited

Referenced by CLHEP::RandGauss::setF().

static std::istream& CLHEP::RandGauss::restoreFullState ( std::istream &  is)
staticinherited

Referenced by CLHEP::RandGauss::setF().

static std::istream& CLHEP::HepRandom::restoreStaticRandomStates ( std::istream &  is)
staticinherited
static std::ostream& CLHEP::RandGauss::saveDistState ( std::ostream &  os)
staticinherited

Referenced by CLHEP::RandGauss::setF().

static void CLHEP::RandGauss::saveEngineStatus ( const char  filename[] = "Config.conf")
staticinherited

Referenced by CLHEP::RandGauss::setF().

static std::ostream& CLHEP::RandGauss::saveFullState ( std::ostream &  os)
staticinherited

Referenced by CLHEP::RandGauss::setF().

static std::ostream& CLHEP::HepRandom::saveStaticRandomStates ( std::ostream &  os)
staticinherited
void CLHEP::RandGauss::setF ( bool  val)
inlineinherited
static void CLHEP::RandGauss::setFlag ( bool  val)
staticinherited
static void CLHEP::HepRandom::setTheEngine ( HepRandomEngine theNewEngine)
staticinherited
static void CLHEP::HepRandom::setTheSeed ( long  seed,
int  lux = 3 
)
staticinherited
static void CLHEP::HepRandom::setTheSeeds ( const long *  seeds,
int  aux = -1 
)
staticinherited
static void CLHEP::RandGauss::setVal ( double  nextVal)
staticprotectedinherited

Referenced by CLHEP::RandGauss::setF().

static double CLHEP::RandGaussQ::shoot ( )
inlinestatic
static double CLHEP::RandGaussQ::shoot ( double  mean,
double  stdDev 
)
inlinestatic
static double CLHEP::RandGaussQ::shoot ( HepRandomEngine anotherEngine)
inlinestatic
static double CLHEP::RandGaussQ::shoot ( HepRandomEngine anotherEngine,
double  mean,
double  stdDev 
)
inlinestatic
static void CLHEP::RandGaussQ::shootArray ( const int  size,
double *  vect,
double  mean = 0.0,
double  stdDev = 1.0 
)
static
static void CLHEP::RandGaussQ::shootArray ( HepRandomEngine anotherEngine,
const int  size,
double *  vect,
double  mean = 0.0,
double  stdDev = 1.0 
)
static
static void CLHEP::HepRandom::showEngineStatus ( )
staticinherited
static double CLHEP::RandGaussQ::transformQuick ( double  r)
staticprotected

Referenced by distributionName().

static double CLHEP::RandGaussQ::transformSmall ( double  r)
staticprotected

Referenced by distributionName().

Member Data Documentation

double CLHEP::RandGauss::defaultMean
protectedinherited

Definition at line 152 of file RandGauss.h.

Referenced by CLHEP::RandGaussZiggurat::fire().

double CLHEP::RandGauss::defaultStdDev
protectedinherited

Definition at line 153 of file RandGauss.h.

Referenced by CLHEP::RandGaussZiggurat::fire().

std::shared_ptr<HepRandomEngine> CLHEP::RandGauss::localEngine
protectedinherited

Definition at line 155 of file RandGauss.h.

Referenced by CLHEP::RandGaussZiggurat::fire().

const long CLHEP::HepRandom::seedTable
staticprotectedinherited

Definition at line 157 of file Random.h.


The documentation for this class was generated from the following file: