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<>())
list f2_FindProcesses(G4ProcessTable *procTable, const G4ProcessManager *procManager)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
G4VProcess *(G4ProcessManager::* f2_SetProcessActivation)(G4int, G4bool)
void SetVerboseLevel(G4int value)
void DumpInfo(G4VProcess *process, G4ParticleDefinition *particle=0)
static G4ProcessTable * GetProcessTable()
G4VProcess *(G4ProcessManager::* f1_SetProcessActivation)(G4VProcess *, G4bool)
list f4_FindProcesses(G4ProcessTable *procTable, G4ProcessType ptype)
void SetProcessActivation(const G4String &processName, G4bool fActive)
G4int GetVerboseLevel() const
G4ProcNameVector * GetNameList()
G4VProcess *(G4ProcessTable::* f3_FindProcess)(const G4String &, const G4ProcessManager *) const
list f3_FindProcesses(G4ProcessTable *procTable, const G4String &pname)
G4VProcess *(G4ProcessTable::* f2_FindProcess)(const G4String &, const G4ParticleDefinition *) const
void export_G4ProcessTable()
G4VProcess * FindProcess(const G4String &processName, const G4String &particleName) const
G4VProcess *(G4ProcessTable::* f1_FindProcess)(const G4String &, const G4String &) const
typedef void(XMLCALL *XML_ElementDeclHandler)(void *userData
list f1_FindProcesses(G4ProcessTable *procTable)