31 #include <boost/python.hpp> 32 #include "G4VPhysicsConstructor.hh" 42 public G4VPhysicsConstructor,
43 public wrapper<G4VPhysicsConstructor> {
48 : G4VPhysicsConstructor(name) { }
51 get_override(
"ConstructParticle")();
55 get_override(
"ConstructProcess")();
73 class_<CB_G4VPhysicsConstructor, boost::noncopyable>
74 (
"G4VPhysicsConstructor",
75 "base class of user physics constructor")
77 .def(init<const G4String&>())
79 .def(
"ConstructParticle",
80 pure_virtual(&G4VPhysicsConstructor::ConstructParticle))
81 .def(
"ConstructProcess",
82 pure_virtual(&G4VPhysicsConstructor::ConstructProcess))
84 .def(
"SetPhysicsName", &G4VPhysicsConstructor::SetPhysicsName,
86 .def(
"GetPhysicsName", &G4VPhysicsConstructor::GetPhysicsName,
87 return_value_policy<return_by_value>())
88 .def(
"SetVerboseLevel", &G4VPhysicsConstructor::SetVerboseLevel)
89 .def(
"GetVerboseLevel", &G4VPhysicsConstructor::GetVerboseLevel)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
CB_G4VPhysicsConstructor()
void export_G4VPhysicsConstructor()
CB_G4VPhysicsConstructor(const G4String &name)