# $Id: run3.mac,v 1.3 2010/06/06 05:16:16 perl Exp $
#
# Macro file for "exampleRE02.cc"
# 
# can be run in batch, without graphic
# or interactively: Idle> /control/execute run2.mac
#
/control/verbose 2
/run/verbose 2
#/event/verbose 0
#/tracking/verbose 1
# 
# 
#/vis/scene/create
#
# Create a scene handler for a specific graphics system
# (Edit the next line(s) to choose another graphic system)
#/vis/open OGL
#/vis/open DAWNFILE
#/vis/open VRML2FILE
#
# viewer settings
#/vis/viewer/set/viewpointThetaPhi 90 180 deg
#/vis/viewer/zoom 1.4
#
# Store trajectory
#/tracking/storeTrajectory 1
#/vis/scene/add/trajectories
#/vis/scene/endOfEventAction accumulate
#
#
#  Beam Parameters
#  for electron
#   UIcommands from G4ParticleGun.
# 
/gun/particle e-
#
# Kinetic Energy.
/gun/energy 30. MeV
#
/gun/position 0 0 -100 cm
/gun/direction 0 0 1
#  
/run/beamOn 10000
#
