Go to the documentation of this file.
29 #include <CLHEP/Random/Random.h>
33 class HepRandomEngine;
50 if (
m_hepEngine ) CLHEP::HepRandom::setTheEngine(
nullptr );
57 virtual std::unique_ptr<CLHEP::HepRandomEngine>
createEngine() = 0;
CLHEP::HepRandomEngine * hepEngine()
virtual std::unique_ptr< CLHEP::HepRandomEngine > createEngine()=0
StatusCode finalize() override
const CLHEP::HepRandomEngine * hepEngine() const
StatusCode finalize() override
std::unique_ptr< CLHEP::HepRandomEngine > m_hepEngine
const std::string & name() const override
Retrieve name of the service
double rndm() const override
BaseEngine(const std::string &name, ISvcLocator *loc)
Random Generator engine definition.