31 #include <boost/python.hpp> 32 #include "G4VCrossSectionHandler.hh" 33 #include "G4VDataSetAlgorithm.hh" 34 #include "G4Material.hh" 35 #include "G4Element.hh" 47 G4double (G4VCrossSectionHandler::*
f1_FindValue)(G4int, G4double) const
48 = &G4VCrossSectionHandler::FindValue;
50 G4double (G4VCrossSectionHandler::*
f2_FindValue)(G4int, G4double, G4int) const
51 = &G4VCrossSectionHandler::FindValue;
62 class_<G4VCrossSectionHandler, boost::noncopyable>
63 (
"G4VCrossSectionHandler",
"cross section handler", no_init)
65 .def(
"Initialise", &G4VCrossSectionHandler::Initialise,
67 .def(
"SelectRandomElement", &G4VCrossSectionHandler::SelectRandomElement,
68 return_value_policy<reference_existing_object>())
69 .def(
"SelectRandomShell", &G4VCrossSectionHandler::SelectRandomShell)
72 .def(
"ValueForMaterial", &G4VCrossSectionHandler::ValueForMaterial)
73 .def(
"LoadData", &G4VCrossSectionHandler::LoadData)
74 .def(
"LoadShellData", &G4VCrossSectionHandler::LoadShellData)
75 .def(
"PrintData", &G4VCrossSectionHandler::PrintData)
76 .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