Files
geant4/examples/advanced/brachytherapy/IodiumSourceMacro.mac
T
2016-06-10 11:51:14 +02:00

33 lines
786 B
Plaintext

/control/verbose 1
/tracking/verbose 0
/run/verbose 0
/event/verbose 0
#### Define the geometry of the I-125 source
/source/switch Iodium
###### Generation of primary field
#### Generate gamma deriving from radioactive decay
/control/execute iodine_source_primary.mac
#### ... or generate radioactive decay of iodine
#/control/execute iodine_decay.mac
#
#
# Scoring mesh is used to calculate
# the energy deposition in the phantom
/score/create/boxMesh boxMesh_2
#
# the voxels are 1 mm wide.
/score/mesh/boxSize 15. 15. 15. cm
/score/mesh/nBin 300 300 300
#
/score/quantity/energyDeposit eDep
#
/score/close
#
/score/list
/run/beamOn 1000
#
# Dump scores to a file
#
/score/dumpQuantityToFile boxMesh_2 eDep EnergyDeposition_iodine.out
#