32 #include <boost/python.hpp> 43 GetPrimaryVertex, 0, 1)
53 class_<G4Event, G4Event*, boost::noncopyable>(
"G4Event",
"event class")
58 .def(
"SetEventID", &G4Event::SetEventID)
59 .def(
"GetEventID", &G4Event::GetEventID)
60 .def(
"SetEventAborted", &G4Event::SetEventAborted)
61 .def(
"IsAborted", &G4Event::IsAborted)
63 .def(
"AddPrimaryVertex", &G4Event::AddPrimaryVertex)
64 .def(
"GetNumberOfPrimaryVertex", &G4Event::GetNumberOfPrimaryVertex)
65 .def(
"GetPrimaryVertex", &G4Event::GetPrimaryVertex,
66 f_GetPrimaryVertex()[return_internal_reference<>()])
68 .def(
"GetTrajectoryContainer", &G4Event::GetTrajectoryContainer,
69 return_internal_reference<>())
70 .def(
"SetUserInformation", &G4Event::SetUserInformation)
71 .def(
"GetUserInformation", &G4Event::GetUserInformation,
72 return_internal_reference<>())
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
void Print(G4Element &ele)