CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
myEvtRandomEngine Class Reference

#include <myEvtRandomEngine.h>

Inheritance diagram for myEvtRandomEngine:

Public Member Functions

 myEvtRandomEngine (CLHEP::HepRandomEngine *xx)
 
virtual double random ()
 
virtual ~myEvtRandomEngine ()
 

Private Attributes

CLHEP::HepRandomEngine * the_engine
 

Detailed Description

Definition at line 25 of file myEvtRandomEngine.h.

Constructor & Destructor Documentation

myEvtRandomEngine::myEvtRandomEngine ( CLHEP::HepRandomEngine *  xx)

Definition at line 22 of file myEvtRandomEngine.cc.

References the_engine.

22 {the_engine = xx;}
CLHEP::HepRandomEngine * the_engine
myEvtRandomEngine::~myEvtRandomEngine ( )
virtual

Definition at line 24 of file myEvtRandomEngine.cc.

24 {}

Member Function Documentation

double myEvtRandomEngine::random ( )
virtual

Definition at line 26 of file myEvtRandomEngine.cc.

References the_engine.

27 {
28  return the_engine->flat();
29 }
CLHEP::HepRandomEngine * the_engine

Member Data Documentation

CLHEP::HepRandomEngine* myEvtRandomEngine::the_engine
private

Definition at line 38 of file myEvtRandomEngine.h.

Referenced by myEvtRandomEngine(), and random().