Go to the documentation of this file.
25 #ifndef HEPRNDM_HEPRNDMBASEENGINE_H
26 #define HEPRNDM_HEPRNDMBASEENGINE_H 1
30 #include <CLHEP/Random/Random.h>
34 class HepRandomEngine;
51 if (
m_hepEngine ) CLHEP::HepRandom::setTheEngine(
nullptr );
61 #endif // HEPRNDM_HEPRNDMBASEENGINE_H
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.