Files
geant4/examples/extended/runAndEvent/RE03/run4.mac
T
2016-06-10 11:51:14 +02:00

45 lines
1.0 KiB
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
#
/vis/scene/create
/vis/sceneHandler/attach scene-2
/score/colorMap/setMinMax ! 0. 200.
/control/alias iAxis 1
/control/loop drawCylinderSlice.mac iColumn 0 29 7
#