Files
geant4/examples/extended/runAndEvent/RE02/run3.mac
T
2016-06-09 14:36:02 +02:00

46 lines
866 B
Plaintext

# $Id: run3.mac,v 1.1 2005/11/24 01:44:18 asaim 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 OGLIX
#/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
#