Geant4 Cross Reference |
1 # macro file for TestEm5.cc 1 # macro file for TestEm5.cc 2 # 2 # 3 /control/verbose 2 3 /control/verbose 2 4 /run/verbose 2 4 /run/verbose 2 5 # 5 # 6 /testem/det/setAbsMat Tungsten 6 /testem/det/setAbsMat Tungsten 7 /testem/det/setAbsThick 3 mm 7 /testem/det/setAbsThick 3 mm 8 /testem/det/setAbsYZ 10 mm 8 /testem/det/setAbsYZ 10 mm 9 # 9 # 10 /testem/phys/addPhysics local 10 /testem/phys/addPhysics local 11 ###/testem/phys/addPhysics emstandard_opt3 11 ###/testem/phys/addPhysics emstandard_opt3 12 /run/setCut 100 um << 12 /testem/phys/setCuts 100 um >> 13 ###/run/setCut 100 um 13 # 14 # 14 /run/initialize 15 /run/initialize 15 # 16 # 16 ###/process/em/fluo true 17 ###/process/em/fluo true 17 # 18 # 18 /testem/gun/setDefault 19 /testem/gun/setDefault 19 /gun/particle e- 20 /gun/particle e- 20 /gun/energy 6 MeV 21 /gun/energy 6 MeV 21 # 22 # 22 /analysis/setFileName gammaSpectrum 23 /analysis/setFileName gammaSpectrum 23 /analysis/h1/set 3 200 0.01 10 MeV #gamma: 24 /analysis/h1/set 3 200 0.01 10 MeV #gamma: energy at vertex 24 /analysis/h1/set 5 200 0.01 10 MeV log10 #gam 25 /analysis/h1/set 5 200 0.01 10 MeV log10 #gamma: energy at vertex (log10) 25 /analysis/h1/set 20 200 0 6 MeV #gamma: en 26 /analysis/h1/set 20 200 0 6 MeV #gamma: energy at exit 26 /analysis/h1/set 40 200 0 6 MeV #gamma: en 27 /analysis/h1/set 40 200 0 6 MeV #gamma: energy at back 27 # 28 # 28 /run/printProgress 10000 << 29 /testem/event/printModulo 10000 29 # 30 # 30 /run/beamOn 100000 31 /run/beamOn 100000