#include <boost/python.hpp>
#include "G4Step.hh"
Go to the source code of this file.
Definition at line 40 of file pyG4Step.cc.
Referenced by BOOST_PYTHON_MODULE().
42 class_<G4Step, G4Step*>(
"G4Step",
"step class")
44 .def(
"GetTrack", &G4Step::GetTrack,
45 return_value_policy<reference_existing_object>())
46 .def(
"GetPreStepPoint", &G4Step::GetPreStepPoint,
47 return_internal_reference<>())
48 .def(
"GetPostStepPoint", &G4Step::GetPostStepPoint,
49 return_internal_reference<>())
50 .def(
"GetTotalEnergyDeposit", &G4Step::GetTotalEnergyDeposit)
51 .def(
"GetStepLength", &G4Step::GetStepLength)
52 .def(
"GetDeltaPosition", &G4Step::GetDeltaPosition)
53 .def(
"GetDeltaTime", &G4Step::GetDeltaTime)
54 .def(
"GetDeltaMomentum", &G4Step::GetDeltaMomentum)
55 .def(
"GetDeltaEnergy", &G4Step::GetDeltaEnergy)