14 #define GAUDI_RANDOMGENSVC_RNDMGEN_CPP RndmGen(IInterface *engine)
Standard Constructor.
constexpr static const auto SUCCESS
SmartIF< IRndmEngine > m_engine
Hosting service: Access must always be possible.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
StatusCode initialize(const IRndmGen::Param &par) override
IRndmGen implementation.
StatusCode finalize() override
Finalize the generator.
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
StatusCode shootArray(std::vector< double > &array, long howmany, long start) const override
Multiple shots returning vector with random number according to specified distribution.
constexpr static const auto FAILURE
std::unique_ptr< IRndmGen::Param > m_params
Generation parameters.