Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

 pyExN01pl
 

Functions

ExN01PhysicsListpyExN01pl::Construct ()
 
 BOOST_PYTHON_MODULE (ExN01pl)
 

Function Documentation

BOOST_PYTHON_MODULE ( ExN01pl  )

Definition at line 66 of file pyExN01pl.cc.

References pyExN01pl::Construct().

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