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