# define scoring mesh # ###### Generation of primary field #### Generate gamma deriving from radioactive decay # Scoring mesh is used to calculate # the dose deposition in the phantom #the voxels are 2 mm wide. /score/create/cylinderMesh boxMesh_1 # /score/mesh/cylinderSize 3.25 7.5 cm /score/mesh/translate/xyz 0.1 0.1 0.0 cm /score/mesh/nBin 17 37 37 # /score/quantity/doseDeposit dose # /score/close # #/vis/disable # #=========================================== /score/create/boxMesh boxMesh_2 # /score/mesh/boxSize 0.5 0.5 0.5 cm /score/mesh/translate/xyz 0 1.0 0 cm /score/mesh/nBin 5 5 5 # /score/quantity/doseDeposit dose # /score/close # #/vis/disable # #============================================== /score/create/cylinderMesh boxMesh_3 /score/mesh/cylinderSize 2 5 cm /score/mesh/translate/xyz 0 6.0 0 cm /score/mesh/nBin 10 25 25 /score/quantity/doseDeposit dose # /score/close # #/vis/disable # #============================================= /score/create/cylinderMesh boxMesh_4 /score/mesh/cylinderSize 3.175 10 cm /score/mesh/translate/xyz 0 -11.6 0 cm /score/mesh/nBin 15 50 50 /score/quantity/doseDeposit dose # /score/close # /score/list # #/vis/disable # /control/execute run1.mac # # Dump scores to a file # /score/dumpQuantityToFile boxMesh_1 dose dose1-SoftTissue.txt /score/dumpQuantityToFile boxMesh_2 dose dose2-SoftTissue.txt /score/dumpQuantityToFile boxMesh_3 dose dose3-SoftTissue.txt /score/dumpQuantityToFile boxMesh_4 dose dose4-SoftTissue.txt # ######################################## # # drawing projections # /score/drawProjection boxMesh_1 dose /score/drawProjection boxMesh_2 dose /score/drawProjection boxMesh_3 dose /score/drawProjection boxMesh_4 dose