LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
pyG4Step.cc File Reference
#include <boost/python.hpp>
#include "G4Step.hh"

Go to the source code of this file.

Functions

void export_G4Step ()
 

Function Documentation

void export_G4Step ( )

Definition at line 41 of file pyG4Step.cc.

Referenced by BOOST_PYTHON_MODULE().

42 {
43  class_<G4Step, G4Step*>("G4Step", "step class")
44  // ---
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)
57  ;
58 }