31 #include <boost/python.hpp>
34 using namespace boost::python;
39 namespace pyG4PrimaryVertex {
45 using namespace pyG4PrimaryVertex;
52 class_<G4PrimaryVertex, G4PrimaryVertex*>
53 (
"G4PrimaryVertex",
"primary vertex")
55 .def(init<G4double, G4double, G4double, G4double>())
56 .def(init<G4ThreeVector, G4double>())
64 return_value_policy<return_by_value>())
71 return_internal_reference<>(), f_GetPrimary())