Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Functions | Variables
Lesson2Wx Namespace Reference

Data Structures

class  Adjuster
 
class  ComPanel
 
class  Counter
 
class  FloatCounter
 
class  MyApp
 
class  MyText
 
class  Processes
 
class  SelectOne
 
class  VisPanel
 

Functions

def DumpTree
 

Variables

tuple rand_engine = Ranlux64Engine()
 
tuple exN03geom = g4py.ExN03geom.ExN03DetectorConstruction()
 
tuple exN03PL = g4py.ExN03pl.PhysicsList()
 
tuple pg = g4py.ParticleGun.Construct()
 
tuple heprepViewer = os.environ.get("G4HEPREPFILE_VIEWER")
 
tuple heprepDir = os.environ.get("G4HEPREPFILE_DIR")
 
tuple heprepName = os.environ.get("G4HEPREPFILE_NAME")
 
tuple vrmlDir = os.environ.get("G4VRML_DEST_DIR")
 
tuple vrmlViewer = os.environ.get("G4VRMLFILE_VIEWER")
 
dictionary commandDic = {}
 
list commandList = []
 
tuple app = wx.PySimpleApp(False)
 

Function Documentation

def Lesson2Wx.DumpTree (   atree)

Definition at line 136 of file Lesson2Wx.py.

137 def DumpTree(atree):
138 
139  ntree= atree.GetTreeEntry()
140  ncommand= atree.GetCommandEntry()
141  for i in range(1, ncommand+1):
142  icommand= atree.GetCommand(i)
143  command = str( icommand.GetCommandPath())
144  commandList.append(command)
145  nparameter= icommand.GetParameterEntries()
146  pguide = ""
147  for j in range(0, nparameter):
148  iparam= icommand.GetParameter(j)
149  pguide = pguide + "Parameter: " + str(iparam.GetParameterName())+ " Type: " + str(iparam.GetParameterType()) + '\n'
150  guide = str(icommand.GetTitle()) + '\n' + pguide
151  commandDic[command] = guide
152 
153  for i in range(1, ntree+1):
154  itree= atree.GetTree(i)
155  DumpTree(itree)
156 
157 
158 root_tree= gUImanager.GetTree()
159 DumpTree(root_tree)
160 
161 
162 
def DumpTree
Definition: Lesson2Wx.py:136

Variable Documentation

tuple Lesson2Wx.app = wx.PySimpleApp(False)

Definition at line 598 of file Lesson2Wx.py.

dictionary Lesson2Wx.commandDic = {}

Definition at line 133 of file Lesson2Wx.py.

list Lesson2Wx.commandList = []

Definition at line 134 of file Lesson2Wx.py.

tuple Lesson2Wx.exN03geom = g4py.ExN03geom.ExN03DetectorConstruction()

Definition at line 39 of file Lesson2Wx.py.

tuple Lesson2Wx.exN03PL = g4py.ExN03pl.PhysicsList()

Definition at line 54 of file Lesson2Wx.py.

tuple Lesson2Wx.heprepDir = os.environ.get("G4HEPREPFILE_DIR")

Definition at line 108 of file Lesson2Wx.py.

tuple Lesson2Wx.heprepName = os.environ.get("G4HEPREPFILE_NAME")

Definition at line 109 of file Lesson2Wx.py.

tuple Lesson2Wx.heprepViewer = os.environ.get("G4HEPREPFILE_VIEWER")

Definition at line 107 of file Lesson2Wx.py.

tuple Lesson2Wx.pg = g4py.ParticleGun.Construct()

Definition at line 70 of file Lesson2Wx.py.

tuple Lesson2Wx.rand_engine = Ranlux64Engine()

Definition at line 22 of file Lesson2Wx.py.

tuple Lesson2Wx.vrmlDir = os.environ.get("G4VRML_DEST_DIR")

Definition at line 115 of file Lesson2Wx.py.

tuple Lesson2Wx.vrmlViewer = os.environ.get("G4VRMLFILE_VIEWER")

Definition at line 116 of file Lesson2Wx.py.