Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4VCrossSectionHandler.cc File Reference
#include <boost/python.hpp>
#include "G4VCrossSectionHandler.hh"
#include "G4VDataSetAlgorithm.hh"
#include "G4Material.hh"
#include "G4Element.hh"
Include dependency graph for pyG4VCrossSectionHandler.cc:

Go to the source code of this file.

Namespaces

 pyG4VCrossSectionHandler
 

Functions

void export_G4VCrossSectionHandler ()
 

Variables

G4double(G4VCrossSectionHandler::* pyG4VCrossSectionHandler::f1_FindValue )(G4int, G4double) const = &G4VCrossSectionHandler::FindValue
 
G4double(G4VCrossSectionHandler::* pyG4VCrossSectionHandler::f2_FindValue )(G4int, G4double, G4int) const = &G4VCrossSectionHandler::FindValue
 

Function Documentation

void export_G4VCrossSectionHandler ( )

Definition at line 61 of file pyG4VCrossSectionHandler.cc.

62 {
63  class_<G4VCrossSectionHandler, boost::noncopyable>
64  ("G4VCrossSectionHandler", "cross section handler", no_init)
65  // ---
66  .def("Initialise", &G4VCrossSectionHandler::Initialise,
67  f_Initialise())
68  .def("SelectRandomElement", &G4VCrossSectionHandler::SelectRandomElement,
69  return_value_policy<reference_existing_object>())
70  .def("SelectRandomShell", &G4VCrossSectionHandler::SelectRandomShell)
71  .def("FindValue", f1_FindValue)
72  .def("FindValue", f2_FindValue)
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)
78  ;
79 }
G4int SelectRandomShell(G4int Z, G4double e) const
G4double ValueForMaterial(const G4Material *material, G4double e) const
G4double(G4VCrossSectionHandler::* f2_FindValue)(G4int, G4double, G4int) const
void LoadShellData(const G4String &dataFile)
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)
void LoadData(const G4String &dataFile)
const G4Element * SelectRandomElement(const G4MaterialCutsCouple *material, G4double e) const
G4double(G4VCrossSectionHandler::* f1_FindValue)(G4int, G4double) const

Here is the call graph for this function:

Here is the caller graph for this function: