Loading...
Searching...
No Matches
run1.mac
Go to the documentation of this file.
1########################################
2#
3# define scoring mesh
4#
5/score/create/boxMesh boxMesh_1
6#
7/score/mesh/boxSize 100. 100. 100. cm
8/score/mesh/nBin 30 30 30
9#
10/score/quantity/energyDeposit eDep
11/score/quantity/nOfStep nOfStepGamma
12/score/filter/particle gammaFilter gamma
13/score/quantity/nOfStep nOfStepEMinus
14/score/filter/particle eMinusFilter e-
15/score/quantity/nOfStep nOfStepEPlus
16/score/filter/particle ePlusFilter e+
17#
18/score/close
19#
20/score/list
21#
22########################################
23#
24/vis/disable
25/control/verbose 2
26/run/verbose 1
27#######/event/verbose 1
28#######/tracking/verbose 1
29#######/vis/verbose confirmations
30/gun/particle e-
31/run/beamOn 2000
32/vis/enable
33#
34########################################
35#
36# drawing projections
37#
38/score/drawProjection boxMesh_1 eDep
39/score/drawProjection boxMesh_1 nOfStepGamma
40/score/drawProjection boxMesh_1 nOfStepEMinus
41/score/drawProjection boxMesh_1 nOfStepEPlus
42#
43########################################
44#
45# drawing slices
46#
47# new scene and viewer
48/vis/open
49# This opens the default viewer - see examples/basic/B1/vis.mac for a
50# more comprehensive overview of options. Also the documentation.
51/vis/drawVolume world
52/vis/viewer/copyViewFrom viewer-0
53/score/colorMap/setMinMax ! 0. 800.
54/control/loop drawSlice.mac iColumn 0 29 7
55#
56########################################
57#
58# Dump scorers to a file
59#
60/score/dumpQuantityToFile boxMesh_1 nOfStepGamma nOfStepGamma.txt
61#
62#

Applications | User Support | Publications | Collaboration