The Gaudi Framework
master (594c33fa)
|
Public Member Functions | |
Generator (IInterface *engine) | |
Standard Constructor. More... | |
StatusCode | initialize (const IRndmGen::Param &par) override |
Initialize the generator. More... | |
StatusCode | finalize () override |
Finalize the generator. More... | |
double | shoot () const override |
Single shot. More... | |
Public Member Functions inherited from RndmGen | |
StatusCode | initialize (const IRndmGen::Param &par) override |
IRndmGen implementation More... | |
StatusCode | finalize () override |
Finalize the generator. More... | |
const InterfaceID & | type () const override |
Random number generator type. More... | |
long | ID () const override |
Random number generator ID. More... | |
const IRndmGen::Param * | parameters () const override |
Access to random number generator parameters. More... | |
StatusCode | shootArray (std::vector< double > &array, long howmany, long start) const override |
Multiple shots returning vector with random number according to specified distribution. More... | |
Public Member Functions inherited from implements< IRndmGen > | |
void * | i_cast (const InterfaceID &tid) const override |
Implementation of IInterface::i_cast. More... | |
StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
Implementation of IInterface::queryInterface. More... | |
std::vector< std::string > | getInterfaceNames () const override |
Implementation of IInterface::getInterfaceNames. More... | |
implements ()=default | |
Default constructor. More... | |
implements (const implements &) | |
Copy constructor (zero the reference count) More... | |
implements & | operator= (const implements &) |
Assignment operator (do not touch the reference count). More... | |
unsigned long | addRef () override |
Reference Interface instance More... | |
unsigned long | release () override |
Release Interface instance More... | |
unsigned long | refCount () const override |
Current reference count More... | |
Protected Attributes | |
std::unique_ptr< RandGeneral > | m_generator |
HepRandomEngine * | m_hepEngine = nullptr |
Protected Attributes inherited from RndmGen | |
std::unique_ptr< IRndmGen::Param > | m_params |
Generation parameters. More... | |
SmartIF< IRndmEngine > | m_engine |
Hosting service: Access must always be possible. More... | |
Protected Attributes inherited from implements< IRndmGen > | |
std::atomic_ulong | m_refCount |
Reference counter More... | |
Additional Inherited Members | |
Public Types inherited from implements< IRndmGen > | |
using | base_class = implements< Interfaces... > |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces... > |
Typedef to the base of this class. More... | |
using | iids = typename extend_interfaces_base::ext_iids |
Public Types inherited from extend_interfaces< Interfaces... > | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type |
take union of the ext_iids of all Interfaces... More... | |
Protected Member Functions inherited from RndmGen | |
RndmGen (IInterface *engine) | |
Standard Constructor. More... | |
Definition at line 294 of file HepRndmGenerators.cpp.
|
inline |
|
inlineoverride |
Finalize the generator.
Definition at line 321 of file HepRndmGenerators.cpp.
|
inlineoverride |
Initialize the generator.
Definition at line 303 of file HepRndmGenerators.cpp.
|
inlineoverride |
|
protected |
Definition at line 296 of file HepRndmGenerators.cpp.
|
protected |
Definition at line 297 of file HepRndmGenerators.cpp.