LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 57 of file pyPhysicsLists.cc.

Referenced by export_PhysicsLists().

Function Documentation

void export_PhysicsLists ( )

Definition at line 89 of file pyPhysicsLists.cc.

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

Referenced by BOOST_PYTHON_MODULE().

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