Geant4-11
Functions
source.g4thread Namespace Reference

Functions

def _TBeamOn (self, nevent)
 

Detailed Description

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

Function Documentation

◆ _TBeamOn()

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

Definition at line 17 of file g4thread.py.

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