Functions
python3.g4thread Namespace Reference

Functions

def _TBeamOn (self, nevent)
 

Detailed Description

# ==================================================================
#   Python module
#
#   Geant4 threading module
#
#                                              Q, 2005
# ==================================================================

Function Documentation

def python3.g4thread._TBeamOn (   self,
  nevent 
)
private

Definition at line 18 of file g4thread.py.

18 def _TBeamOn(self, nevent):
19  "generate events in a thread"
20  args = (nevent,)
21  thread.start_new_thread(self.BeamOn, args)
22 
23 G4RunManager.TBeamOn= _TBeamOn
24 
25 
def _TBeamOn(self, nevent)
Definition: g4thread.py:18