32 #include <boost/python.hpp> 33 #include "G4VPhysicsConstructor.hh" 43 public G4VPhysicsConstructor,
44 public wrapper<G4VPhysicsConstructor> {
49 : G4VPhysicsConstructor(name) { }
52 get_override(
"ConstructParticle")();
56 get_override(
"ConstructProcess")();
74 class_<CB_G4VPhysicsConstructor, boost::noncopyable>
75 (
"G4VPhysicsConstructor",
76 "base class of user physics constructor")
78 .def(init<const G4String&>())
80 .def(
"ConstructParticle",
81 pure_virtual(&G4VPhysicsConstructor::ConstructParticle))
82 .def(
"ConstructProcess",
83 pure_virtual(&G4VPhysicsConstructor::ConstructProcess))
85 .def(
"SetPhysicsName", &G4VPhysicsConstructor::SetPhysicsName,
87 .def(
"GetPhysicsName", &G4VPhysicsConstructor::GetPhysicsName,
88 return_value_policy<return_by_value>())
89 .def(
"SetVerboseLevel", &G4VPhysicsConstructor::SetVerboseLevel)
90 .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)