Go to the documentation of this file.
18 #ifndef GAUDI_RANDOMGENSVC_RNDMGENSVC_H
19 #define GAUDI_RANDOMGENSVC_RNDMGENSVC_H 1
32 class IRndmGenFactory;
70 using extends::extends;
87 double rndm()
const override;
101 #endif // GAUDI_RANDOMGENSVC_RNDMGENSVC_H
StatusCode start() override
SmartIF< IRndmEngine > m_engine
Random number engine.
StatusCode initialize() override
Service override: initialization.
SmartIF< ISerialize > m_serialize
Serialization interface of random number engine.
StatusCode finalize() override
Service override: finalization.
StatusCode generator(const IRndmGen::Param &par, IRndmGen *&refpGen) override
Retrieve a valid generator from the service.
Gaudi::Property< std::string > m_engineName
Base class used to extend a class implementing other interfaces.
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.
struct GAUDI_API array
Parametrisation class for redirection array - like implementation.
double rndm() const override
Single shot returning single random number.
StreamBuffer & serialize(StreamBuffer &str) override
IRndmGenSvc interface implementation
StatusCode seeds(std::vector< long > &seeds) const override
Allow to get seeds.
Random Generator service definition.
IRndmEngine * engine() override
Retrieve engine.