33 #include <boost/python.hpp>
41 using namespace boost::python;
48 class_<QMaterials>(
"QMaterials",
"my material")
53 bases<G4VUserDetectorConstruction> >
54 (
"QDetectorConstruction",
"my detector")
58 bases<G4VUserPhysicsList> >
59 (
"QPhysicsList",
"my physics list")
63 bases<G4VUserPrimaryGeneratorAction> >
64 (
"QPrimaryGeneratorAction",
"my primary generator action")
66 return_internal_reference<>())
70 bases<G4UserEventAction> >
71 (
"QEventAction",
"my event action")
BOOST_PYTHON_MODULE(TestEm0)
G4ParticleGun * GetParticleGun() const