33 #include <boost/python.hpp>
37 using namespace boost::python;
55 GetFieldValue(
G4ThreeVector(Point[0], Point[1], Point[2]), Point[3]);
57 Bfield[0]= bfield.
x();
58 Bfield[1]= bfield.
y();
59 Bfield[2]= bfield.
z();
67 namespace pyG4MagneticField {
74 return get_override(
"GetFieldValue")(pos, time);
85 using namespace pyG4MagneticField;
92 class_<G4MagneticField, boost::noncopyable >
93 (
"__G4MagneticField",
"dummy class of magnetic field", no_init)
97 bases<G4Field, G4MagneticField> >
98 (
"G4MagneticField",
"base class of magnetic field")