Geant4-11
Namespaces | Macros | Functions | Variables
pyPhysicsLists.cc File Reference
#include <boost/python.hpp>
#include <vector>
#include <algorithm>
#include "FTFP_BERT.hh"
#include "FTFP_BERT_ATL.hh"
#include "FTFP_BERT_HP.hh"
#include "FTFP_BERT_TRV.hh"
#include "FTFP_INCLXX.hh"
#include "FTFP_INCLXX_HP.hh"
#include "FTF_BIC.hh"
#include "LBE.hh"
#include "NuBeam.hh"
#include "QBBC.hh"
#include "QGSP_BERT.hh"
#include "QGSP_BERT_HP.hh"
#include "QGSP_BIC.hh"
#include "QGSP_BIC_AllHP.hh"
#include "QGSP_BIC_HP.hh"
#include "QGSP_FTFP_BERT.hh"
#include "QGSP_INCLXX.hh"
#include "QGSP_INCLXX_HP.hh"
#include "QGS_BIC.hh"
#include "Shielding.hh"

Go to the source code of this file.

Namespaces

namespace  pyPhysicsLists
 

Macros

#define ADD_PHYSICS_LIST(plname)
 

Functions

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

Variables

static std::vector< std::string > pyPhysicsLists::plList
 

Macro Definition Documentation

◆ ADD_PHYSICS_LIST

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

Definition at line 57 of file pyPhysicsLists.cc.

Function Documentation

◆ export_PhysicsLists()

void export_PhysicsLists ( )

Definition at line 89 of file pyPhysicsLists.cc.

90{
91 def("ListPhysicsList", ListPhysicsList);
92
113
114 // sort PL vector
115 std::sort(plList.begin(), plList.end());
116}
Definition: LBE.hh:59
Definition: NuBeam.hh:42
Definition: QBBC.hh:44
void ListPhysicsList()
static std::vector< std::string > plList
#define ADD_PHYSICS_LIST(plname)

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

Referenced by BOOST_PYTHON_MODULE().