32 #include <boost/python.hpp> 33 #include "G4VModularPhysicsList.hh" 43 G4VModularPhysicsList, wrapper<G4VModularPhysicsList> {
46 get_override(
"SetCuts")();
52 const G4VPhysicsConstructor*
54 = &G4VModularPhysicsList::GetPhysics;
55 const G4VPhysicsConstructor*
57 = &G4VModularPhysicsList::GetPhysics;
68 class_<CB_G4VModularPhysicsList, bases<G4VUserPhysicsList>,
70 (
"G4VModularPhysicsList",
"base class of modular physics list")
72 .def(
"SetCuts", pure_virtual(&G4VModularPhysicsList::SetCuts))
73 .def(
"ConstructParticle", &G4VModularPhysicsList::ConstructParticle)
74 .def(
"ConstructProcess", &G4VModularPhysicsList::ConstructProcess)
76 .def(
"RegisterPhysics", &G4VModularPhysicsList::RegisterPhysics)
78 return_value_policy<reference_existing_object>())
80 return_value_policy<reference_existing_object>())
void export_G4VModularPhysicsList()
const G4VPhysicsConstructor *(G4VModularPhysicsList::* f1_GetPhysics)(G4int) const
const G4VPhysicsConstructor *(G4VModularPhysicsList::* f2_GetPhysics)(const G4String &) const