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

Go to the source code of this file.

Namespaces

namespace  pyEMSTDpl
 

Functions

 BOOST_PYTHON_MODULE (_EMSTDpl)
 
PhysicsListEMstdpyEMSTDpl::Construct ()
 

Function Documentation

◆ BOOST_PYTHON_MODULE()

BOOST_PYTHON_MODULE ( _EMSTDpl  )

Definition at line 65 of file pyEMSTDpl.cc.

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

References pyEMSTDpl::Construct().