Geant4-11
Namespaces | Functions
pyExN01pl.cc File Reference
#include <boost/python.hpp>
#include "G4RunManager.hh"
#include "ExN01PhysicsList.hh"

Go to the source code of this file.

Namespaces

namespace  pyExN01pl
 

Functions

 BOOST_PYTHON_MODULE (_ExN01pl)
 
ExN01PhysicsListpyExN01pl::Construct ()
 

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( _ExN01pl  )

Definition at line 65 of file pyExN01pl.cc.

65 {
66
67 class_<ExN01PhysicsList, ExN01PhysicsList*, bases<G4VUserPhysicsList> >
68 ("ExN01PhysicsList", "ExN01 physics list")
69 ;
70
71 // ---
72 def("Construct", Construct,
73 return_value_policy<reference_existing_object>());
74
75}
ExN01PhysicsList * Construct()
Definition: pyExN01pl.cc:47

References pyExN01pl::Construct().