Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4ProductionCutsTable.cc File Reference
#include <boost/python.hpp>
#include "G4Version.hh"
#include "G4ProductionCutsTable.hh"
#include "G4Material.hh"
Include dependency graph for pyG4ProductionCutsTable.cc:

Go to the source code of this file.

Functions

void export_G4ProductionCutsTable ()
 

Function Documentation

void export_G4ProductionCutsTable ( )

Definition at line 42 of file pyG4ProductionCutsTable.cc.

43 {
44  class_<G4ProductionCutsTable, boost::noncopyable>
45  ("G4ProductionCutsTable", "production cuts table", no_init)
46  .def("GetProductionCutsTable",
48  return_value_policy<reference_existing_object>())
49  .staticmethod("GetProductionCutsTable")
50 
51  // internally used methods are limmitted to be exposed...
52 
53  // ---
54  .def("GetLowEdgeEnergy", &G4ProductionCutsTable::GetLowEdgeEnergy)
55  .def("GetHighEdgeEnergy", &G4ProductionCutsTable::GetHighEdgeEnergy)
56  .def("SetEnergyRange", &G4ProductionCutsTable::SetEnergyRange)
57  .def("DumpCouples", &G4ProductionCutsTable::DumpCouples)
58  .def("IsModified", &G4ProductionCutsTable::IsModified)
59  // ---
60 #if G4VERSION_NUMBER >= 830
61  .def("ConvertRangeToEnergy", &G4ProductionCutsTable::ConvertRangeToEnergy)
62 #endif
63  // ---
64  .def("SetVerboseLevel", &G4ProductionCutsTable::SetVerboseLevel)
65  .def("GetVerboseLevel", &G4ProductionCutsTable::GetVerboseLevel)
66  ;
67 }
G4double GetHighEdgeEnergy() const
void SetEnergyRange(G4double lowedge, G4double highedge)
void SetVerboseLevel(G4int value)
G4double GetLowEdgeEnergy() const
static G4ProductionCutsTable * GetProductionCutsTable()
G4double ConvertRangeToEnergy(const G4ParticleDefinition *particle, const G4Material *material, G4double range)

Here is the call graph for this function:

Here is the caller graph for this function: