![]() |
The Gaudi Framework
v26r0
|
#include <src/RndmGenSvc/HepRndmGenerator.h>
Public Types | |
typedef TYPE | Parameters |
![]() | |
typedef implements1 | base_class |
Typedef to this class. More... | |
typedef extend_interfaces1 < IRndmGen > | extend_interfaces_base |
Typedef to the base of this class. More... | |
typedef extend_interfaces_base::ext_iids | interfaces |
MPL set of all the implemented interfaces. More... | |
![]() | |
typedef IRndmGen::iid::iids::type | ext_iids |
MPL set of interfaces extended by this one. More... | |
![]() | |
enum | Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR } |
Return status. More... | |
typedef Gaudi::InterfaceId < IInterface, 0, 0 > | iid |
Interface ID. More... | |
typedef mpl::set1< iid > | ext_iids |
Extra interfaces. More... | |
Public Member Functions | |
Generator (IInterface *engine) | |
virtual | ~Generator () |
virtual StatusCode | initialize (const IRndmGen::Param &par) |
Initialize the generator. More... | |
virtual double | shoot () const |
Single shot. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
template<> | |
double | shoot () const |
Single shot returning single random number according to specified distribution. More... | |
![]() | |
virtual StatusCode | finalize () |
Initialize the generator. More... | |
virtual const InterfaceID & | type () const |
Random number generator type. More... | |
virtual long | ID () const |
Random number generator ID. More... | |
virtual const IRndmGen::Param * | parameters () const |
Access to random number generator parameters. More... | |
virtual StatusCode | shootArray (std::vector< double > &array, long howmany, long start) const |
Multiple shots returning vector with random number according to specified distribution. More... | |
![]() | |
virtual | ~extend_interfaces1 () |
Virtual destructor. More... | |
![]() | |
DeclareInterfaceID (IRndmGen, 2, 0) | |
InterfaceID. More... | |
virtual | ~IRndmGen () |
Virtual destructor. More... | |
![]() | |
virtual void * | i_cast (const InterfaceID &) const =0 |
main cast function More... | |
virtual std::vector< std::string > | getInterfaceNames () const =0 |
Returns a vector of strings containing the names of all the implemented interfaces. More... | |
virtual unsigned long | addRef ()=0 |
Increment the reference count of Interface instance. More... | |
virtual unsigned long | release ()=0 |
Release Interface instance. More... | |
virtual unsigned long | refCount () const =0 |
Current reference count. More... | |
virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
Set the void** to the pointer to the requested interface of the instance. More... | |
virtual | ~IInterface () |
Virtual destructor. More... | |
Protected Attributes | |
CLHEP::HepRandomEngine * | m_hepEngine |
TYPE * | m_specs |
![]() | |
IRndmGen::Param * | m_params |
Generation parameters. More... | |
IRndmEngine * | m_engine |
Hosting service: Access must always be possible. More... | |
Additional Inherited Members | |
![]() | |
static const InterfaceID & | interfaceID () |
Return an instance of InterfaceID identifying the interface. More... | |
![]() | |
RndmGen (IInterface *engine) | |
Standard Constructor. More... | |
virtual | ~RndmGen () |
Standard Destructor. More... | |
Definition at line 27 of file HepRndmGenerator.h.
typedef TYPE HepRndm::Generator< TYPE >::Parameters |
Definition at line 29 of file HepRndmGenerator.h.
HepRndm::Generator< TYPE >::Generator | ( | IInterface * | engine | ) |
Definition at line 42 of file HepRndmGenerator.h.
|
virtual |
Definition at line 46 of file HepRndmGenerator.h.
|
virtual |
Initialize the generator.
Reimplemented from RndmGen.
Definition at line 50 of file HepRndmGenerator.h.
|
virtual |
Single shot.
Reimplemented from RndmGen.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 51 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 56 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 61 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 72 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 82 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 87 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 92 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 97 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 102 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 106 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 111 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 131 of file HepRndmGenerators.cpp.
|
virtual |
Single shot returning single random number according to specified distribution.
Reimplemented from RndmGen.
Definition at line 394 of file HepRndmGenerators.cpp.
|
protected |
Definition at line 31 of file HepRndmGenerator.h.
|
protected |
Definition at line 32 of file HepRndmGenerator.h.