32 #include <boost/python.hpp> 43 class_<G4Step, G4Step*>(
"G4Step",
"step class")
45 .def(
"GetTrack", &G4Step::GetTrack,
46 return_value_policy<reference_existing_object>())
47 .def(
"GetPreStepPoint", &G4Step::GetPreStepPoint,
48 return_internal_reference<>())
49 .def(
"GetPostStepPoint", &G4Step::GetPostStepPoint,
50 return_internal_reference<>())
51 .def(
"GetTotalEnergyDeposit", &G4Step::GetTotalEnergyDeposit)
52 .def(
"GetStepLength", &G4Step::GetStepLength)
53 .def(
"GetDeltaPosition", &G4Step::GetDeltaPosition)
54 .def(
"GetDeltaTime", &G4Step::GetDeltaTime)
55 .def(
"GetDeltaMomentum", &G4Step::GetDeltaMomentum)
56 .def(
"GetDeltaEnergy", &G4Step::GetDeltaEnergy)