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

Go to the source code of this file.

Functions

void export_G4UserLimits ()
 

Function Documentation

void export_G4UserLimits ( )

Definition at line 41 of file pyG4UserLimits.cc.

42 {
43  class_<G4UserLimits, G4UserLimits*>
44  ("G4UserLimits", "user step limitations")
45  // ---
46  .def(init<G4double>())
47  .def(init<G4double, G4double>())
48  .def(init<G4double, G4double, G4double>())
49  .def(init<G4double, G4double, G4double, G4double>())
50  .def(init<G4double, G4double, G4double, G4double, G4double>())
51  // ---
52  .def(init<const G4String&>())
53  .def(init<const G4String&, G4double>())
54  .def(init<const G4String&, G4double, G4double>())
55  .def(init<const G4String&, G4double, G4double, G4double>())
56  .def(init<const G4String&, G4double, G4double, G4double, G4double>())
57  .def(init<const G4String&, G4double, G4double, G4double,
58  G4double, G4double>())
59  // ---
60  .def("GetUserMaxTrackLength", &G4UserLimits::GetUserMaxTrackLength)
61  .def("GetUserMaxTime", &G4UserLimits::GetUserMaxTime)
62  .def("GetUserMinEkine", &G4UserLimits::GetUserMinEkine)
63  .def("GetUserMinRange", &G4UserLimits::GetUserMinRange)
64  // ---
65  .def("SetMaxAllowedStep", &G4UserLimits::SetMaxAllowedStep)
66  .def("SetUserMaxTrackLength", &G4UserLimits::SetUserMaxTrackLength)
67  .def("SetUserMaxTime", &G4UserLimits::SetUserMaxTime)
68  .def("SetUserMinEkine", &G4UserLimits::SetUserMinEkine)
69  .def("SetUserMinRange", &G4UserLimits::SetUserMinRange)
70  // ---
71  .def("GetType", &G4UserLimits::GetType,
72  return_internal_reference<>())
73  .def("SetType", &G4UserLimits::SetType)
74  ;
75 }
virtual void SetMaxAllowedStep(G4double ustepMax)
virtual void SetUserMinEkine(G4double uekinMin)
virtual void SetUserMinRange(G4double urangMin)
virtual G4double GetUserMaxTrackLength(const G4Track &)
void SetType(const G4String &type)
virtual void SetUserMaxTrackLength(G4double utrakMax)
virtual G4double GetUserMaxTime(const G4Track &)
const G4String & GetType() const
virtual G4double GetUserMinEkine(const G4Track &)
virtual G4double GetUserMinRange(const G4Track &)
double G4double
Definition: G4Types.hh:76
virtual void SetUserMaxTime(G4double utimeMax)

Here is the call graph for this function:

Here is the caller graph for this function: