LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
pyG4ProcessManager Namespace Reference

Functions

list f_GetProcessList (const G4ProcessManager *procMgr)
 
list f_GetProcessVector (const G4ProcessManager *procMgr, G4ProcessVectorDoItIndex idx, G4ProcessVectorTypeIndex typ=typeGPIL)
 
 BOOST_PYTHON_FUNCTION_OVERLOADS (g_GetProcessVector, f_GetProcessVector, 2, 3) list f_GetAtRestProcessVector(const G4ProcessManager *procMgr
 

Variables

G4ProcessVectorTypeIndex typ
 
G4VProcess *(G4ProcessManager::* f2_RemoveProcess )(G4int) = &G4ProcessManager::RemoveProcess
 
G4VProcess *(G4ProcessManager::* f1_SetProcessActivation )(G4VProcess *, G4bool) = &G4ProcessManager::SetProcessActivation
 
G4VProcess *(G4ProcessManager::* f2_SetProcessActivation )(G4int, G4bool) = &G4ProcessManager::SetProcessActivation
 
G4bool(G4ProcessManager::* f1_GetProcessActivation )(G4VProcess *) const = &G4ProcessManager::GetProcessActivation
 
G4bool(G4ProcessManager::* f2_GetProcessActivation )(G4int) const = &G4ProcessManager::GetProcessActivation
 

Function Documentation

pyG4ProcessManager::BOOST_PYTHON_FUNCTION_OVERLOADS ( g_GetProcessVector  ,
f_GetProcessVector  ,
,
 
) const
list pyG4ProcessManager::f_GetProcessList ( const G4ProcessManager *  procMgr)

Definition at line 44 of file pyG4ProcessManager.cc.

Referenced by export_G4ProcessManager().

45 {
46  list procList;
47  G4ProcessVector* procVec= procMgr-> GetProcessList();
48  G4int nproc= procVec-> size();
49  for(G4int i=0; i< nproc; i++) {
50  procList.append(&(*procVec)[i]);
51  }
52  return procList;
53 }
list pyG4ProcessManager::f_GetProcessVector ( const G4ProcessManager *  procMgr,
G4ProcessVectorDoItIndex  idx,
G4ProcessVectorTypeIndex  typ = typeGPIL 
)

Definition at line 56 of file pyG4ProcessManager.cc.

References BOOST_PYTHON_FUNCTION_OVERLOADS(), and typ.

Referenced by export_G4ProcessManager().

59 {
60  list procList;
61  G4ProcessVector* procVec= procMgr-> GetProcessVector(idx, typ);
62  G4int nproc= procVec-> size();
63  for(G4int i=0; i< nproc; i++) {
64  procList.append(&(*procVec)[i]);
65  }
66  return procList;
67 }
G4ProcessVectorTypeIndex typ

Variable Documentation

G4bool(G4ProcessManager::* pyG4ProcessManager::f1_GetProcessActivation) (G4VProcess *) const = &G4ProcessManager::GetProcessActivation

Definition at line 158 of file pyG4ProcessManager.cc.

Referenced by export_G4ProcessManager().

G4VProcess*(G4ProcessManager::* pyG4ProcessManager::f1_SetProcessActivation) (G4VProcess *, G4bool) = &G4ProcessManager::SetProcessActivation

Definition at line 152 of file pyG4ProcessManager.cc.

Referenced by export_G4ProcessManager().

G4bool(G4ProcessManager::* pyG4ProcessManager::f2_GetProcessActivation) (G4int) const = &G4ProcessManager::GetProcessActivation

Definition at line 161 of file pyG4ProcessManager.cc.

Referenced by export_G4ProcessManager().

G4VProcess*(G4ProcessManager::* pyG4ProcessManager::f2_RemoveProcess) (G4int) = &G4ProcessManager::RemoveProcess

Definition at line 148 of file pyG4ProcessManager.cc.

Referenced by export_G4ProcessManager().

G4VProcess*(G4ProcessManager::* pyG4ProcessManager::f2_SetProcessActivation) (G4int, G4bool) = &G4ProcessManager::SetProcessActivation

Definition at line 155 of file pyG4ProcessManager.cc.

Referenced by export_G4ProcessManager().

G4ProcessVectorTypeIndex pyG4ProcessManager::typ

Definition at line 74 of file pyG4ProcessManager.cc.

Referenced by f_GetProcessVector().