LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyG4ProcessTable Namespace Reference

Functions

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

Variables

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

Function Documentation

list pyG4ProcessTable::f1_FindProcesses ( G4ProcessTable *  procTable)

Definition at line 56 of file pyG4ProcessTable.cc.

References util::size().

Referenced by export_G4ProcessTable().

57 {
58  list procList;
59  G4ProcessVector* procVec= procTable-> FindProcesses();
60  G4int nproc= procVec-> size();
61  for(G4int i=0; i< nproc; i++) {
62  procList.append(&(*procVec)[i]);
63  }
64  return procList;
65 }
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:101
list pyG4ProcessTable::f2_FindProcesses ( G4ProcessTable *  procTable,
const G4ProcessManager *  procManager 
)

Definition at line 67 of file pyG4ProcessTable.cc.

References util::size().

Referenced by export_G4ProcessTable().

69 {
70  list procList;
71  G4ProcessVector* procVec= procTable-> FindProcesses(procManager);
72  G4int nproc= procVec-> size();
73  for(G4int i=0; i< nproc; i++) {
74  procList.append(&(*procVec)[i]);
75  }
76  return procList;
77 }
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:101
list pyG4ProcessTable::f3_FindProcesses ( G4ProcessTable *  procTable,
const G4String pname 
)

Definition at line 79 of file pyG4ProcessTable.cc.

References util::size().

Referenced by export_G4ProcessTable().

81 {
82  list procList;
83  G4ProcessVector* procVec= procTable-> FindProcesses(pname);
84  G4int nproc= procVec-> size();
85  for(G4int i=0; i< nproc; i++) {
86  procList.append(&(*procVec)[i]);
87  }
88  return procList;
89 }
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:101
list pyG4ProcessTable::f4_FindProcesses ( G4ProcessTable *  procTable,
G4ProcessType  ptype 
)

Definition at line 91 of file pyG4ProcessTable.cc.

References f1_SetProcessActivation, and util::size().

Referenced by export_G4ProcessTable().

93 {
94  list procList;
95  G4ProcessVector* procVec= procTable-> FindProcesses(ptype);
96  G4int nproc= procVec-> size();
97  for(G4int i=0; i< nproc; i++) {
98  procList.append(&(*procVec)[i]);
99  }
100  return procList;
101 }
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:101

Variable Documentation

G4VProcess*(G4ProcessTable::* pyG4ProcessTable::f1_FindProcess) (const G4String &, const G4String &) const = &G4ProcessTable::FindProcess

Definition at line 44 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().

void(G4ProcessTable::* pyG4ProcessTable::f1_SetProcessActivation) (const G4String &, G4bool) = &G4ProcessTable::SetProcessActivation

Definition at line 105 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable(), and f4_FindProcesses().

G4VProcess*(G4ProcessTable::* pyG4ProcessTable::f2_FindProcess) (const G4String &, const G4ParticleDefinition *) const = &G4ProcessTable::FindProcess

Definition at line 47 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().

void(G4ProcessTable::* pyG4ProcessTable::f2_SetProcessActivation) (const G4String &, const G4String &, G4bool) = &G4ProcessTable::SetProcessActivation

Definition at line 108 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().

G4VProcess*(G4ProcessTable::* pyG4ProcessTable::f3_FindProcess) (const G4String &, const G4ProcessManager *) const = &G4ProcessTable::FindProcess

Definition at line 51 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().

void(G4ProcessTable::* pyG4ProcessTable::f3_SetProcessActivation) (const G4String &, G4ParticleDefinition *, G4bool) = &G4ProcessTable::SetProcessActivation

Definition at line 112 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().

void(G4ProcessTable::* pyG4ProcessTable::f4_SetProcessActivation) (const G4String &, G4ProcessManager *, G4bool) = &G4ProcessTable::SetProcessActivation

Definition at line 116 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().

void(G4ProcessTable::* pyG4ProcessTable::f5_SetProcessActivation) (G4ProcessType, G4bool) = &G4ProcessTable::SetProcessActivation

Definition at line 120 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().

void(G4ProcessTable::* pyG4ProcessTable::f6_SetProcessActivation) (G4ProcessType, const G4String &, G4bool) = &G4ProcessTable::SetProcessActivation

Definition at line 123 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().

void(G4ProcessTable::* pyG4ProcessTable::f7_SetProcessActivation) (G4ProcessType, G4ParticleDefinition *, G4bool) = &G4ProcessTable::SetProcessActivation

Definition at line 127 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().

void(G4ProcessTable::* pyG4ProcessTable::f8_SetProcessActivation) (G4ProcessType, G4ProcessManager *, G4bool) = &G4ProcessTable::SetProcessActivation

Definition at line 131 of file pyG4ProcessTable.cc.

Referenced by export_G4ProcessTable().