Files
2018-06-29 10:58:11 +02:00

43 lines
1007 B
Plaintext

########################################
#
# define cylindrical scoring mesh
#
# IMPORTANT:
# Currently, we identify a problem if a track
# enters the cylindrical mesh at exactly the
# center of the top/bottom circlic face exactly
# along the local z-axis of the cylinder.
# To avoid this, we place the mesh slightly
# offset from the origin.
#
/score/create/cylinderMesh boxMesh_1
#
/score/mesh/cylinderSize 100. 100. cm
/score/mesh/translate/xyz 0.1 0.1 0.0 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
/run/beamOn 2000
/vis/enable
#
########################################
#
# drawing slices
#
/score/colorMap/setMinMax ! 0. 200.
/control/alias iAxis 1
/control/loop drawCylinderSlice.mac iColumn 0 29 7
#