Warning, /geant4/examples/basic/B1/run1.mac is written in an unsupported language. File is not indexed.
0001 # Macro file for example B1
0002 #
0003 # Can be run in batch, without graphic
0004 # or interactively: Idle> /control/execute run1.mac
0005 #
0006 # Change the default number of workers (in multi-threading mode)
0007 #/run/numberOfThreads 4
0008 #
0009 # Initialize kernel
0010 /run/initialize
0011 #
0012 /control/verbose 2
0013 /run/verbose 2
0014 /event/verbose 0
0015 /tracking/verbose 1
0016 #
0017 # gamma 6 MeV to the direction (0.,0.,1.)
0018 #
0019 /gun/particle gamma
0020 /gun/energy 6 MeV
0021 #
0022 /run/beamOn 5
0023 #
0024 # proton 210 MeV to the direction (0.,0.,1.)
0025 #
0026 /gun/particle proton
0027 /gun/energy 210 MeV
0028 /tracking/verbose 2
0029 #
0030 /run/beamOn 1