31 #ifndef MCTOOLS_G4_G4_PRNG_H 32 #define MCTOOLS_G4_G4_PRNG_H 1 40 #include <CLHEP/Random/RandomEngine.h> 49 class g4_prng :
public CLHEP::HepRandomEngine
67 virtual double flat ();
69 virtual void flatArray (
const int size,
double* vect);
71 virtual void setSeed (
long seed,
int dummy_ = 0);
73 virtual void setSeeds (
const long * seeds,
int index_ = -1);
75 virtual void saveStatus (
const char filename[] =
"G4PRNG.conf")
const;
77 virtual void restoreStatus (
const char filename[] =
"G4PRNG.conf" );
81 virtual std::string
name ()
const;
94 #endif // MCTOOLS_G4_G4_PRNG_H
Top-level namespace of the Bayeux/mygsl module library.
Definition: base_decay_driver.h:47
Pseudo random number generator.
Definition: rng.h:53