15 #ifndef HEPRNDM_HEPRNDMGENERATOR_H 16 #define HEPRNDM_HEPRNDMGENERATOR_H 1 40 double shoot()
const override;
49 m_specs = dynamic_cast<TYPE*>( m_params.get() );
51 BaseEngine* engine = dynamic_cast<BaseEngine*>( m_engine.get() );
63 #endif // HEPRNDM_HEPRNDMGENERATOR_H
double shoot() const override
Single shot.
constexpr static const auto SUCCESS
Generator(IInterface *engine)
StatusCode initialize(const IRndmGen::Param &par) override
Initialize the generator.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
StatusCode initialize(const IRndmGen::Param &par) override
IRndmGen implementation.
Random Generator definition.
constexpr static const auto FAILURE
CLHEP::HepRandomEngine * m_hepEngine
CLHEP::HepRandomEngine * hepEngine()