Gaudi Framework, version v23r2

Home   Generated: Thu Jun 28 2012

HepRndmBaseEngine.h

Go to the documentation of this file.
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 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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Thu Jun 28 2012 23:27:28 for Gaudi Framework, version v23r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004