32 #include <boost/python.hpp> 33 #include "G4Version.hh" 34 #include "G4ProductionCutsTable.hh" 35 #include "G4Material.hh" 44 class_<G4ProductionCutsTable, boost::noncopyable>
45 (
"G4ProductionCutsTable",
"production cuts table", no_init)
46 .def(
"GetProductionCutsTable",
47 &G4ProductionCutsTable::GetProductionCutsTable,
48 return_value_policy<reference_existing_object>())
49 .staticmethod(
"GetProductionCutsTable")
54 .def(
"GetLowEdgeEnergy", &G4ProductionCutsTable::GetLowEdgeEnergy)
55 .def(
"GetHighEdgeEnergy", &G4ProductionCutsTable::GetHighEdgeEnergy)
56 .def(
"SetEnergyRange", &G4ProductionCutsTable::SetEnergyRange)
57 .def(
"DumpCouples", &G4ProductionCutsTable::DumpCouples)
58 .def(
"IsModified", &G4ProductionCutsTable::IsModified)
60 #if G4VERSION_NUMBER >= 830 61 .def(
"ConvertRangeToEnergy", &G4ProductionCutsTable::ConvertRangeToEnergy)
64 .def(
"SetVerboseLevel", &G4ProductionCutsTable::SetVerboseLevel)
65 .def(
"GetVerboseLevel", &G4ProductionCutsTable::GetVerboseLevel)
void export_G4ProductionCutsTable()