LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pyG4ProcessTable.cc File Reference
#include <boost/python.hpp>
#include "G4ProcessTable.hh"

Go to the source code of this file.

Namespaces

 pyG4ProcessTable
 

Functions

list pyG4ProcessTable::f1_FindProcesses (G4ProcessTable *procTable)
 
list pyG4ProcessTable::f2_FindProcesses (G4ProcessTable *procTable, const G4ProcessManager *procManager)
 
list pyG4ProcessTable::f3_FindProcesses (G4ProcessTable *procTable, const G4String &pname)
 
list pyG4ProcessTable::f4_FindProcesses (G4ProcessTable *procTable, G4ProcessType ptype)
 
void export_G4ProcessTable ()
 

Variables

G4VProcess *(G4ProcessTable::* pyG4ProcessTable::f1_FindProcess )(const G4String &, const G4String &) const = &G4ProcessTable::FindProcess
 
G4VProcess *(G4ProcessTable::* pyG4ProcessTable::f2_FindProcess )(const G4String &, const G4ParticleDefinition *) const = &G4ProcessTable::FindProcess
 
G4VProcess *(G4ProcessTable::* pyG4ProcessTable::f3_FindProcess )(const G4String &, const G4ProcessManager *) const = &G4ProcessTable::FindProcess
 
void(G4ProcessTable::* pyG4ProcessTable::f1_SetProcessActivation )(const G4String &, G4bool) = &G4ProcessTable::SetProcessActivation
 
void(G4ProcessTable::* pyG4ProcessTable::f2_SetProcessActivation )(const G4String &, const G4String &, G4bool) = &G4ProcessTable::SetProcessActivation
 
void(G4ProcessTable::* pyG4ProcessTable::f3_SetProcessActivation )(const G4String &, G4ParticleDefinition *, G4bool) = &G4ProcessTable::SetProcessActivation
 
void(G4ProcessTable::* pyG4ProcessTable::f4_SetProcessActivation )(const G4String &, G4ProcessManager *, G4bool) = &G4ProcessTable::SetProcessActivation
 
void(G4ProcessTable::* pyG4ProcessTable::f5_SetProcessActivation )(G4ProcessType, G4bool) = &G4ProcessTable::SetProcessActivation
 
void(G4ProcessTable::* pyG4ProcessTable::f6_SetProcessActivation )(G4ProcessType, const G4String &, G4bool) = &G4ProcessTable::SetProcessActivation
 
void(G4ProcessTable::* pyG4ProcessTable::f7_SetProcessActivation )(G4ProcessType, G4ParticleDefinition *, G4bool) = &G4ProcessTable::SetProcessActivation
 
void(G4ProcessTable::* pyG4ProcessTable::f8_SetProcessActivation )(G4ProcessType, G4ProcessManager *, G4bool) = &G4ProcessTable::SetProcessActivation
 

Function Documentation

void export_G4ProcessTable ( )

Definition at line 144 of file pyG4ProcessTable.cc.

References pyG4ProcessTable::f1_FindProcess, pyG4ProcessTable::f1_FindProcesses(), pyG4ProcessTable::f1_SetProcessActivation, pyG4ProcessTable::f2_FindProcess, pyG4ProcessTable::f2_FindProcesses(), pyG4ProcessTable::f2_SetProcessActivation, pyG4ProcessTable::f3_FindProcess, pyG4ProcessTable::f3_FindProcesses(), pyG4ProcessTable::f3_SetProcessActivation, pyG4ProcessTable::f4_FindProcesses(), pyG4ProcessTable::f4_SetProcessActivation, pyG4ProcessTable::f5_SetProcessActivation, pyG4ProcessTable::f6_SetProcessActivation, pyG4ProcessTable::f7_SetProcessActivation, and pyG4ProcessTable::f8_SetProcessActivation.

Referenced by BOOST_PYTHON_MODULE().

145 {
146  class_<G4ProcessTable, G4ProcessTable*, boost::noncopyable>
147  ("G4ProcessTable", "process table")
148  // ---
149  .def("GetProcessTable", &G4ProcessTable::GetProcessTable,
150  return_value_policy<reference_existing_object>())
151  .staticmethod("GetProcessTable")
152  .def("Length", &G4ProcessTable::Length)
153  //.def("Insert", &G4ProcessTable::Insert) // protected
154  //.def("Remove", &G4ProcessTable::Remove) // protected
155  // ---
156  .def("FindProcess", f1_FindProcess,
157  return_value_policy<reference_existing_object>())
158  .def("FindProcess", f2_FindProcess,
159  return_value_policy<reference_existing_object>())
160  .def("FindProcess", f3_FindProcess,
161  return_value_policy<reference_existing_object>())
162  .def("FindProcess", f3_FindProcess,
163  return_value_policy<reference_existing_object>())
164  // ---
165  .def("FindProcesses", f1_FindProcesses)
166  .def("FindProcesses", f2_FindProcesses)
167  .def("FindProcesses", f3_FindProcesses)
168  .def("FindProcesses", f4_FindProcesses)
169  // ---
170  .def("SetProcessActivation", f1_SetProcessActivation)
171  .def("SetProcessActivation", f2_SetProcessActivation)
172  .def("SetProcessActivation", f3_SetProcessActivation)
173  .def("SetProcessActivation", f4_SetProcessActivation)
174  .def("SetProcessActivation", f5_SetProcessActivation)
175  .def("SetProcessActivation", f6_SetProcessActivation)
176  .def("SetProcessActivation", f7_SetProcessActivation)
177  .def("SetProcessActivation", f8_SetProcessActivation)
178  // ---
179  .def("GetNameList", &G4ProcessTable::GetNameList,
180  return_internal_reference<>())
181  .def("DumpInfo", &G4ProcessTable::DumpInfo, f_DumpInfo())
182  .def("SetVerboseLevel", &G4ProcessTable::SetVerboseLevel)
183  .def("GetVerboseLevel", &G4ProcessTable::GetVerboseLevel)
184  ;
185 }
list f2_FindProcesses(G4ProcessTable *procTable, const G4ProcessManager *procManager)
G4VProcess *(G4ProcessTable::* f2_FindProcess)(const G4String &, const G4ParticleDefinition *) const
void(G4ProcessTable::* f7_SetProcessActivation)(G4ProcessType, G4ParticleDefinition *, G4bool)
void(G4ProcessTable::* f3_SetProcessActivation)(const G4String &, G4ParticleDefinition *, G4bool)
void(G4ProcessTable::* f4_SetProcessActivation)(const G4String &, G4ProcessManager *, G4bool)
void(G4ProcessTable::* f6_SetProcessActivation)(G4ProcessType, const G4String &, G4bool)
G4VProcess *(G4ProcessTable::* f3_FindProcess)(const G4String &, const G4ProcessManager *) const
list f4_FindProcesses(G4ProcessTable *procTable, G4ProcessType ptype)
void(G4ProcessTable::* f2_SetProcessActivation)(const G4String &, const G4String &, G4bool)
G4VProcess *(G4ProcessTable::* f1_FindProcess)(const G4String &, const G4String &) const
void(G4ProcessTable::* f5_SetProcessActivation)(G4ProcessType, G4bool)
list f3_FindProcesses(G4ProcessTable *procTable, const G4String &pname)
void(G4ProcessTable::* f1_SetProcessActivation)(const G4String &, G4bool)
list f1_FindProcesses(G4ProcessTable *procTable)
void(G4ProcessTable::* f8_SetProcessActivation)(G4ProcessType, G4ProcessManager *, G4bool)