Files
geant4/examples/advanced/eFLASH_radiotherapy/run.mac
T
2023-12-08 10:43:34 +01:00

44 lines
856 B
Plaintext

#########################
# Set of the verboses
#
/control/verbose 1
/tracking/verbose 0
/run/verbose 1
/event/verbose 0
##########################
# Initialisation procedure
#
/run/initialize
# Set a very high time threshold to allow all decays to happen
/process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year
###########BEAM##############
##Custom Histogram (ElectronFlash)########################
/control/execute 9MeVEF.mac
#/control/execute 7MeVEF.mac
#########################
# Scoring mesh is used to calculate
# the dose in the phantom
/score/create/boxMesh boxMesh_1
# scorer for dose in water phantom
/score/mesh/boxSize 60 2 2 mm
/score/mesh/nBin 120 1 1
/score/mesh/translate/xyz 60 0 0 mm
/score/quantity/doseDeposit dose Gy
/score/close
/score/list
/run/beamOn 500000
/score/dumpQuantityToFile boxMesh_1 dose dose.out