10 constexpr
double HIVENUMBERS_BUFFER_SIZE = 1000;
38 throw GaudiException(
"Initialization failed !",
"HiveRndm::HiveNumbers", status );
67 #if !defined( GAUDI_V22_API ) || defined( G22_NEW_SVCLOCATOR ) 74 throw GaudiException(
"Initialization failed !",
"HiveRndm::HiveNumbers", status );
const unsigned int m_buffer_size
constexpr static const auto FAILURE
virtual StatusCode finalize()
Finalization.
Define general base for Gaudi exception.
tbb::spin_rw_mutex_v3 HiveNumbersMutex
virtual StatusCode finalize()=0
Finalize the generator.
std::vector< double > m_buffer
TYPE * get() const
Get interface pointer.
IRndmGen * m_generator
Pointer to random number generator.
Random Generator service interface definition Definition of a interface for a service to access rando...
This class is used for returning status codes from appropriate routines.
virtual ~HiveNumbers()
Standard destructor.
constexpr static const auto SUCCESS
virtual unsigned long release()=0
Release Interface instance.
bool isValid() const
Allow for check if smart pointer is valid.
const StatusCode & ignore() const
Ignore/check StatusCode.
virtual StatusCode initialize(const SmartIF< IRndmGenSvc > &svc, const IRndmGen::Param &par)
Initialization.
virtual unsigned long addRef()=0
Increment the reference count of Interface instance.
unsigned int m_buffer_index
HiveNumbers()
Standard constructor.
static HiveNumbersMutex m_genMutex