![]() |
The Gaudi Framework
v27r0
|
#include <src/RndmGenSvc/HepRndmBaseEngine.h>
Public Member Functions | |
BaseEngine (const std::string &name, ISvcLocator *loc) | |
~BaseEngine () override=default | |
CLHEP::HepRandomEngine * | hepEngine () |
const CLHEP::HepRandomEngine * | hepEngine () const |
double | rndm () const override |
Single shot returning single random number. More... | |
StatusCode | finalize () override |
Service override: finalization. More... | |
![]() | |
virtual StatusCode | initialize () |
Service override: initialization. More... | |
virtual StatusCode | rndmArray (std::vector< double > &array, long howmany, long start=0) const |
Multiple shots returning vector with flat random numbers. More... | |
virtual StreamBuffer & | serialize (StreamBuffer &str) |
Input serialization from stream buffer. More... | |
virtual StreamBuffer & | serialize (StreamBuffer &str) const |
Output serialization to stream buffer. More... | |
virtual void | handle (const Incident &inc) |
Inform that a new incident has occurred. More... | |
![]() | |
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... | |
~extends () override=default | |
Virtual destructor. More... | |
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... | |
~extends () override=default | |
Virtual destructor. More... | |
![]() | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
Protected Member Functions | |
void | initEngine () |
virtual std::unique_ptr< CLHEP::HepRandomEngine > | createEngine ()=0 |
![]() | |
RndmEngine (const std::string &name, ISvcLocator *loc) | |
Standard Constructor. More... | |
virtual | ~RndmEngine () |
Standard Destructor. More... | |
Protected Attributes | |
std::unique_ptr< CLHEP::HepRandomEngine > | m_hepEngine |
![]() | |
SmartIF< IIncidentSvc > | m_pIncidentSvc |
Reference to the incident service. More... | |
Additional Inherited Members | |
![]() | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
using | base_class = extends |
Typedef to this class. More... | |
using | extend_interfaces_base = extend_interfaces< Interfaces...> |
Typedef to the base of this class. More... | |
![]() | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
take union of the ext_iids of all Interfaces... More... | |
Definition at line 29 of file HepRndmBaseEngine.h.
|
inline |
Definition at line 33 of file HepRndmBaseEngine.h.
|
overridedefault |
|
protectedpure virtual |
Implemented in HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, HepRndm::Engine< TYPE >, and HepRndm::Engine< TYPE >.
|
inlineoverridevirtual |
Service override: finalization.
Reimplemented from RndmEngine.
Reimplemented in HepRndm::Engine< TYPE >.
Definition at line 41 of file HepRndmBaseEngine.h.
|
inline |
Definition at line 36 of file HepRndmBaseEngine.h.
|
inline |
Definition at line 37 of file HepRndmBaseEngine.h.
|
inlineprotected |
Definition at line 48 of file HepRndmBaseEngine.h.
|
inlineoverridevirtual |
Single shot returning single random number.
Reimplemented from RndmEngine.
Definition at line 39 of file HepRndmBaseEngine.h.
|
protected |
Definition at line 31 of file HepRndmBaseEngine.h.