32 #include <boost/python.hpp> 33 #include "G4VCrossSectionHandler.hh" 34 #include "G4VDataSetAlgorithm.hh" 35 #include "G4Material.hh" 36 #include "G4Element.hh" 48 G4double (G4VCrossSectionHandler::*
f1_FindValue)(G4int, G4double) const
49 = &G4VCrossSectionHandler::FindValue;
51 G4double (G4VCrossSectionHandler::*
f2_FindValue)(G4int, G4double, G4int) const
52 = &G4VCrossSectionHandler::FindValue;
63 class_<G4VCrossSectionHandler, boost::noncopyable>
64 (
"G4VCrossSectionHandler",
"cross section handler", no_init)
66 .def(
"Initialise", &G4VCrossSectionHandler::Initialise,
68 .def(
"SelectRandomElement", &G4VCrossSectionHandler::SelectRandomElement,
69 return_value_policy<reference_existing_object>())
70 .def(
"SelectRandomShell", &G4VCrossSectionHandler::SelectRandomShell)
73 .def(
"ValueForMaterial", &G4VCrossSectionHandler::ValueForMaterial)
74 .def(
"LoadData", &G4VCrossSectionHandler::LoadData)
75 .def(
"LoadShellData", &G4VCrossSectionHandler::LoadShellData)
76 .def(
"PrintData", &G4VCrossSectionHandler::PrintData)
77 .def(
"Clear", &G4VCrossSectionHandler::Clear)
G4double(G4VCrossSectionHandler::* f2_FindValue)(G4int, G4double, G4int) const
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
void export_G4VCrossSectionHandler()
G4double(G4VCrossSectionHandler::* f1_FindValue)(G4int, G4double) const