Geant4 Cross Reference |
1 # 1 # 2 # Macro file for "TestEm1.cc" 2 # Macro file for "TestEm1.cc" >> 3 # (can be run in batch, without graphic) >> 4 # >> 5 # electron 100 MeV; all processes 3 # 6 # 4 /control/verbose 2 7 /control/verbose 2 5 /control/cout/ignoreThreadsExcept 0 8 /control/cout/ignoreThreadsExcept 0 6 /run/numberOfThreads 2 9 /run/numberOfThreads 2 7 /run/verbose 1 10 /run/verbose 1 8 # 11 # 9 /testem/det/setMat Aluminium 12 /testem/det/setMat Aluminium 10 /testem/det/setSize 10 m 13 /testem/det/setSize 10 m 11 # 14 # 12 /process/em/verbose 0 << 13 /testem/phys/addPhysics emstandard_opt0 15 /testem/phys/addPhysics emstandard_opt0 14 ###/testem/phys/addPhysics local 16 ###/testem/phys/addPhysics local 15 # 17 # 16 /run/setCut 1 mm 18 /run/setCut 1 mm >> 19 /process/eLoss/CSDARange true 17 # 20 # 18 /run/initialize 21 /run/initialize 19 /process/em/printParameters << 20 # << 21 ##/globalField/setValue 0 0 5 tesla 22 ##/globalField/setValue 0 0 5 tesla 22 # 23 # 23 /testem/gun/setDefault 24 /testem/gun/setDefault 24 /gun/particle e- 25 /gun/particle e- 25 /gun/energy 100 MeV 26 /gun/energy 100 MeV 26 # 27 # >> 28 /run/verbose 1 27 /run/printProgress 200 29 /run/printProgress 200 28 /run/beamOn 2000 << 29 # 30 # 30 /gun/particle proton << 31 /run/beamOn 2000 31 /run/beamOn 2000 32 # <<