![]() |
The Gaudi Framework
master (7cfdc4e8)
|
Random Generator definition. More...
#include </builds/gaudi/Gaudi/GaudiSvc/src/RndmGenSvc/RndmGen.h>


Public Member Functions | |
| StatusCode | initialize (const IRndmGen::Param &par) override |
| IRndmGen implementation. | |
| StatusCode | finalize () override |
| Finalize the generator. | |
| const InterfaceID & | type () const override |
| Random number generator type. | |
| long | ID () const override |
| Random number generator ID. | |
| const IRndmGen::Param * | parameters () const override |
| Access to random number generator parameters. | |
| StatusCode | shootArray (std::vector< double > &array, long howmany, long start) const override |
| Multiple shots returning vector with random number according to specified distribution. | |
Public Member Functions inherited from implements< IRndmGen > | |
| void const * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. | |
| implements ()=default | |
| Default constructor. | |
| implements (const implements &) | |
| Copy constructor (zero the reference count) | |
| implements & | operator= (const implements &) |
| Assignment operator (do not touch the reference count). | |
| unsigned long | addRef () const override |
| Reference Interface instance. | |
| unsigned long | release () const override |
| Release Interface instance. | |
| unsigned long | refCount () const override |
| Current reference count. | |
Protected Member Functions | |
| RndmGen (IInterface *engine) | |
| Standard Constructor. | |
Protected Member Functions inherited from implements< IRndmGen > | |
| unsigned long | decRef () const override |
Protected Attributes | |
| std::unique_ptr< IRndmGen::Param > | m_params |
| Generation parameters. | |
| SmartIF< IRndmEngine > | m_engine |
| Hosting service: Access must always be possible. | |
Protected Attributes inherited from implements< IRndmGen > | |
| std::atomic_ulong | m_refCount |
| Reference counter. | |
Additional Inherited Members | |
Public Types inherited from implements< IRndmGen > | |
| using | base_class |
| Typedef to this class. | |
| using | extend_interfaces_base |
| Typedef to the base of this class. | |
| using | iids |
Public Types inherited from extend_interfaces< Interfaces... > | |
| using | ext_iids |
| take union of the ext_iids of all Interfaces... | |
Random Generator definition.
Description: Definition of a interface for a generic random number generators.
Dependencies:
History :
+---------+----------------------------------------------+--------+ | Date | Comment | Who | +---------+----------------------------------------------+--------+ | 21/11/99| Initial version. | MF | +---------+----------------------------------------------+--------+
Author: M.Frank Version: 1.0
|
protected |
Standard Constructor.
Definition at line 33 of file RndmGen.cpp.
|
override |
|
inlineoverride |
|
override |
IRndmGen implementation.
Initialize the generator.
Initialize the generator
Definition at line 36 of file RndmGen.cpp.
|
inlineoverride |
|
override |
Multiple shots returning vector with random number according to specified distribution.
| array | Array containing random numbers |
| howmany | fill 'howmany' random numbers into array |
| start | ... starting at position start |
Definition at line 44 of file RndmGen.cpp.
|
inlineoverride |
|
protected |
|
protected |