Geant4  10.03
G4MTRandGamma Class Reference

#include <G4MTRandGamma.hh>

+ Inheritance diagram for G4MTRandGamma:
+ Collaboration diagram for G4MTRandGamma:

Public Member Functions

 G4MTRandGamma (CLHEP::HepRandomEngine &anEngine, G4double k=1.0, G4double lambda=1.0)
 
 G4MTRandGamma (CLHEP::HepRandomEngine *anEngine, G4double k=1.0, G4double lambda=1.0)
 
virtual ~G4MTRandGamma ()
 
G4double fire ()
 
G4double fire (G4double k, G4double lambda)
 
void fireArray (const G4int size, G4double *vect)
 
void fireArray (const G4int size, G4double *vect, G4double k, G4double lambda)
 
G4double operator() ()
 
G4double operator() (G4double k, G4double lambda)
 
- 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 k, G4double lambda)
 
static void shootArray (const G4int size, G4double *vect, G4double k=1.0, G4double lambda=1.0)
 
static G4double shoot (CLHEP::HepRandomEngine *anEngine)
 
static G4double shoot (CLHEP::HepRandomEngine *anEngine, G4double k, G4double lambda)
 
static void shootArray (CLHEP::HepRandomEngine *anEngine, const G4int size, G4double *vect, G4double k=1.0, G4double lambda=1.0)
 
- 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 ()
 

Static Private Member Functions

static G4double genGamma (CLHEP::HepRandomEngine *anEngine, G4double k, G4double lambda)
 

Private Attributes

CLHEP::HepRandomEngine * localEngine
 
G4bool deleteEngine
 
G4double defaultK
 
G4double defaultLambda
 

Detailed Description

Definition at line 40 of file G4MTRandGamma.hh.

Constructor & Destructor Documentation

G4MTRandGamma::G4MTRandGamma ( CLHEP::HepRandomEngine &  anEngine,
G4double  k = 1.0,
G4double  lambda = 1.0 
)
inline
G4MTRandGamma::G4MTRandGamma ( CLHEP::HepRandomEngine *  anEngine,
G4double  k = 1.0,
G4double  lambda = 1.0 
)
inline
virtual G4MTRandGamma::~G4MTRandGamma ( )
virtual

Member Function Documentation

G4double G4MTRandGamma::fire ( )
inline
G4double G4MTRandGamma::fire ( G4double  k,
G4double  lambda 
)
void G4MTRandGamma::fireArray ( const G4int  size,
G4double vect 
)
void G4MTRandGamma::fireArray ( const G4int  size,
G4double vect,
G4double  k,
G4double  lambda 
)
static G4double G4MTRandGamma::genGamma ( CLHEP::HepRandomEngine *  anEngine,
G4double  k,
G4double  lambda 
)
staticprivate
G4double G4MTRandGamma::operator() ( )
inlinevirtual

Reimplemented from G4MTHepRandom.

G4double G4MTRandGamma::operator() ( G4double  k,
G4double  lambda 
)
inline
static G4double G4MTRandGamma::shoot ( )
inlinestatic
static G4double G4MTRandGamma::shoot ( G4double  k,
G4double  lambda 
)
static
static G4double G4MTRandGamma::shoot ( CLHEP::HepRandomEngine *  anEngine)
inlinestatic
static G4double G4MTRandGamma::shoot ( CLHEP::HepRandomEngine *  anEngine,
G4double  k,
G4double  lambda 
)
static
static void G4MTRandGamma::shootArray ( const G4int  size,
G4double vect,
G4double  k = 1.0,
G4double  lambda = 1.0 
)
static
static void G4MTRandGamma::shootArray ( CLHEP::HepRandomEngine *  anEngine,
const G4int  size,
G4double vect,
G4double  k = 1.0,
G4double  lambda = 1.0 
)
static

Member Data Documentation

G4double G4MTRandGamma::defaultK
private

Definition at line 102 of file G4MTRandGamma.hh.

G4double G4MTRandGamma::defaultLambda
private

Definition at line 103 of file G4MTRandGamma.hh.

G4bool G4MTRandGamma::deleteEngine
private

Definition at line 101 of file G4MTRandGamma.hh.

CLHEP::HepRandomEngine* G4MTRandGamma::localEngine
private

Definition at line 100 of file G4MTRandGamma.hh.


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