Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4Step.cc File Reference
#include <boost/python.hpp>
#include "G4Step.hh"
Include dependency graph for pyG4Step.cc:

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.

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 }
G4double GetDeltaEnergy() const
Definition: G4Step.cc:176
G4double GetStepLength() const
G4StepPoint * GetPreStepPoint() const
G4ThreeVector GetDeltaMomentum() const
Definition: G4Step.cc:159
G4double GetDeltaTime() const
G4double GetTotalEnergyDeposit() const
G4StepPoint * GetPostStepPoint() const
G4Track * GetTrack() const
G4ThreeVector GetDeltaPosition() const

Here is the call graph for this function:

Here is the caller graph for this function: