Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Abstract base class for random number generators. More...
#include <RandomEngine.hh>
Public Member Functions | |
RandomEngine ()=default | |
Constructor. | |
virtual | ~RandomEngine () |
Destructor. | |
virtual double | Draw ()=0 |
Draw a random number. | |
virtual void | Seed (const unsigned int s)=0 |
Initialise the random number generator. | |
virtual void | Print ()=0 |
Print some information about the random number generator. | |
Abstract base class for random number generators.
Definition at line 8 of file RandomEngine.hh.
|
default |
Constructor.
|
inlinevirtual |
|
pure virtual |
Draw a random number.
Implemented in Garfield::RandomEngineRoot.
|
pure virtual |
Print some information about the random number generator.
Implemented in Garfield::RandomEngineRoot.
|
pure virtual |
Initialise the random number generator.
Implemented in Garfield::RandomEngineRoot.