Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pyG4AtomicShells.cc File Reference
#include <boost/python.hpp>
#include "G4AtomicShells.hh"

Go to the source code of this file.

Functions

void export_G4AtomicShells ()
 

Function Documentation

void export_G4AtomicShells ( )

Definition at line 40 of file pyG4AtomicShells.cc.

References G4AtomicShells::GetBindingEnergy(), G4AtomicShells::GetNumberOfElectrons(), G4AtomicShells::GetNumberOfShells(), and G4AtomicShells::GetTotalBindingEnergy().

Referenced by BOOST_PYTHON_MODULE().

41 {
42  class_<G4AtomicShells, boost::noncopyable>
43  ("G4AtomicShells", "Atomic subshell binding energy table")
44 
45  .def("GetNumberOfShells", &G4AtomicShells::GetNumberOfShells)
46  .staticmethod("GetNumberOfShells")
47 
48  .def("GetNumberOfElectrons", &G4AtomicShells::GetNumberOfElectrons)
49  .staticmethod("GetNumberOfElectrons")
50 
51  .def("GetBindingEnergy", &G4AtomicShells::GetBindingEnergy)
52  .staticmethod("GetBindingEnergy")
53 
54  .def("GetTotalBindingEnergy", &G4AtomicShells::GetTotalBindingEnergy)
55  ;
56 }
G4double GetTotalBindingEnergy(G4int Z)
static G4double GetBindingEnergy(G4int Z, G4int SubshellNb)
static G4int GetNumberOfElectrons(G4int Z, G4int SubshellNb)
static G4int GetNumberOfShells(G4int Z)