Garfield++ v2r0
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 () | |
~RandomEngineRoot () | |
double | Draw () |
Draw a random number. | |
void | Seed (unsigned int s) |
Initialise the random number generator. | |
Public Member Functions inherited from Garfield::RandomEngine | |
RandomEngine () | |
Constructor. | |
virtual | ~RandomEngine () |
Destructor. | |
virtual double | Draw ()=0 |
Draw a random number. | |
virtual void | Seed (unsigned int s)=0 |
Initialise the random number generator. | |
ROOT random number generator.
Definition at line 12 of file RandomEngineRoot.hh.
Garfield::RandomEngineRoot::RandomEngineRoot | ( | ) |
Definition at line 8 of file RandomEngineRoot.cc.
Garfield::RandomEngineRoot::~RandomEngineRoot | ( | ) |
Definition at line 15 of file RandomEngineRoot.cc.
|
inlinevirtual |
Draw a random number.
Implements Garfield::RandomEngine.
Definition at line 20 of file RandomEngineRoot.hh.
Referenced by Garfield::RndmUniform().
|
virtual |
Initialise the random number generator.
Implements Garfield::RandomEngine.
Definition at line 17 of file RandomEngineRoot.cc.
Referenced by main().