Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pyRandomEngines.cc File Reference
#include <boost/python.hpp>
#include "CLHEP/Random/RandomEngine.h"
#include "CLHEP/Random/JamesRandom.h"
#include "CLHEP/Random/RanecuEngine.h"
#include "CLHEP/Random/Ranlux64Engine.h"
#include "CLHEP/Random/RanluxEngine.h"

Go to the source code of this file.

Functions

void export_RandomEngines ()
 

Function Documentation

void export_RandomEngines ( )

Definition at line 45 of file pyRandomEngines.cc.

Referenced by BOOST_PYTHON_MODULE().

46 {
47  class_<HepRandomEngine, boost::noncopyable>
48  ("HepRandomEngine", "base class of random engine", no_init)
49  ;
50 
51  class_<HepJamesRandom, bases<HepRandomEngine> >
52  ("HepJamesRandom", "HepJames random engine")
53  ;
54 
55  class_<RanecuEngine, bases<HepRandomEngine> >
56  ("RanecuEngine", "Ranecu random engine")
57  ;
58 
59  class_<RanluxEngine, bases<HepRandomEngine> >
60  ("RanluxEngine", "Ranlux random engine")
61  ;
62 
63  class_<Ranlux64Engine, bases<HepRandomEngine> >
64  ("Ranlux64Engine", "Ranlux64 random engine")
65  ;
66 
67 }