Warning, /geant4/examples/extended/runAndEvent/RE02/run1.mac is written in an unsupported language. File is not indexed.
0001 #
0002 # Macro file for the initialization phase of "exampleRE02.cc"
0003 # when runing in interactive mode
0004 #
0005 # Sets some default verbose
0006 #
0007 /control/verbose 2
0008 /run/verbose 2
0009 #
0010 ## Open a viewer
0011 #/vis/open
0012 ## This opens the default viewer - see examples/basic/B1/vis.mac for a
0013 ## more comprehensive overview of options. Also the documentation.
0014 #
0015 # draw scene
0016 #
0017 #/vis/viewer/set/viewpointThetaPhi 90 180 deg
0018 #/vis/viewer/zoom 1.4
0019 #/vis/viewer/flush
0020 #
0021 # for drawing the tracks
0022 # (if too many tracks cause core dump => storeTrajectory 0)
0023 #/tracking/storeTrajectory 1
0024 #/vis/scene/add/trajectories
0025 # (if you prefer refreshing each event, comment out next line)
0026 #/vis/scene/endOfEventAction accumulate
0027 #
0028 /gun/particle proton
0029 /gun/energy 150. MeV
0030 /gun/position 0 0 -100 cm
0031 /gun/direction 0 0 1
0032 #
0033 /run/beamOn 100000
0034