| Line | |
|---|
| 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 | /run/beamOn 100
|
|---|
| 25 | #
|
|---|
| 26 | ########################################
|
|---|
| 27 | #
|
|---|
| 28 | # drawing projections
|
|---|
| 29 | #
|
|---|
| 30 | /score/drawProjection boxMesh_1 eDep
|
|---|
| 31 | /score/drawProjection boxMesh_1 nOfStepGamma
|
|---|
| 32 | /score/drawProjection boxMesh_1 nOfStepEMinus
|
|---|
| 33 | /score/drawProjection boxMesh_1 nOfStepEPlus
|
|---|
| 34 | #
|
|---|
| 35 | ########################################
|
|---|
| 36 | #
|
|---|
| 37 | # drawing slices
|
|---|
| 38 | #
|
|---|
| 39 | /vis/scene/create
|
|---|
| 40 | /vis/sceneHandler/attach scene-2
|
|---|
| 41 | /score/colorMap/setMinMax ! 0. 800.
|
|---|
| 42 | /control/loop drawSlice.mac iColumn 0 29 7
|
|---|
| 43 | #
|
|---|
| 44 | ########################################
|
|---|
| 45 | #
|
|---|
| 46 | # Dump scores to a file
|
|---|
| 47 | #
|
|---|
| 48 | /score/dumpQuantityToFile boxMesh_1 nOfStepGamma nOfStepGamma.txt
|
|---|
| 49 | #
|
|---|
| 50 | #
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.