# $Id: proton.mac 105927 2017-08-29 13:25:29Z gcosmo $ # # macro file for TestEm18.cc # /control/verbose 2 /run/verbose 2 # /testem/det/setMat Water /testem/det/setSize 10 cm # /run/setCut 100 um # /run/initialize /process/list # /gun/particle proton /gun/energy 1 GeV # /analysis/setFileName proton # /analysis/h1/set 1 100 0 10 cm #step size /analysis/h1/set 2 100 0 40 MeV #continuous Edeposited /analysis/h1/set 3 100 0 40 MeV #Etransfered by ionisation /analysis/h1/set 6 100 0 40 MeV #total Etransfered /analysis/h1/set 7 100 0 40 MeV #total Elost /analysis/h1/set 8 100 0 40 MeV #energy balance /analysis/h1/set 12 100 0 5 MeV #e- energy spectrum # /run/printProgress 10000 # /run/beamOn 100000