LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
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.

Referenced by BOOST_PYTHON_MODULE().

43 {
44  class_<G4TransportationManager, boost::noncopyable>
45  ("G4TransportationManager", "manager class for transportation", no_init)
46  // ---
47  .def("GetTransportationManager",
48  &G4TransportationManager::GetTransportationManager,
49  return_value_policy<reference_existing_object>())
50  .staticmethod("GetTransportationManager")
51  .def("GetNavigatorForTracking",
52  &G4TransportationManager::GetNavigatorForTracking,
53  return_internal_reference<>())
54  .def("GetPropagatorInField",
55  &G4TransportationManager::GetPropagatorInField,
56  return_internal_reference<>())
57  .def("GetFieldManager",
58  &G4TransportationManager::GetFieldManager,
59  return_internal_reference<>())
60  .def("SetNavigatorForTracking",
61  &G4TransportationManager::SetNavigatorForTracking)
62  .def("SetPropagatorInField",
63  &G4TransportationManager::SetPropagatorInField)
64  .def("SetFieldManager",
65  &G4TransportationManager::SetFieldManager)
66  ;
67 }