CLHEP::HepRandomEngine * hepEngine()
StatusCode initialize(const IRndmGen::Param &par) override
Initialize the generator.
CLHEP::HepRandomEngine * m_hepEngine
Generator(IInterface *engine)
double shoot() const override
Single shot.
Definition of the basic interface.
SmartIF< IRndmEngine > m_engine
Hosting service: Access must always be possible.
RndmGen(IInterface *engine)
Standard Constructor.
std::unique_ptr< IRndmGen::Param > m_params
Generation parameters.
StatusCode initialize(const IRndmGen::Param &par) override
IRndmGen implementation.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
constexpr static const auto FAILURE