33 #include <boost/python.hpp>
37 using namespace boost::python;
44 class_<G4LossTableManager, boost::noncopyable>
45 (
"G4LossTableManager",
"energy loss table manager", no_init)
47 return_value_policy<reference_existing_object>())
48 .staticmethod(
"Instance")
61 #if G4VERSION_NUMBER >= 810
62 .def(
"SetMaxEnergyForCSDARange",
65 .def(
"SetMaxEnergyForPreciseRange",
66 &G4LossTableManager::SetMaxEnergyForPreciseRange)
71 #if G4VERSION_NUMBER >= 810
77 .def(
"SetStepLimits", &G4LossTableManager::SetStepLimits)
78 .def(
"SetBuildPreciseRange", &G4LossTableManager::SetBuildPreciseRange)
83 #if G4VERSION_NUMBER >= 810
88 #if G4VERSION_NUMBER <= 830
89 .def(
"SetMscStepLimitation", &G4LossTableManager::SetMscStepLimitation)
90 .def(
"MscFlag", &G4LossTableManager::MscFlag)
91 .def(
"FacRange", &G4LossTableManager::FacRange)
95 .def(
"BuildPreciseRange", &G4LossTableManager::BuildPreciseRange)
99 #if G4VERSION_NUMBER == 830
100 .def(
"SetMscLateralDisplacement",
101 &G4LossTableManager::SetMscLateralDisplacement)
102 .def(
"SetSkin", &G4LossTableManager::SetSkin)
105 #if G4VERSION_NUMBER >= 830