32 #include <boost/python.hpp>
40 using namespace boost::python;
45 #if G4VERSION_NUMBER <= 801
56 namespace pyG4FieldManager {
65 using namespace pyG4FieldManager;
72 class_<G4FieldManager, G4FieldManager*, boost::noncopyable>
73 (
"G4FieldManager",
"field manager class")
76 .def(init<G4Field*>())
77 .def(init<G4Field*, G4ChordFinder*>())
78 .def(init<G4Field*, G4ChordFinder*, G4bool>())
79 .def(init<G4MagneticField*>())
83 return_internal_reference<>())
88 return_internal_reference<>())
90 return_internal_reference<>())
94 .def(
"SetAccuraciesWithDeltaOneStep",
G4ChordFinder * GetChordFinder()
const G4ChordFinder *(G4FieldManager::* f2_GetChordFinder)() const
G4bool SetDetectorField(G4Field *detectorField)
G4double GetDeltaOneStep() const
void SetChordFinder(G4ChordFinder *aChordFinder)
void export_G4FieldManager()
void SetAccuraciesWithDeltaOneStep(G4double valDeltaOneStep)
virtual void ConfigureForTrack(const G4Track *)
void SetMinimumEpsilonStep(G4double newEpsMin)
G4double GetMaximumEpsilonStep() const
G4bool DoesFieldExist() const
G4bool DoesFieldChangeEnergy() const
G4double GetDeltaIntersection() const
void SetDeltaIntersection(G4double valueDintersection)
void SetFieldChangesEnergy(G4bool value)
void SetMaximumEpsilonStep(G4double newEpsMax)
G4ChordFinder *(G4FieldManager::* f1_GetChordFinder)()
void CreateChordFinder(G4MagneticField *detectorMagField)
const G4Field * GetDetectorField() const
void SetDeltaOneStep(G4double valueD1step)
G4double GetMinimumEpsilonStep() const