CMS 3D CMS Logo

Public Member Functions | Private Attributes

myEvtRandomEngine Class Reference

#include <myEvtRandomEngine.h>

List of all members.

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.

{the_engine = xx;}
myEvtRandomEngine::~myEvtRandomEngine ( ) [virtual]

Definition at line 24 of file myEvtRandomEngine.cc.

{}

Member Function Documentation

double myEvtRandomEngine::random ( ) [virtual]

Definition at line 26 of file myEvtRandomEngine.cc.

References the_engine.

{
  return the_engine->flat();
}

Member Data Documentation

CLHEP::HepRandomEngine* myEvtRandomEngine::the_engine [private]

Definition at line 38 of file myEvtRandomEngine.h.

Referenced by myEvtRandomEngine(), and random().