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