# Macro file for example B1 # # Can be run in batch, without graphic # or interactively: Idle> /control/execute run1.mac # # Change the default number of workers (in multi-threading mode) #/run/numberOfWorkers 4 # # Initialize kernel /run/initialize # /control/verbose 2 /run/verbose 2 /event/verbose 0 /tracking/verbose 1 # # positron 45 GeV to the direction (0.,0.,1.) # /gun/particle e+ /gun/energy 45 GeV # /run/beamOn 5 # # proton 210 MeV to the direction (0.,0.,1.) # #/gun/particle proton #/gun/energy 210 MeV #/tracking/verbose 2 # #/run/beamOn 1