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:
760 bytes
|
Line | |
---|
1 | # $Id: tallies.mac,v 1.2 2009/11/21 22:02:51 maire Exp $ |
---|
2 | # |
---|
3 | # Macro file for "TestEm7.cc" |
---|
4 | # (can be run in batch, without graphic) |
---|
5 | # It shows how to introduce simple tallies |
---|
6 | # |
---|
7 | # |
---|
8 | /control/verbose 2 |
---|
9 | /run/verbose 2 |
---|
10 | # |
---|
11 | /testem/det/setMat Water |
---|
12 | /testem/det/setSizeX 20 cm |
---|
13 | /testem/det/setSizeYZ 20 cm |
---|
14 | # |
---|
15 | /testem/det/tallyMat Water |
---|
16 | /testem/det/tallySize 2. 2. 2. mm |
---|
17 | /testem/det/tallyPosition -9.9 0. 0. cm |
---|
18 | /testem/det/tallyPosition -5. 0. 0. cm |
---|
19 | /testem/det/tallyPosition 0. 0. 0. cm |
---|
20 | /testem/det/tallyPosition 5. 0. 0. cm |
---|
21 | # |
---|
22 | /testem/phys/addPhysics local # em physics |
---|
23 | # |
---|
24 | /run/initialize |
---|
25 | # |
---|
26 | /gun/particle proton |
---|
27 | /gun/energy 160 MeV |
---|
28 | # |
---|
29 | # beam size |
---|
30 | /testem/gun/rndm 3 mm |
---|
31 | # |
---|
32 | # limit the step size |
---|
33 | /testem/stepMax 1 mm |
---|
34 | # |
---|
35 | /testem/event/printModulo 1000 |
---|
36 | # |
---|
37 | /run/beamOn 10000 |
---|
Note: See
TracBrowser
for help on using the repository browser.