CMS 3D CMS Logo

myEvtRandomEngine.h

Go to the documentation of this file.
00001 //--------------------------------------------------------------------------
00002 //
00003 //
00004 //
00005 //
00006 // Module: myEvtRandomEngine.hh
00007 //
00008 // Description:
00009 // this is an EvtRandomEngine
00010 // It is used as an interface of the random number engine provided
00011 // by the random number generator service and EvtGen
00012 // Its "random()" method uses the "Flat()" method of the HepRandomEngine
00013 // provided by the Random Number Generator Service
00014 //
00015 // Modification history:
00016 //
00017 //   Nello Nappi     May 9, 2007         Module created
00018 //
00019 //------------------------------------------------------------------------
00020 
00021 #ifndef MYEVTRANDOMENGINE_HH
00022 #define MYEVTRANDOMENGINE_HH
00023 
00024 #include "CLHEP/config/CLHEP.h"
00025 #include "CLHEP/Random/RandomEngine.h"
00026 #include "EvtGenBase/EvtRandomEngine.hh"
00027 
00028 class myEvtRandomEngine : public EvtRandomEngine  
00029 {
00030 
00031 public:
00032   
00033   myEvtRandomEngine(CLHEP::HepRandomEngine* xx);
00034 
00035   virtual ~myEvtRandomEngine();
00036 
00037   virtual double random();
00038 
00039 private:
00040 
00041   CLHEP::HepRandomEngine* the_engine;
00042 
00043 };
00044 
00045 #endif
00046 

Generated on Tue Jun 9 17:36:53 2009 for CMSSW by  doxygen 1.5.4