Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pymodG4physicslists.cc File Reference
#include <boost/python.hpp>

Go to the source code of this file.

Functions

void export_PhysicsLists ()
 
 BOOST_PYTHON_MODULE (G4physicslists)
 

Function Documentation

BOOST_PYTHON_MODULE ( G4physicslists  )

Definition at line 41 of file pymodG4physicslists.cc.

References export_PhysicsLists().

42 {
44 }
void export_PhysicsLists()
void export_PhysicsLists ( )

Definition at line 86 of file pyPhysicsLists.cc.

References ADD_PHYSICS_LIST, pyPhysicsLists::ListPhysicsList(), and sort().

Referenced by BOOST_PYTHON_MODULE().

87 {
88  def("ListPhysicsList", ListPhysicsList);
89 
107 
108  // sort PL vector
109  std::sort(plList.begin(), plList.end());
110 }
subroutine sort(A, N)
Definition: dpm25nuc7.f:4670
#define ADD_PHYSICS_LIST(plname)
void ListPhysicsList()
Definition: LBE.hh:61
Definition: QBBC.hh:44