31 #include <boost/python.hpp> 32 #include "G4VModularPhysicsList.hh" 42 G4VModularPhysicsList, wrapper<G4VModularPhysicsList> {
45 get_override(
"SetCuts")();
51 const G4VPhysicsConstructor*
53 = &G4VModularPhysicsList::GetPhysics;
54 const G4VPhysicsConstructor*
56 = &G4VModularPhysicsList::GetPhysics;
67 class_<CB_G4VModularPhysicsList, bases<G4VUserPhysicsList>,
69 (
"G4VModularPhysicsList",
"base class of modular physics list")
71 .def(
"SetCuts", pure_virtual(&G4VModularPhysicsList::SetCuts))
72 .def(
"ConstructParticle", &G4VModularPhysicsList::ConstructParticle)
73 .def(
"ConstructProcess", &G4VModularPhysicsList::ConstructProcess)
75 .def(
"RegisterPhysics", &G4VModularPhysicsList::RegisterPhysics)
77 return_value_policy<reference_existing_object>())
79 return_value_policy<reference_existing_object>())
void export_G4VModularPhysicsList()
const G4VPhysicsConstructor *(G4VModularPhysicsList::* f1_GetPhysics)(G4int) const
const G4VPhysicsConstructor *(G4VModularPhysicsList::* f2_GetPhysics)(const G4String &) const