LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pyG4StepPoint.cc File Reference
#include <boost/python.hpp>
#include "G4VProcess.hh"
#include "G4StepPoint.hh"

Go to the source code of this file.

Functions

void export_G4StepPoint ()
 

Function Documentation

void export_G4StepPoint ( )

Definition at line 41 of file pyG4StepPoint.cc.

Referenced by BOOST_PYTHON_MODULE().

42 {
43  class_<G4StepPoint, G4StepPoint*>("G4StepPoint", "step point class")
44  // ---
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)
71  ;
72 }