15 #ifndef HEPRNDM_HEPRNDMBASEENGINE_H 16 #define HEPRNDM_HEPRNDMBASEENGINE_H 1 19 #include "CLHEP/Random/Random.h" 24 class HepRandomEngine;
41 if (
m_hepEngine ) CLHEP::HepRandom::setTheEngine(
nullptr );
51 #endif // HEPRNDM_HEPRNDMBASEENGINE_H The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
StatusCode finalize() override
StatusCode finalize() override
std::unique_ptr< CLHEP::HepRandomEngine > m_hepEngine
virtual std::unique_ptr< CLHEP::HepRandomEngine > createEngine()=0
double rndm() const override
const std::string & name() const override
Retrieve name of the service.
This class is used for returning status codes from appropriate routines.
const CLHEP::HepRandomEngine * hepEngine() const
BaseEngine(const std::string &name, ISvcLocator *loc)
Random Generator engine definition.
CLHEP::HepRandomEngine * hepEngine()