32 #include <boost/python.hpp>
36 using namespace boost::python;
41 namespace pyG4VUserPrimaryGeneratorAction {
47 get_override(
"GeneratePrimaries")(boost::ref(anEvent));
53 using namespace pyG4VUserPrimaryGeneratorAction;
62 (
"G4VUserPrimaryGeneratorAction",
63 "base class of user primary generator action")
65 .def(
"GeneratePrimaries",
void export_G4VUserPrimaryGeneratorAction()
virtual void GeneratePrimaries(G4Event *anEvent)=0
void GeneratePrimaries(G4Event *anEvent)