HepRndmBaseEngine.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef HEPRNDM_HEPRNDMBASEENGINE_H
00016 #define HEPRNDM_HEPRNDMBASEENGINE_H 1
00017
00018
00019 #include "RndmEngine.h"
00020
00021
00022 namespace CLHEP {
00023 class HepRandomEngine;
00024 }
00025
00026 namespace HepRndm {
00027
00028 class BaseEngine : public RndmEngine {
00029 protected:
00030 CLHEP::HepRandomEngine* m_hepEngine;
00031 public:
00032 BaseEngine(const std::string& name, ISvcLocator* loc)
00033 : RndmEngine( name, loc ), m_hepEngine(0) {
00034 }
00035 virtual ~BaseEngine() {
00036 }
00037 CLHEP::HepRandomEngine* hepEngine() {
00038 return m_hepEngine;
00039 }
00040 };
00041 }
00042 #endif // HEPRNDM_HEPRNDMBASEENGINE_H