|
Gaudi Framework, version v24r2 |
| Home | Generated: Wed Dec 4 2013 |
Random Generator definition. More...
#include <RndmGen.h>


Public Member Functions | |
| virtual StatusCode | initialize (const IRndmGen::Param &par) |
| IRndmGen implementation. | |
| virtual StatusCode | finalize () |
| Initialize the generator. | |
| virtual const InterfaceID & | type () const |
| Random number generator type. | |
| virtual long | ID () const |
| Random number generator ID. | |
| virtual const IRndmGen::Param * | parameters () const |
| Access to random number generator parameters. | |
| virtual double | shoot () const |
| Single shot returning single random number according to specified distribution. | |
| virtual StatusCode | shootArray (std::vector< double > &array, long howmany, long start) const |
| Multiple shots returning vector with random number according to specified distribution. | |
Protected Member Functions | |
| RndmGen (IInterface *engine) | |
| Standard Constructor. | |
| virtual | ~RndmGen () |
| Standard Destructor. | |
Protected Attributes | |
| IRndmGen::Param * | m_params |
| Generation parameters. | |
| IRndmEngine * | m_engine |
| Hosting service: Access must always be possible. | |
Additional Inherited Members | |
Public Types inherited from implements1< IRndmGen > | |
| typedef implements1 | base_class |
| Typedef to this class. | |
| typedef extend_interfaces1 < IRndmGen > | extend_interfaces_base |
| Typedef to the base of this class. | |
| typedef extend_interfaces_base::ext_iids | interfaces |
| MPL set of all the implemented interfaces. | |
Static Public Member Functions inherited from IInterface | |
| static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface. | |
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 |
|
protectedvirtual |
|
virtual |
Initialize the generator.
Initialize the RndmGen.
Implements IRndmGen.
Reimplemented in HepRndm::Generator< Rndm::DefinedPdf >.
Definition at line 43 of file RndmGen.cpp.
|
inlinevirtual |
|
virtual |
IRndmGen implementation.
Initialize the generator.
Initialize the generator
Implements IRndmGen.
Reimplemented in HepRndm::Generator< Rndm::DefinedPdf >, and HepRndm::Generator< TYPE >.
Definition at line 37 of file RndmGen.cpp.
|
inlinevirtual |
|
virtual |
Single shot returning single random number according to specified distribution.
Implements IRndmGen.
Reimplemented in HepRndm::Generator< Rndm::DefinedPdf >, and HepRndm::Generator< TYPE >.
Definition at line 48 of file RndmGen.cpp.
|
virtual |
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 |
Implements IRndmGen.
Definition at line 53 of file RndmGen.cpp.
|
inlinevirtual |
|
protected |
|
protected |