source: trunk/examples/extended/electromagnetic/TestEm7/tallies.mac @ 1333

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

update

File size: 763 bytes
Line 
1# $Id: tallies.mac,v 1.1 2006/01/30 10:35:33 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  standard       # 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.