From 78c40dd0a0a5046d610f86deaa9b30d860370360 Mon Sep 17 00:00:00 2001 From: faddegon Date: Wed, 22 Feb 2023 14:51:09 -0800 Subject: [PATCH] Update MainTxHead.txt --- examples/MVLinac/MainTxHead.txt | 103 +++++++++++++++++--------------- 1 file changed, 54 insertions(+), 49 deletions(-) diff --git a/examples/MVLinac/MainTxHead.txt b/examples/MVLinac/MainTxHead.txt index 3d7c5f6..1b15daf 100644 --- a/examples/MVLinac/MainTxHead.txt +++ b/examples/MVLinac/MainTxHead.txt @@ -1,41 +1,46 @@ -# This is the top-level TOPAS parameter control file used to simulate a linear -# accelerator treatment head. The linac is modeled after a Siemens Oncor machine. -# -# The exit window, target and monitor chamber are largely from Jabbari et al, -# "Monte Carlo simulation of Siemens ONCOR linear accelerator with BEAMnrc and -# DOSXYnrc code," J Med Signals & Sensors, 3(3):172-9, 2013. -# -# The water channel thickness in the exit window, source details and the rest -# of the geometry are from Sawkey and Faddegon, "Simulation of large x-ray fields -# using independently measured source and geometry details," Med Phys 36(12):5622-32 -# and references therein, supplemented with direct measurement. -# -# Treatment head components are positioned at distance from source according to SAD. +# This is the top-level TOPAS parameter control file used to simulate a linear +# accelerator treatment head. The linac is modeled after a Siemens Oncor machine. # -# Example prepared by KyungDon Choi, Jose Ramos Mendez and Bruce Faddegon. May 28, 2021. - -# Uncomment one and only one of the following four includeFile lines: -includeFile = FullTxHeadField.txt -#includeFile = FixedTxHead.txt -#includeFile = Field.txt -#includeFile = TestComponent.txt -# -# FullTxHeadField.txt -# Simulates the full treatment head, from the exit window of the waveguide -# through to the isocenter. Does not contain any scoring. -# -# FixedTxHead.txt -# Simulates the fixed components of the treatment head from the exit window -# to just upstream of the jaws. Scores phase space. -# -# Field.txt -# Simulates the movable components of the treatment head, including Gantry, -# collimator angle, jaw and MLC leaves. Scores dose distributions. -# -# TestComponent.txt -# Displays one or more of the linac components in the GUI. - -# The above four includeFiles in turn include one or more of the following: +# The exit window, target and monitor chamber are largely from Jabbari et al, +# "Monte Carlo simulation of Siemens ONCOR linear accelerator with BEAMnrc and +# DOSXYnrc code," J Med Signals & Sensors, 3(3):172-9, 2013. +# +# The water channel thickness in the exit window, source details and the rest +# of the geometry are from Sawkey and Faddegon, "Simulation of large x-ray fields +# using independently measured source and geometry details," Med Phys 36(12):5622-32 +# and references therein, supplemented with direct measurement. +# +# Treatment head components are positioned at distance from source according to SAD. +# +# Example prepared by KyungDon Choi, Jose Ramos Mendez and Bruce Faddegon. May 28, 2021. + +# Uncomment one and only one of the following four includeFile lines: +includeFile = FullTxHead.txt +#includeFile = FixedTxHead.txt +#includeFile = Field.txt +#includeFile = TestComponent.txt +# +# FullTxHead.txt +# Simulates the full treatment head, from the exit window of the waveguide +# through to the isocenter. Change gantry, collimator and couch angles and +# field size settings from defaults set in the includeFile files included +# in FullTxHead.txt. Does not contain any scoring. +# +# FixedTxHead.txt +# Simulates the fixed components of the treatment head from the exit window +# to just upstream of the jaws. Scores phase space. +# +# Field.txt +# Simulates the movable components of the treatment head, including Gantry, +# collimator angle, jaw and MLC leaves. Change gantry, collimator and couch +# angles and field size settings from defaults set in the includeFile files +# included in Field.txt. Scores dose distributions. +# +# TestComponent.txt +# Displays one or more of the linac components in the GUI. Change parameter +# values in the includeFile files (these contain the default values). + +# The above four includeFiles in turn include one or more of the following: # Target.txt: Exit window and target # Flattener.txt: Primary collimator and flattening filter # Monitor.txt: Monitor chamber @@ -46,7 +51,7 @@ includeFile = FullTxHeadField.txt # Pelvis.txt: DICOM pelvic phantom # LinacDefaults.txt: Default field and patient specific parameters -# Parameter Descriptions +# Parameter Descriptions # IEC 61217 co-ordinates are used in this example. See the TOPAS user guide for details # Axis names Xa, Ya, Za, rotation angles RotXa, RotYa, RotZa "a" from IEC as follows: # Fixed system IEC_F, parent Geant4 world - e.g. Xf; (Xf,Yf,Zf) is world (-Z,-X,Y) @@ -59,7 +64,7 @@ includeFile = FullTxHeadField.txt # HLX/Y/Z: half length of X/Y/Z axes # TransX/Y/Z: translation of X/Y/Z axes relative to co-ordinates of parent # RotX/Y/Z: rotation of X/Y/Z axes relative to co-ordinates of parent - + # The parameters in this TOPAS control file need not be changed. # Parameters the user may wish to adjust are in the includeFile included above. @@ -67,14 +72,14 @@ includeFile = FullTxHeadField.txt iv:Gr/Color/TransparentRed = 4 255 0 255 200 iv:Gr/Color/TransparentBlue = 4 0 0 255 200 -s:Gr/ViewA/Type = "OpenGL" -i:Gr/ViewA/WindowSizeX = 1400 -i:Gr/ViewA/WindowSizeY = 700 -u:Gr/ViewA/Zoom = 1.0 -d:Gr/ViewA/Theta = 89 deg -d:Gr/ViewA/Phi = -90 deg -b:Gr/ViewA/IncludeAxes = "True" -d:Gr/ViewA/AxesSize = 10 cm +s:Gr/ViewA/Type = "OpenGL" +i:Gr/ViewA/WindowSizeX = 1400 +i:Gr/ViewA/WindowSizeY = 700 +u:Gr/ViewA/Zoom = 1.0 +d:Gr/ViewA/Theta = 89 deg +d:Gr/ViewA/Phi = -90 deg +b:Gr/ViewA/IncludeAxes = "True" +d:Gr/ViewA/AxesSize = 10 cm # Geometry s:Ge/World/Material = "Air" @@ -117,7 +122,7 @@ d:Ge/IEC_S/TransZ = 0. m # Physics sv:Ph/Default/Modules = 1 "g4em-standard_opt4" -# Overall TOPAS control -Ts/NumberOfThreads = 1 # Change to 0 to use all available threads +# Overall TOPAS control +Ts/NumberOfThreads = 1 # Change to 0 to use all available threads b:Ts/ShowCPUTime = "True" b:Ts/PauseBeforeQuit = Gr/Enable