32 #include <boost/python.hpp>
44 public wrapper<G4VPhysicsConstructor> {
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",
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
CB_G4VPhysicsConstructor(const G4String &name)
CB_G4VPhysicsConstructor()
virtual void ConstructParticle()=0
const G4String & GetPhysicsName() const
void SetVerboseLevel(G4int value)
void export_G4VPhysicsConstructor()
void SetPhysicsName(const G4String &="")
virtual void ConstructProcess()=0
G4int GetVerboseLevel() const