LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
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

 pyPhysicsLists
 

Macros

#define ADD_PHYSICS_LIST(plname)
 

Functions

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

Variables

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

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 58 of file pyPhysicsLists.cc.

Referenced by export_PhysicsLists().

Function Documentation

void export_PhysicsLists ( )

Definition at line 90 of file pyPhysicsLists.cc.

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

Referenced by BOOST_PYTHON_MODULE().

91 {
92  def("ListPhysicsList", ListPhysicsList);
93 
94  ADD_PHYSICS_LIST(FTFP_BERT);
95  ADD_PHYSICS_LIST(FTFP_BERT_ATL);
96  ADD_PHYSICS_LIST(FTFP_BERT_HP);
97  ADD_PHYSICS_LIST(FTFP_BERT_TRV);
98  ADD_PHYSICS_LIST(FTFP_INCLXX);
99  ADD_PHYSICS_LIST(FTFP_INCLXX_HP);
100  ADD_PHYSICS_LIST(FTF_BIC);
101  ADD_PHYSICS_LIST(LBE);
102  ADD_PHYSICS_LIST(NuBeam);
103  ADD_PHYSICS_LIST(QBBC);
104  ADD_PHYSICS_LIST(QGSP_BERT);
105  ADD_PHYSICS_LIST(QGSP_BERT_HP);
106  ADD_PHYSICS_LIST(QGSP_BIC);
107  ADD_PHYSICS_LIST(QGSP_BIC_AllHP);
108  ADD_PHYSICS_LIST(QGSP_BIC_HP);
109  ADD_PHYSICS_LIST(QGSP_FTFP_BERT);
110  ADD_PHYSICS_LIST(QGSP_INCLXX);
111  ADD_PHYSICS_LIST(QGSP_INCLXX_HP);
112  ADD_PHYSICS_LIST(QGS_BIC);
113  ADD_PHYSICS_LIST(Shielding);
114 
115  // sort PL vector
116  std::sort(plList.begin(), plList.end());
117 }
static std::vector< std::string > plList
#define ADD_PHYSICS_LIST(plname)
void ListPhysicsList()