source: trunk/examples/extended/runAndEvent/RE02/run2.mac @ 1292

Last change on this file since 1292 was 807, checked in by garnier, 16 years ago

update

File size: 938 bytes
Line 
1# $Id: run2.mac,v 1.2 2006/11/18 01:37:23 asaim Exp $
2#
3# Macro file for "exampleRE02.cc"
4#
5# can be run in batch, without graphic
6# or interactively: Idle> /control/execute run2.mac
7#
8/control/verbose 2
9/run/verbose 2
10#/event/verbose 0
11#/tracking/verbose 1
12#
13#
14#/vis/scene/create
15#
16# Create a scene handler for a specific graphics system
17# (Edit the next line(s) to choose another graphic system)
18#/vis/open OGLIX
19#/vis/open DAWNFILE
20#/vis/open VRML2FILE
21#
22# viewer settings
23#/vis/viewer/set/viewpointThetaPhi 90 180 deg
24#/vis/viewer/zoom 1.4
25#
26# Store trajectory
27#/tracking/storeTrajectory 1
28#/vis/scene/add/trajectories
29#/vis/scene/endOfEventAction accumulate
30#
31#
32#  Beam Parameters
33#  for carbon ion.
34#   UIcommands from G4ParticleGun.
35#
36/gun/particle ion
37/gun/ion 6 12 
38#
39# Kinetic Energy.
40# 195.MeV/u * 12(AtomicMass) = 2340. MeV
41#
42/gun/energy 2340. MeV
43#
44/gun/position 0 0 -100 cm
45/gun/direction 0 0 1
46
47/run/beamOn 10000
48#
Note: See TracBrowser for help on using the repository browser.