8 #ifndef GAUDI_RANDOMGENSVC_RNDMGENSVC_H 9 #define GAUDI_RANDOMGENSVC_RNDMGENSVC_H 1 22 class IRndmGenFactory;
61 using extends::extends;
78 double rndm()
const override;
92 #endif // GAUDI_RANDOMGENSVC_RNDMGENSVC_H
StreamBuffer & serialize(StreamBuffer &str) override
IRndmGenSvc interface implementation.
StatusCode initialize() override
Service override: initialization.
Implementation of property with value of concrete type.
StatusCode finalize() override
Service override: finalization.
StatusCode start() override
The stream buffer is a small object collecting object data.
Definition of a interface for a generic random number generators.
SmartIF< IRndmEngine > m_engine
Random number engine.
Gaudi::Property< std::string > m_engineName
Random Generator service definition.
This class is used for returning status codes from appropriate routines.
double rndm() const override
Single shot returning single random number.
StatusCode generator(const IRndmGen::Param &par, IRndmGen *&refpGen) override
Retrieve a valid generator from the service.
The IMessage is the interface implemented by the message service.
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
StatusCode setSeeds(const std::vector< long > &seeds) override
Allow to set new seeds.
StatusCode rndmArray(std::vector< double > &array, long howmany, long start=0) const override
Multiple shots returning vector with flat random numbers.
Base class used to extend a class implementing other interfaces.
StatusCode seeds(std::vector< long > &seeds) const override
Allow to get seeds.
Definition of a interface for a generic random number generator giving randomly distributed numbers i...
IRndmEngine * engine() override
Retrieve engine.
SmartIF< ISerialize > m_serialize
Serialization interface of random number engine.