/run/initialize /vis/open OGL 800x800-0+0 #/vis/open VRML2FILE /vis/viewer/set/viewpointVector 1 1 1 /vis/viewer/set/autoRefresh true /vis/drawVolume /vis/scene/add/trajectories smooth /vis/scene/endOfEventAction accumulate #/vis/scene/add/scale 10 cm #/vis/scene/add/axes #/vis/scene/add/eventID /tracking/verbose 2 # Define particle source /gun/particle geantino /gun/energy 15 MeV # Set the initial position of the particle gun if needed /gun/position 0 0 -0.25 m # Set the direction of the particle gun (pointing along the z-axis) /gun/direction 0 0 1 # Set the number of particles to be shot /run/beamOn 10