51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
########################################
|
|
#
|
|
# define scoring mesh
|
|
#
|
|
/score/create/boxMesh boxMesh_1
|
|
#
|
|
/score/mesh/boxSize 100. 100. 100. cm
|
|
/score/mesh/nBin 30 30 30
|
|
#
|
|
/score/quantity/energyDeposit eDep
|
|
/score/quantity/nOfStep nOfStepGamma
|
|
/score/filter/particle gammaFilter gamma
|
|
/score/quantity/nOfStep nOfStepEMinus
|
|
/score/filter/particle eMinusFilter e-
|
|
/score/quantity/nOfStep nOfStepEPlus
|
|
/score/filter/particle ePlusFilter e+
|
|
#
|
|
/score/close
|
|
#
|
|
/score/list
|
|
#
|
|
########################################
|
|
#
|
|
/run/beamOn 100
|
|
#
|
|
########################################
|
|
#
|
|
# drawing projections
|
|
#
|
|
/score/drawProjection boxMesh_1 eDep
|
|
/score/drawProjection boxMesh_1 nOfStepGamma
|
|
/score/drawProjection boxMesh_1 nOfStepEMinus
|
|
/score/drawProjection boxMesh_1 nOfStepEPlus
|
|
#
|
|
########################################
|
|
#
|
|
# drawing slices
|
|
#
|
|
/vis/scene/create
|
|
/vis/sceneHandler/attach scene-2
|
|
/score/colorMap/setMinMax ! 0. 800.
|
|
/control/loop drawSlice.mac iColumn 0 29 7
|
|
#
|
|
########################################
|
|
#
|
|
# Dump scores to a file
|
|
#
|
|
/score/dumpQuantityToFile boxMesh_1 nOfStepGamma nOfStepGamma.txt
|
|
#
|
|
#
|