32 #include <boost/python.hpp>
36 using namespace boost::python;
41 namespace pyG4ProcessTable {
61 G4int nproc= procVec-> size();
62 for(
G4int i=0; i< nproc; i++) {
63 procList.append(&(*procVec)[i]);
73 G4int nproc= procVec-> size();
74 for(
G4int i=0; i< nproc; i++) {
75 procList.append(&(*procVec)[i]);
85 G4int nproc= procVec-> size();
86 for(
G4int i=0; i< nproc; i++) {
87 procList.append(&(*procVec)[i]);
97 G4int nproc= procVec-> size();
98 for(
G4int i=0; i< nproc; i++) {
99 procList.append(&(*procVec)[i]);
139 using namespace pyG4ProcessTable;
146 class_<G4ProcessTable, G4ProcessTable*, boost::noncopyable>
147 (
"G4ProcessTable",
"process table")
150 return_value_policy<reference_existing_object>())
151 .staticmethod(
"GetProcessTable")
157 return_value_policy<reference_existing_object>())
159 return_value_policy<reference_existing_object>())
161 return_value_policy<reference_existing_object>())
163 return_value_policy<reference_existing_object>())
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)
180 return_internal_reference<>())
G4VProcess *(G4ProcessTable::* f2_FindProcess)(const G4String &, const G4ParticleDefinition *) const
void DumpInfo(G4VProcess *process, G4ParticleDefinition *particle=0)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
void export_G4ProcessTable()
void SetProcessActivation(const G4String &processName, G4bool fActive)
list f4_FindProcesses(G4ProcessTable *procTable, G4ProcessType ptype)
G4VProcess *(G4ProcessManager::* f1_SetProcessActivation)(G4VProcess *, G4bool)
void SetVerboseLevel(G4int value)
list f1_FindProcesses(G4ProcessTable *procTable)
list f3_FindProcesses(G4ProcessTable *procTable, const G4String &pname)
G4ProcNameVector * GetNameList()
G4VProcess *(G4ProcessTable::* f1_FindProcess)(const G4String &, const G4String &) const
G4int GetVerboseLevel() const
list f2_FindProcesses(G4ProcessTable *procTable, const G4ProcessManager *procManager)
G4VProcess *(G4ProcessManager::* f2_SetProcessActivation)(G4int, G4bool)
typedef void(XMLCALL *XML_ElementDeclHandler)(void *userData
static G4ProcessTable * GetProcessTable()
G4VProcess * FindProcess(const G4String &processName, const G4String &particleName) const
G4VProcess *(G4ProcessTable::* f3_FindProcess)(const G4String &, const G4ProcessManager *) const