31 #include <boost/python.hpp>
39 using namespace boost::python;
44 namespace pyG4FieldManager {
53 SetDetectorField, 1, 2)
57 using namespace pyG4FieldManager;
64 class_<G4FieldManager, G4FieldManager*, boost::noncopyable>
65 (
"G4FieldManager",
"field manager class")
68 .def(init<G4Field*>())
69 .def(init<G4Field*, G4ChordFinder*>())
70 .def(init<G4Field*, G4ChordFinder*, G4bool>())
71 .def(init<G4MagneticField*>())
76 return_internal_reference<>())
81 return_internal_reference<>())
83 return_internal_reference<>())
87 .def(
"SetAccuraciesWithDeltaOneStep",