32 #include <boost/python.hpp>
40 using namespace boost::python;
45 namespace pyG4FieldManager {
54 SetDetectorField, 1, 2);
58 using namespace pyG4FieldManager;
65 class_<G4FieldManager, G4FieldManager*, boost::noncopyable>
66 (
"G4FieldManager",
"field manager class")
69 .def(init<G4Field*>())
70 .def(init<G4Field*, G4ChordFinder*>())
71 .def(init<G4Field*, G4ChordFinder*, G4bool>())
72 .def(init<G4MagneticField*>())
77 return_internal_reference<>())
82 return_internal_reference<>())
84 return_internal_reference<>())
88 .def(
"SetAccuraciesWithDeltaOneStep",
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
virtual void ConfigureForTrack(const G4Track *)
void SetMinimumEpsilonStep(G4double newEpsMin)
G4bool DoesFieldChangeEnergy() const
G4double GetDeltaOneStep() const
G4bool DoesFieldExist() const
G4double GetDeltaIntersection() const
void SetAccuraciesWithDeltaOneStep(G4double valDeltaOneStep)
G4bool SetDetectorField(G4Field *detectorField, int failMode=0)
void SetFieldChangesEnergy(G4bool value)
void CreateChordFinder(G4MagneticField *detectorMagField)
G4ChordFinder *(G4FieldManager::* f1_GetChordFinder)()
G4double GetMaximumEpsilonStep() const
const G4ChordFinder *(G4FieldManager::* f2_GetChordFinder)() const
const G4Field * GetDetectorField() const
void SetChordFinder(G4ChordFinder *aChordFinder)
void SetDeltaIntersection(G4double valueDintersection)
G4double GetMinimumEpsilonStep() const
void SetMaximumEpsilonStep(G4double newEpsMax)
void SetDeltaOneStep(G4double valueD1step)
void export_G4FieldManager()
G4ChordFinder * GetChordFinder()