32 #include <boost/python.hpp> 33 #include "G4VProcess.hh" 34 #include "G4StepPoint.hh" 43 class_<G4StepPoint, G4StepPoint*>(
"G4StepPoint",
"step point class")
45 .def(
"GetPosition", &G4StepPoint::GetPosition,
46 return_value_policy<return_by_value>())
47 .def(
"GetLocalTime", &G4StepPoint::GetLocalTime)
48 .def(
"GetGlobalTime", &G4StepPoint::GetGlobalTime)
49 .def(
"GetProperTime", &G4StepPoint::GetProperTime)
50 .def(
"GetMomentumDirection", &G4StepPoint::GetMomentumDirection,
51 return_value_policy<return_by_value>())
52 .def(
"GetMomentum", &G4StepPoint::GetMomentum,
53 return_value_policy<return_by_value>())
54 .def(
"GetTotalEnergy", &G4StepPoint::GetTotalEnergy)
55 .def(
"GetKineticEnergy", &G4StepPoint::GetKineticEnergy)
56 .def(
"GetVelocity", &G4StepPoint::GetVelocity)
57 .def(
"GetBeta", &G4StepPoint::GetBeta)
58 .def(
"GetGamma", &G4StepPoint::GetGamma)
59 .def(
"GetTouchable", &G4StepPoint::GetTouchable,
60 return_value_policy<reference_existing_object>())
61 .def(
"GetMaterial", &G4StepPoint::GetMaterial,
62 return_value_policy<reference_existing_object>())
63 .def(
"GetPolarization", &G4StepPoint::GetPolarization,
64 return_value_policy<return_by_value>())
65 .def(
"GetStepStatus", &G4StepPoint::GetStepStatus)
66 .def(
"GetProcessDefinedStep", &G4StepPoint::GetProcessDefinedStep,
67 return_value_policy<reference_existing_object>())
68 .def(
"GetMass", &G4StepPoint::GetMass)
69 .def(
"GetCharge", &G4StepPoint::GetCharge)
70 .def(
"GetWeight", &G4StepPoint::GetWeight)
void export_G4StepPoint()