Garfield++ v2r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Garfield::RandomEngine Class Referenceabstract

Abstract base class for random number generators. More...

#include <RandomEngine.hh>

+ Inheritance diagram for Garfield::RandomEngine:

Public Member Functions

 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.
 

Detailed Description

Abstract base class for random number generators.

Definition at line 8 of file RandomEngine.hh.

Constructor & Destructor Documentation

◆ RandomEngine()

Garfield::RandomEngine::RandomEngine ( )
inline

Constructor.

Definition at line 12 of file RandomEngine.hh.

12{}

◆ ~RandomEngine()

virtual Garfield::RandomEngine::~RandomEngine ( )
inlinevirtual

Destructor.

Definition at line 14 of file RandomEngine.hh.

14{}

Member Function Documentation

◆ Draw()

virtual double Garfield::RandomEngine::Draw ( )
pure virtual

Draw a random number.

Implemented in Garfield::RandomEngineRoot.

◆ Seed()

virtual void Garfield::RandomEngine::Seed ( unsigned int  s)
pure virtual

Initialise the random number generator.

Implemented in Garfield::RandomEngineRoot.


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