CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/GeneratorInterface/ExternalDecays/interface/myEvtRandomEngine.h

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