46 lines
873 B
Plaintext
46 lines
873 B
Plaintext
# $Id: run3.mac,v 1.2 2006/11/18 01:37:23 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
|
|
#
|