![]() |
The Gaudi Framework
v27r0
|
#include <src/RndmGenSvc/HepRndmEngine.h>
Public Member Functions | |
Engine (const std::string &name, ISvcLocator *loc) | |
Standard Constructor. More... | |
~Engine () override=default | |
Standard Destructor. More... | |
StatusCode | initialize () override |
Initialize the Engine. More... | |
StatusCode | finalize () override |
Finalize the Engine. More... | |
StatusCode | setSeeds (const std::vector< long > &seed) override |
Set seeds. More... | |
StatusCode | seeds (std::vector< long > &seed) const override |
Retrieve seeds. More... | |
![]() | |
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... | |
![]() | |
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 Attributes | |
std::vector< long > | m_seeds |
int | m_row |
int | m_col |
int | m_lux |
bool | m_useTable |
bool | m_setSingleton |
![]() | |
std::unique_ptr< CLHEP::HepRandomEngine > | m_hepEngine |
![]() | |
SmartIF< IIncidentSvc > | m_pIncidentSvc |
Reference to the incident service. More... | |
Private Member Functions | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () override |
Create new HepEngine.... More... | |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
template<> | |
std::unique_ptr< CLHEP::HepRandomEngine > | createEngine () |
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... | |
![]() | |
void | initEngine () |
![]() | |
RndmEngine (const std::string &name, ISvcLocator *loc) | |
Standard Constructor. More... | |
virtual | ~RndmEngine () |
Standard Destructor. More... | |
Definition at line 25 of file HepRndmEngine.h.
HepRndm::Engine< TYPE >::Engine | ( | const std::string & | name, |
ISvcLocator * | loc | ||
) |
Standard Constructor.
Definition at line 56 of file HepRndmEngines.cpp.
|
overridedefault |
Standard Destructor.
|
overrideprivatevirtual |
Create new HepEngine....
Implements HepRndm::BaseEngine.
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
Implements HepRndm::BaseEngine.
Definition at line 181 of file HepRndmEngines.cpp.
|
privatevirtual |
Implements HepRndm::BaseEngine.
Definition at line 186 of file HepRndmEngines.cpp.
|
privatevirtual |
|
privatevirtual |
|
overridevirtual |
Finalize the Engine.
Reimplemented from HepRndm::BaseEngine.
Definition at line 110 of file HepRndmEngines.cpp.
|
overridevirtual |
Initialize the Engine.
Reimplemented from RndmEngine.
Definition at line 67 of file HepRndmEngines.cpp.
|
override |
Retrieve seeds.
Definition at line 130 of file HepRndmEngines.cpp.
|
override |
Set seeds.
Definition at line 116 of file HepRndmEngines.cpp.
|
protected |
Definition at line 30 of file HepRndmEngine.h.
|
protected |
Definition at line 30 of file HepRndmEngine.h.
|
protected |
Definition at line 30 of file HepRndmEngine.h.
|
mutableprotected |
Definition at line 28 of file HepRndmEngine.h.
|
protected |
Definition at line 31 of file HepRndmEngine.h.
|
protected |
Definition at line 31 of file HepRndmEngine.h.