Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
pyPhysicsLists.cc File Reference
#include <boost/python.hpp>
#include <vector>
#include <algorithm>
#include "FTF_BIC.hh"
#include "FTFP_BERT.hh"
#include "FTFP_BERT_HP.hh"
#include "FTFP_BERT_TRV.hh"
#include "FTFP_INCLXX.hh"
#include "FTFP_INCLXX_HP.hh"
#include "LBE.hh"
#include "QBBC.hh"
#include "QGS_BIC.hh"
#include "QGSP_BERT.hh"
#include "QGSP_BERT_HP.hh"
#include "QGSP_BIC.hh"
#include "QGSP_BIC_HP.hh"
#include "QGSP_FTFP_BERT.hh"
#include "QGSP_INCLXX.hh"
#include "QGSP_INCLXX_HP.hh"
#include "Shielding.hh"

Go to the source code of this file.

Namespaces

 pyPhysicsLists
 

Macros

#define ADD_PHYSICS_LIST(plname)
 

Functions

void pyPhysicsLists::AddPhysicsList (const G4String &plname)
 
void pyPhysicsLists::ListPhysicsList ()
 
void export_PhysicsLists ()
 

Macro Definition Documentation

#define ADD_PHYSICS_LIST (   plname)
Value:
class_<plname, plname*, bases<G4VUserPhysicsList>, boost::noncopyable> \
(#plname, #plname " physics list") \
; \
AddPhysicsList(#plname);
void AddPhysicsList(const G4String &plname)

Definition at line 54 of file pyPhysicsLists.cc.

Referenced by export_PhysicsLists().

Function Documentation

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