32 #include <boost/python.hpp>
38 using namespace boost::python;
43 namespace pyG4VCrossSectionHandler {
56 using namespace pyG4VCrossSectionHandler;
63 class_<G4VCrossSectionHandler, boost::noncopyable>
64 (
"G4VCrossSectionHandler",
"cross section handler", no_init)
69 return_value_policy<reference_existing_object>())
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
void LoadData(const G4String &dataFile)
void LoadShellData(const G4String &dataFile)
const G4Element * SelectRandomElement(const G4MaterialCutsCouple *material, G4double e) const
G4int SelectRandomShell(G4int Z, G4double e) const
void export_G4VCrossSectionHandler()
void Initialise(G4VDataSetAlgorithm *interpolation=0, G4double minE=250 *CLHEP::eV, G4double maxE=100 *CLHEP::GeV, G4int numberOfBins=200, G4double unitE=CLHEP::MeV, G4double unitData=CLHEP::barn, G4int minZ=1, G4int maxZ=99)
const G4ThreeVector const G4double const
G4double(G4VCrossSectionHandler::* f2_FindValue)(G4int, G4double, G4int) const
G4double ValueForMaterial(const G4Material *material, G4double e) const
G4double(G4VCrossSectionHandler::* f1_FindValue)(G4int, G4double) const