32 #include <boost/python.hpp>
35 using namespace boost::python;
40 namespace pyG4VPhysicsConstructor {
44 public wrapper<G4VPhysicsConstructor> {
52 get_override(
"ConstructParticle")();
56 get_override(
"ConstructProcess")();
67 using namespace pyG4VPhysicsConstructor;
74 class_<CB_G4VPhysicsConstructor, boost::noncopyable>
75 (
"G4VPhysicsConstructor",
76 "base class of user physics constructor")
78 .def(init<const G4String&>())
80 .def(
"ConstructParticle",
82 .def(
"ConstructProcess",
88 return_value_policy<return_by_value>())
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
void SetVerboseLevel(G4int value)
G4int GetVerboseLevel() const
void SetPhysicsName(const G4String &="")
virtual void ConstructParticle()=0
virtual void ConstructProcess()=0
CB_G4VPhysicsConstructor()
const G4String & GetPhysicsName() const
void export_G4VPhysicsConstructor()
CB_G4VPhysicsConstructor(const G4String &name)