32 #include <boost/python.hpp>
37 using namespace boost::python;
44 class_<G4TransportationManager, boost::noncopyable>
45 (
"G4TransportationManager",
"manager class for transportation", no_init)
47 .def(
"GetTransportationManager",
49 return_value_policy<reference_existing_object>())
50 .staticmethod(
"GetTransportationManager")
51 .def(
"GetNavigatorForTracking",
53 return_internal_reference<>())
54 .def(
"GetPropagatorInField",
56 return_internal_reference<>())
57 .def(
"GetFieldManager",
59 return_internal_reference<>())
60 .def(
"SetNavigatorForTracking",
62 .def(
"SetPropagatorInField",
64 .def(
"SetFieldManager",
G4Navigator * GetNavigatorForTracking() const
void SetFieldManager(G4FieldManager *newFieldManager)
void export_G4TransportationManager()
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
void SetPropagatorInField(G4PropagatorInField *newFieldPropagator)
G4PropagatorInField * GetPropagatorInField() const
void SetNavigatorForTracking(G4Navigator *newNavigator)