32 #include <boost/python.hpp> 34 #include "G4ProcessTable.hh" 48 (
const G4String&,
const G4ParticleDefinition*)
const 49 = &G4ProcessTable::FindProcess;
52 (
const G4String&,
const G4ProcessManager*)
const 53 = &G4ProcessTable::FindProcess;
60 G4ProcessVector* procVec= procTable-> FindProcesses();
61 G4int nproc= procVec-> size();
62 for(G4int i=0; i< nproc; i++) {
63 procList.append(&(*procVec)[i]);
69 const G4ProcessManager* procManager)
72 G4ProcessVector* procVec= procTable-> FindProcesses(procManager);
73 G4int nproc= procVec-> size();
74 for(G4int i=0; i< nproc; i++) {
75 procList.append(&(*procVec)[i]);
84 G4ProcessVector* procVec= procTable-> FindProcesses(pname);
85 G4int nproc= procVec-> size();
86 for(G4int i=0; i< nproc; i++) {
87 procList.append(&(*procVec)[i]);
96 G4ProcessVector* procVec= procTable-> FindProcesses(ptype);
97 G4int nproc= procVec-> size();
98 for(G4int i=0; i< nproc; i++) {
99 procList.append(&(*procVec)[i]);
106 (
const G4String&, G4bool)= &G4ProcessTable::SetProcessActivation;
110 = &G4ProcessTable::SetProcessActivation;
113 (
const G4String&, G4ParticleDefinition*, G4bool)
114 = &G4ProcessTable::SetProcessActivation;
117 (
const G4String&, G4ProcessManager*, G4bool)
118 = &G4ProcessTable::SetProcessActivation;
121 (G4ProcessType, G4bool)= &G4ProcessTable::SetProcessActivation;
124 (G4ProcessType,
const G4String&, G4bool)
125 = &G4ProcessTable::SetProcessActivation;
128 (G4ProcessType, G4ParticleDefinition*, G4bool)
129 = &G4ProcessTable::SetProcessActivation;
132 (G4ProcessType, G4ProcessManager*, G4bool)
133 = &G4ProcessTable::SetProcessActivation;
146 class_<G4ProcessTable, G4ProcessTable*, boost::noncopyable>
147 (
"G4ProcessTable",
"process table")
149 .def(
"GetProcessTable", &G4ProcessTable::GetProcessTable,
150 return_value_policy<reference_existing_object>())
151 .staticmethod(
"GetProcessTable")
152 .def(
"Length", &G4ProcessTable::Length)
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>())
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)
list f2_FindProcesses(G4ProcessTable *procTable, const G4ProcessManager *procManager)
G4VProcess *(G4ProcessTable::* f2_FindProcess)(const G4String &, const G4ParticleDefinition *) const
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateTubeVolume, CreateTubeVolume, 4, 6) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_CreateConeVolume
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 export_G4ProcessTable()
void(G4ProcessTable::* f1_SetProcessActivation)(const G4String &, G4bool)
list f1_FindProcesses(G4ProcessTable *procTable)
void(G4ProcessTable::* f8_SetProcessActivation)(G4ProcessType, G4ProcessManager *, G4bool)