LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 143 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, pyG4ProcessTable::f8_SetProcessActivation, and tca::Length().

Referenced by BOOST_PYTHON_MODULE().

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