LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 44 of file pyRandomEngines.cc.

Referenced by BOOST_PYTHON_MODULE().

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