15 #ifndef HEPRNDM_HEPRNDMGENERATOR_H
16 #define HEPRNDM_HEPRNDMGENERATOR_H 1
39 virtual double shoot()
const;
43 :
RndmGen (engine), m_hepEngine(0), m_specs(0) {
54 m_specs =
dynamic_cast<TYPE*
>(m_params);
59 if ( 0 != m_hepEngine ) {
72 #endif // HEPRNDM_HEPRNDMGENERATOR_H
virtual StatusCode initialize(const IRndmGen::Param &par)
Initialize the generator.
virtual StatusCode initialize(const IRndmGen::Param &par)
IRndmGen implementation.
bool isSuccess() const
Test for a status code of SUCCESS.
Generator(IInterface *engine)
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
Random Generator definition.
virtual double shoot() const
Single shot.
CLHEP::HepRandomEngine * m_hepEngine
CLHEP::HepRandomEngine * hepEngine()