Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pyG4TransportationManager.cc File Reference
#include <boost/python.hpp>
#include "G4TransportationManager.hh"
#include "G4PropagatorInField.hh"
#include "G4FieldManager.hh"

Go to the source code of this file.

Functions

void export_G4TransportationManager ()
 

Function Documentation

void export_G4TransportationManager ( )

Definition at line 42 of file pyG4TransportationManager.cc.

References G4TransportationManager::GetFieldManager(), G4TransportationManager::GetNavigatorForTracking(), G4TransportationManager::GetPropagatorInField(), G4TransportationManager::GetTransportationManager(), G4TransportationManager::SetFieldManager(), G4TransportationManager::SetNavigatorForTracking(), and G4TransportationManager::SetPropagatorInField().

Referenced by BOOST_PYTHON_MODULE().

43 {
44  class_<G4TransportationManager, boost::noncopyable>
45  ("G4TransportationManager", "manager class for transportation", no_init)
46  // ---
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",
66  ;
67 }
G4Navigator * GetNavigatorForTracking() const
void SetFieldManager(G4FieldManager *newFieldManager)
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
void SetPropagatorInField(G4PropagatorInField *newFieldPropagator)
G4PropagatorInField * GetPropagatorInField() const
void SetNavigatorForTracking(G4Navigator *newNavigator)