Geant4-11
Functions
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

◆ export_G4Step()

void export_G4Step ( )

Definition at line 40 of file pyG4Step.cc.

41{
42 class_<G4Step, G4Step*>("G4Step", "step class")
43 // ---
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)
56 ;
57}
G4double GetDeltaTime() const
G4Track * GetTrack() const
G4double GetDeltaEnergy() const
Definition: G4Step.cc:192
G4ThreeVector GetDeltaMomentum() const
Definition: G4Step.cc:176
G4ThreeVector GetDeltaPosition() const
G4StepPoint * GetPreStepPoint() const
G4double GetStepLength() const
G4double GetTotalEnergyDeposit() const
G4StepPoint * GetPostStepPoint() const

References G4Step::GetDeltaEnergy(), G4Step::GetDeltaMomentum(), G4Step::GetDeltaPosition(), G4Step::GetDeltaTime(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4Step::GetStepLength(), G4Step::GetTotalEnergyDeposit(), and G4Step::GetTrack().

Referenced by BOOST_PYTHON_MODULE().