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

35 lines
702 B
Plaintext

# The iridium source is the default option
/control/verbose 1
/tracking/verbose 0
/run/verbose 0
/event/verbose 0
#
# Scoring mesh is used to calculate
# the energy deposition in the phantom
/score/create/boxMesh boxMesh_1
#
/score/mesh/boxSize 15. 15. 15. cm
/score/mesh/nBin 300 300 300
#
/score/quantity/energyDeposit eDep
#
/score/close
#
/score/list
##### Primary radiation Field
# Generate emitted photons
/control/execute iridium_source_primary.mac
#
# Alternatively generated Ir decay
#/control/execute iridium_decay.mac
################################################
/run/beamOn 1000
#
# Dump scores to a file
#
/score/dumpQuantityToFile boxMesh_1 eDep EnergyDeposition_iridium.out
#