00001 //==================================================================== 00002 // CLHEP Basic Random Engine definition file 00003 //-------------------------------------------------------------------- 00004 // 00005 // Package : HepRndm ( The LHCb Offline System) 00006 // Author : M.Frank 00007 // History : 00008 // +---------+----------------------------------------------+--------- 00009 // | Date | Comment | Who 00010 // +---------+----------------------------------------------+--------- 00011 // | 29/10/99| Initial version | MF 00012 // +---------+----------------------------------------------+--------- 00013 // 00014 //==================================================================== 00015 #ifndef HEPRNDM_HEPRNDMBASEENGINE_H 00016 #define HEPRNDM_HEPRNDMBASEENGINE_H 1 00017 00018 // Framework include files 00019 #include "RndmEngine.h" 00020 00021 // Forward declarations 00022 class HepRandomEngine; 00023 00024 namespace HepRndm { 00025 00026 class BaseEngine : public RndmEngine { 00027 protected: 00028 HepRandomEngine* m_hepEngine; 00029 public: 00030 BaseEngine(const std::string& name, ISvcLocator* loc) 00031 : RndmEngine( name, loc ), m_hepEngine(0) { 00032 } 00033 virtual ~BaseEngine() { 00034 } 00035 HepRandomEngine* hepEngine() { 00036 return m_hepEngine; 00037 } 00038 }; 00039 }; 00040 #endif // HEPRNDM_HEPRNDMBASEENGINE_H
1.2.3 written by Dimitri van Heesch,
© 1997-2000