Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
ROOT random number generator. More...
#include <RandomEngineRoot.hh>
Public Member Functions | |
RandomEngineRoot () | |
Constructor. | |
~RandomEngineRoot () | |
Destructor. | |
double | Draw () override |
Call the random number generator. | |
void | Seed (const unsigned int s) override |
Initialise the random number generator. | |
void | Print () override |
Print information about the generator used and the seed. | |
Public Member Functions inherited from Garfield::RandomEngine | |
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. | |
ROOT random number generator.
Definition at line 12 of file RandomEngineRoot.hh.
Garfield::RandomEngineRoot::RandomEngineRoot | ( | ) |
Garfield::RandomEngineRoot::~RandomEngineRoot | ( | ) |
|
inlineoverridevirtual |
Call the random number generator.
Implements Garfield::RandomEngine.
Definition at line 19 of file RandomEngineRoot.hh.
Referenced by Garfield::RndmUniform().
|
overridevirtual |
Print information about the generator used and the seed.
Implements Garfield::RandomEngine.
Definition at line 18 of file RandomEngineRoot.cc.
|
overridevirtual |
Initialise the random number generator.
Implements Garfield::RandomEngine.
Definition at line 12 of file RandomEngineRoot.cc.
Referenced by main().