Geant4  10.00.p01
G4MTRandGauss Class Reference

#include <G4MTRandGauss.hh>

+ Inheritance diagram for G4MTRandGauss:
+ Collaboration diagram for G4MTRandGauss:

Public Member Functions

 G4MTRandGauss (CLHEP::HepRandomEngine &anEngine, G4double mean=0.0, G4double stdDev=1.0)
 
 G4MTRandGauss (CLHEP::HepRandomEngine *anEngine, G4double mean=0.0, G4double stdDev=1.0)
 
virtual ~G4MTRandGauss ()
 
G4double fire ()
 
G4double fire (G4double mean, G4double stdDev)
 
void fireArray (const G4int size, G4double *vect)
 
void fireArray (const G4int size, G4double *vect, G4double mean, G4double stdDev)
 
virtual G4double operator() ()
 
virtual G4double operator() (G4double mean, G4double stdDev)
 
G4bool getF () const
 
void setF (G4bool val)
 
G4double normal ()
 
- Public Member Functions inherited from G4MTHepRandom
 G4MTHepRandom ()
 
 G4MTHepRandom (G4long seed)
 
 G4MTHepRandom (CLHEP::HepRandomEngine &algorithm)
 
 G4MTHepRandom (CLHEP::HepRandomEngine *algorithm)
 
virtual ~G4MTHepRandom ()
 
G4double flat ()
 
void flatArray (const G4int size, G4double *vect)
 
G4double flat (CLHEP::HepRandomEngine *theNewEngine)
 
void flatArray (CLHEP::HepRandomEngine *theNewEngine, const G4int size, G4double *vect)
 
virtual std::ostream & put (std::ostream &os) const
 
virtual std::istream & get (std::istream &is)
 

Static Public Member Functions

static G4double shoot ()
 
static G4double shoot (G4double mean, G4double stdDev)
 
static void shootArray (const G4int size, G4double *vect, G4double mean=0.0, G4double stdDev=1.0)
 
static G4double shoot (CLHEP::HepRandomEngine *anEngine)
 
static G4double shoot (CLHEP::HepRandomEngine *anEngine, G4double mean, G4double stdDev)
 
static void shootArray (CLHEP::HepRandomEngine *anEngine, const G4int size, G4double *vect, G4double mean=0.0, G4double stdDev=1.0)
 
static G4bool getFlag ()
 
static void setFlag (G4bool val)
 
static G4double getVal ()
 
static void setVal (G4double nextVal)
 
- Static Public Member Functions inherited from G4MTHepRandom
static void setTheSeed (G4long seed, G4int lux=3)
 
static G4long getTheSeed ()
 
static void setTheSeeds (const G4long *seeds, G4int aux=-1)
 
static const G4longgetTheSeeds ()
 
static void getTheTableSeeds (G4long *seeds, G4int index)
 
static G4MTHepRandomgetTheGenerator ()
 
static void setTheEngine (CLHEP::HepRandomEngine *theNewEngine)
 
static CLHEP::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 G4int createInstance ()
 
static G4int createInstanceOnce ()
 

Public Attributes

G4double defaultMean
 
G4double defaultStdDev
 
CLHEP::HepRandomEngine * localEngine
 

Private Attributes

G4bool deleteEngine
 
G4bool set
 
G4double nextGauss
 

Static Private Attributes

static G4ThreadLocal G4bool set_st
 
static G4ThreadLocal G4double nextGauss_st
 

Detailed Description

Definition at line 40 of file G4MTRandGauss.hh.

Constructor & Destructor Documentation

G4MTRandGauss::G4MTRandGauss ( CLHEP::HepRandomEngine &  anEngine,
G4double  mean = 0.0,
G4double  stdDev = 1.0 
)
inline
G4MTRandGauss::G4MTRandGauss ( CLHEP::HepRandomEngine *  anEngine,
G4double  mean = 0.0,
G4double  stdDev = 1.0 
)
inline
virtual G4MTRandGauss::~G4MTRandGauss ( )
virtual

Member Function Documentation

G4double G4MTRandGauss::fire ( )
G4double G4MTRandGauss::fire ( G4double  mean,
G4double  stdDev 
)
inline
void G4MTRandGauss::fireArray ( const G4int  size,
G4double vect 
)
void G4MTRandGauss::fireArray ( const G4int  size,
G4double vect,
G4double  mean,
G4double  stdDev 
)
G4bool G4MTRandGauss::getF ( ) const
inline

Definition at line 102 of file G4MTRandGauss.hh.

References set.

static G4bool G4MTRandGauss::getFlag ( )
inlinestatic

Definition at line 98 of file G4MTRandGauss.hh.

References set_st.

static G4double G4MTRandGauss::getVal ( )
inlinestatic

Definition at line 111 of file G4MTRandGauss.hh.

References nextGauss_st.

G4double G4MTRandGauss::normal ( )
virtual G4double G4MTRandGauss::operator() ( )
virtual

Reimplemented from G4MTHepRandom.

Reimplemented in G4MTRandGaussQ.

virtual G4double G4MTRandGauss::operator() ( G4double  mean,
G4double  stdDev 
)
virtual

Reimplemented in G4MTRandGaussQ.

void G4MTRandGauss::setF ( G4bool  val)
inline

Definition at line 104 of file G4MTRandGauss.hh.

References set.

static void G4MTRandGauss::setFlag ( G4bool  val)
inlinestatic

Definition at line 100 of file G4MTRandGauss.hh.

References set_st.

static void G4MTRandGauss::setVal ( G4double  nextVal)
inlinestatic

Definition at line 113 of file G4MTRandGauss.hh.

References nextGauss_st.

static G4double G4MTRandGauss::shoot ( )
static
static G4double G4MTRandGauss::shoot ( G4double  mean,
G4double  stdDev 
)
inlinestatic
static G4double G4MTRandGauss::shoot ( CLHEP::HepRandomEngine *  anEngine)
static
static G4double G4MTRandGauss::shoot ( CLHEP::HepRandomEngine *  anEngine,
G4double  mean,
G4double  stdDev 
)
inlinestatic
static void G4MTRandGauss::shootArray ( const G4int  size,
G4double vect,
G4double  mean = 0.0,
G4double  stdDev = 1.0 
)
static
static void G4MTRandGauss::shootArray ( CLHEP::HepRandomEngine *  anEngine,
const G4int  size,
G4double vect,
G4double  mean = 0.0,
G4double  stdDev = 1.0 
)
static

Member Data Documentation

G4double G4MTRandGauss::defaultMean

Definition at line 117 of file G4MTRandGauss.hh.

G4double G4MTRandGauss::defaultStdDev

Definition at line 118 of file G4MTRandGauss.hh.

G4bool G4MTRandGauss::deleteEngine
private

Definition at line 124 of file G4MTRandGauss.hh.

CLHEP::HepRandomEngine* G4MTRandGauss::localEngine

Definition at line 120 of file G4MTRandGauss.hh.

G4double G4MTRandGauss::nextGauss
private

Definition at line 125 of file G4MTRandGauss.hh.

G4ThreadLocal G4double G4MTRandGauss::nextGauss_st
staticprivate

Definition at line 129 of file G4MTRandGauss.hh.

Referenced by getVal(), and setVal().

G4bool G4MTRandGauss::set
private

Definition at line 124 of file G4MTRandGauss.hh.

Referenced by getF(), and setF().

G4ThreadLocal G4bool G4MTRandGauss::set_st
staticprivate

Definition at line 128 of file G4MTRandGauss.hh.

Referenced by getFlag(), and setFlag().


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