| Line | |
|---|
| 1 | # $Id: run.mac,v 1.1 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 electron
|
|---|
| 34 | # UIcommands from G4ParticleGun.
|
|---|
| 35 | #
|
|---|
| 36 | /gun/particle gamma
|
|---|
| 37 | #
|
|---|
| 38 | # Kinetic Energy.
|
|---|
| 39 | #/gun/energy 35. keV
|
|---|
| 40 | #/gun/energy 60. keV
|
|---|
| 41 | /gun/energy 356. keV
|
|---|
| 42 | #
|
|---|
| 43 | /gun/position 0 0 -100. cm
|
|---|
| 44 | /gun/direction 0 0 1
|
|---|
| 45 | #
|
|---|
| 46 | /run/beamOn 10
|
|---|
| 47 | #
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.