Last change
on this file since 1339 was
1337,
checked in by garnier, 14 years ago
|
tag geant4.9.4 beta 1 + modifs locales
|
File size:
935 bytes
|
Rev | Line | |
---|
[1337] | 1 | # $Id: run2.mac,v 1.3 2010/06/06 05:16:16 perl Exp $ |
---|
[807] | 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) |
---|
[1337] | 18 | #/vis/open OGL |
---|
[807] | 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.