Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Static Public Attributes | List of all members
mctools::g4::g4_prng Class Reference

#include <bayeux/mctools/g4/g4_prng.h>

Inheritance diagram for mctools::g4::g4_prng:

Public Member Functions

 g4_prng ()
 Constructor. More...
 
 g4_prng (mygsl::rng &)
 Constructor. More...
 
virtual ~g4_prng ()
 Destructor. More...
 
void set_random (mygsl::rng &rng_)
 
virtual double flat ()
 
virtual void flatArray (const int size, double *vect)
 
virtual void setSeed (long seed, int dummy_=0)
 
virtual void setSeeds (const long *seeds, int index_=-1)
 
virtual void saveStatus (const char filename[]="G4PRNG.conf") const
 
virtual void restoreStatus (const char filename[]="G4PRNG.conf")
 
virtual void showStatus () const
 
virtual std::string name () const
 

Static Public Attributes

static const int SEED_INVALID = -1
 
static const int SEED_TIME = 0
 

Constructor & Destructor Documentation

◆ g4_prng() [1/2]

mctools::g4::g4_prng::g4_prng ( )

Constructor.

◆ g4_prng() [2/2]

mctools::g4::g4_prng::g4_prng ( mygsl::rng )

Constructor.

◆ ~g4_prng()

virtual mctools::g4::g4_prng::~g4_prng ( )
virtual

Destructor.

Member Function Documentation

◆ flat()

virtual double mctools::g4::g4_prng::flat ( )
virtual

◆ flatArray()

virtual void mctools::g4::g4_prng::flatArray ( const int  size,
double *  vect 
)
virtual

◆ name()

virtual std::string mctools::g4::g4_prng::name ( ) const
virtual

◆ restoreStatus()

virtual void mctools::g4::g4_prng::restoreStatus ( const char  filename[] = "G4PRNG.conf")
virtual

◆ saveStatus()

virtual void mctools::g4::g4_prng::saveStatus ( const char  filename[] = "G4PRNG.conf") const
virtual

◆ set_random()

void mctools::g4::g4_prng::set_random ( mygsl::rng rng_)

◆ setSeed()

virtual void mctools::g4::g4_prng::setSeed ( long  seed,
int  dummy_ = 0 
)
virtual

◆ setSeeds()

virtual void mctools::g4::g4_prng::setSeeds ( const long *  seeds,
int  index_ = -1 
)
virtual

◆ showStatus()

virtual void mctools::g4::g4_prng::showStatus ( ) const
virtual

Member Data Documentation

◆ SEED_INVALID

const int mctools::g4::g4_prng::SEED_INVALID = -1
static

◆ SEED_TIME

const int mctools::g4::g4_prng::SEED_TIME = 0
static

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