Go to the documentation of this file.
18 #ifndef GAUDI_RANDOMGENSVC_RNDMGEN_H
19 #define GAUDI_RANDOMGENSVC_RNDMGEN_H 1
71 long ID()
const override {
return long(
this ); }
82 #endif // GAUDI_RANDOMGENSVC_RNDMGEN_H
StatusCode finalize() override
Finalize the generator.
const InterfaceID & type() const override
Random number generator type.
long ID() const override
Random number generator ID.
RndmGen(IInterface *engine)
Standard Constructor.
const IRndmGen::Param * parameters() const override
Access to random number generator parameters.
StatusCode initialize(const IRndmGen::Param &par) override
IRndmGen implementation
Random Generator definition.
SmartIF< IRndmEngine > m_engine
Hosting service: Access must always be possible.
Base class used to implement the interfaces.
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
std::unique_ptr< IRndmGen::Param > m_params
Generation parameters.
StatusCode shootArray(std::vector< double > &array, long howmany, long start) const override
Multiple shots returning vector with random number according to specified distribution.
virtual const InterfaceID & type() const
Parameter's type.