LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 41 of file pyG4TransportationManager.cc.

Referenced by BOOST_PYTHON_MODULE().

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