|
Gaudi Framework, version v23r0 |
| Home | Generated: Mon Jan 30 2012 |
Random Generator service interface definition Definition of a interface for a service to access random generators according to predefined distributions: More...
#include <GaudiKernel/IRndmGenSvc.h>


Public Member Functions | |
| DeclareInterfaceID (IRndmGenSvc, 2, 0) | |
| InterfaceID. | |
| virtual IRndmEngine * | engine ()=0 |
| Retrieve engine. | |
| virtual StatusCode | generator (const IRndmGen::Param &par, IRndmGen *&refpGen)=0 |
| Add a Generator factory. | |
Random Generator service interface definition Definition of a interface for a service to access random generators according to predefined distributions:
The Random Generator creates proper instances of requested random generators and delivers them to the user.
On request the service dumps the type and state of the random number engine to a StreamBuffer object allowing to save and to restore the exact state of the random number generator.
Definition at line 36 of file IRndmGenSvc.h.
| IRndmGenSvc::DeclareInterfaceID | ( | IRndmGenSvc | , |
| 2 | , | ||
| 0 | |||
| ) |
| virtual IRndmEngine* IRndmGenSvc::engine | ( | ) | [pure virtual] |
Retrieve engine.
| virtual StatusCode IRndmGenSvc::generator | ( | const IRndmGen::Param & | par, |
| IRndmGen *& | refpGen | ||
| ) | [pure virtual] |
Add a Generator factory.
| fac | Pointer to factory to be added |