61 lines
1.3 KiB
Plaintext
61 lines
1.3 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
|
|
#
|
|
########################################
|
|
#
|
|
/vis/disable
|
|
/control/verbose 2
|
|
/run/verbose 1
|
|
#######/event/verbose 1
|
|
#######/tracking/verbose 1
|
|
#######/vis/verbose confirmations
|
|
/gun/particle e-
|
|
/run/beamOn 2000
|
|
/vis/enable
|
|
#
|
|
########################################
|
|
#
|
|
# drawing projections
|
|
#
|
|
/score/drawProjection boxMesh_1 eDep
|
|
/score/drawProjection boxMesh_1 nOfStepGamma
|
|
/score/drawProjection boxMesh_1 nOfStepEMinus
|
|
/score/drawProjection boxMesh_1 nOfStepEPlus
|
|
#
|
|
########################################
|
|
#
|
|
# drawing slices
|
|
#
|
|
# new scene and viewer
|
|
/vis/open OGL
|
|
/vis/drawVolume world
|
|
/vis/viewer/copyViewFrom viewer-0
|
|
/score/colorMap/setMinMax ! 0. 800.
|
|
/control/loop drawSlice.mac iColumn 0 29 7
|
|
#
|
|
########################################
|
|
#
|
|
# Dump scorers to a file
|
|
#
|
|
/score/dumpQuantityToFile boxMesh_1 nOfStepGamma nOfStepGamma.txt
|
|
#
|
|
#
|