1 #define GAUDI_RNDMGENSVC_RNDMGENGENERATORS_CPP 15 throw GaudiException(
"Initialization failed !",
"Rndm::Numbers", status );
39 #if !defined( GAUDI_V22_API ) || defined( G22_NEW_SVCLOCATOR ) 45 throw GaudiException(
"Initialization failed !",
"Rndm::Numbers", status );
constexpr static const auto FAILURE
Define general base for Gaudi exception.
virtual ~Numbers()
Standard destructor.
virtual StatusCode finalize()=0
Finalize the generator.
SmartIF< IRndmGen > m_generator
Pointer to random number generator.
virtual StatusCode generator(const IRndmGen::Param &par, IRndmGen *&refpGen)=0
Add a Generator factory.
virtual StatusCode finalize()
Finalization.
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.
constexpr static const auto SUCCESS
const StatusCode & ignore() const
Ignore/check StatusCode.
virtual StatusCode initialize(const SmartIF< IRndmGenSvc > &svc, const IRndmGen::Param &par)
Initialization.
void reset(TYPE *ptr=nullptr)
Set the internal pointer to the passed one disposing of the old one.
Numbers()=default
Standard constructor.