Warning, /geant4/examples/advanced/eFLASH_radiotherapy/run.mac is written in an unsupported language. File is not indexed.
0001 #########################
0002 # Set of the verboses
0003 #
0004 /control/verbose 1
0005 /tracking/verbose 0
0006 /run/verbose 1
0007 /event/verbose 0
0008
0009 #########################
0010 # Activate detector array
0011 /changeDetector/activateArray false
0012
0013 ##########################
0014 # Initialisation procedure
0015 #
0016 /run/initialize
0017
0018 # Set a very high time threshold to allow all decays to happen
0019 /process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year
0020
0021 ###########BEAM##############
0022
0023 ##Custom Histogram (ElectronFlash)########################
0024 /control/execute 9MeVEF.mac
0025 #/control/execute 7MeVEF.mac
0026 #########################
0027
0028 # Scoring mesh is used to calculate
0029 # the dose in the water phantom
0030
0031 ##### This scorer compute the depth dose distribution#####
0032 /score/create/boxMesh boxMesh_1
0033
0034 /score/mesh/boxSize 60 2 2 mm
0035 /score/mesh/nBin 120 1 1
0036 /score/mesh/translate/xyz 60 0 0 mm
0037 /score/quantity/doseDeposit dose Gy
0038
0039 /score/close
0040
0041
0042 ##### This scorer compute the lateral dose distribution#####
0043 /score/create/boxMesh boxMesh_2
0044
0045 /score/mesh/boxSize 2 2 75 mm
0046 /score/mesh/nBin 1 1 150
0047 /score/mesh/translate/xyz 13 0 0 mm ## The position is set to 13 mm corresponding to the depth at the maximum dose for 9 MeV electron beams
0048 /score/quantity/doseDeposit dose Gy
0049
0050 /score/close
0051
0052
0053 /score/list
0054
0055 /run/beamOn 200000
0056
0057 /score/dumpQuantityToFile boxMesh_1 dose dose_longitudinal.out
0058 /score/dumpQuantityToFile boxMesh_2 dose dose_transversal.out
0059