LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyG4ProductionCutsTable.cc File Reference
#include <boost/python.hpp>
#include "G4Version.hh"
#include "G4ProductionCutsTable.hh"
#include "G4Material.hh"

Go to the source code of this file.

Functions

void export_G4ProductionCutsTable ()
 

Function Documentation

void export_G4ProductionCutsTable ( )

Definition at line 41 of file pyG4ProductionCutsTable.cc.

Referenced by BOOST_PYTHON_MODULE().

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