CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
myEvtRandomEngine.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 //
3 // Module: myEvtRandomEngine.hh
4 //
5 // Description:
6 // this is an EvtRandomEngine
7 // It is used as an interface of the random number engine provided
8 // by the random number generator service and EvtGen
9 // Its "random()" method uses the "Flat()" method of the CLHEP::HepRandomEngine
10 // provided by the Random Number Generator Service
11 //
12 // Modification history:
13 //
14 // Nello Nappi May 9, 2007 Module created
15 //
16 //------------------------------------------------------------------------
17 
18 #ifndef MYEVTRANDOMENGINE_HH
19 #define MYEVTRANDOMENGINE_HH
20 
21 //#include "CLHEP/config/CLHEP.h"
22 #include "CLHEP/Random/RandomEngine.h"
23 #include "EvtGenBase/EvtRandomEngine.hh"
24 
25 class myEvtRandomEngine : public EvtRandomEngine
26 {
27 
28 public:
29 
30  myEvtRandomEngine(CLHEP::HepRandomEngine* xx);
31 
32  virtual ~myEvtRandomEngine();
33 
34  virtual double random();
35 
36 private:
37 
38  CLHEP::HepRandomEngine* the_engine;
39 
40 };
41 
42 #endif
43 
myEvtRandomEngine(CLHEP::HepRandomEngine *xx)
virtual ~myEvtRandomEngine()
CLHEP::HepRandomEngine * the_engine
virtual double random()