- Department of Radiological Sciences, College of Applied Medical Sciences, Najran University, Najran, Saudi Arabia
Introduction: The accuracy of dose delivery in radiotherapy is paramount to maximize tumor control while minimizing damage to surrounding healthy tissues. This study presents a comprehensive analysis of gamma index validation in the treatment of cancerous tumors using Monte Carlo simulations with GAMOS and GATE codes on a Varian medical linear accelerator. By leveraging the MC method’s robust statistical capabilities, the precision of dose distributions in external radiotherapy is aimed to be enhanced. The study specifically evaluates the effects of different field sizes and percentage depth dose (PDD) to provide a thorough validation framework.
Methods: The GAMOS and GATE codes were implemented to simulate dose distributions within various phantom models, including water and anthropomorphic phantoms. These simulations were conducted using a Varian linear accelerator with a 6 and 12 megavoltage photon beams. The dose distributions obtained from the simulations were then compared against those calculated by the treatment planning system (TPS) using the gamma index method with 3%/3mm criteria.
Results and discussion: The results demonstrated a high degree of accuracy in the simulated dose distributions, with gamma index pass rates exceeding 94% for most configurations. The comparative analysis between GAMOS and GATE showed consistent performance, with minor deviations attributable to differences in the underlying simulation algorithms. Furthermore, the study revealed significant insights into the impact of varying field sizes on dose distribution accuracy. The PDD analysis indicated that both GAMOS and GATE could reliably reproduce the TPS-calculated dose profiles, with deviations within clinically acceptable limits. These findings underscore the potential of MC simulations to improve the accuracy and reliability of radiotherapy treatment plans. By validating the gamma index for different field sizes and PDD, this study provides a robust framework for enhancing treatment efficacy and patient safety in clinical practice. The integration of GAMOS and GATE in routine clinical workflows could lead to more precise and individualized radiotherapy treatments, ultimately improving patient outcomes.
1 Introduction
Radiotherapy is a pivotal modality in cancer treatment, with the primary goal of delivering a precise dose of radiation to malignant tissues while minimizing exposure to surrounding healthy structures (1). The efficacy of radiotherapy hinges on the accurate delivery of the planned dose to the target volume. Any deviation from the planned dose can adversely impact treatment outcomes, leading to suboptimal tumor control or unnecessary side effects. The challenge of accurately delivering radiation doses is addressed through various quality assurance (QA) methodologies (2). One of the most effective QA tools is the gamma index, which evaluates the agreement between the planned and delivered dose distributions (3). This metric combines dose difference and distance-to-agreement criteria, providing a comprehensive assessment of dosimetric accuracy (4). The gamma index method is especially valuable for its ability to simultaneously account for both spatial and dosimetric discrepancies (5).
MC simulations have gained prominence in radiotherapy QA due to their superior accuracy in modeling the complex interactions of radiation with matter (5). Unlike conventional dose calculation algorithms, MC methods simulate the stochastic processes involved in radiation transport, providing a more detailed and precise representation of dose distributions (6). The use of MC simulations is particularly beneficial in complex scenarios involving heterogeneous media and irregular geometries, where traditional algorithms may fall short. This study leverages two advanced MC simulation tools GAMOS and GATE to validate the gamma index in the context of external beam radiotherapy (7). Both GAMOS and GATE are built on the Geant4 toolkit, renowned for its robustness and flexibility in simulating particle interactions. GAMOS is tailored for medical physics applications (8), offering extensive features for dose calculation and phantom modeling. GATE, on the other hand, provides high accuracy for imaging and radiotherapy simulations, making it a valuable tool for dose verification (9).
The Varian linear accelerator (10), a widely used clinical machine, serves as the radiation source in this study. This linear accelerator, equipped with a 6 and 12 megavoltage photon beams, is representative of common clinical equipment, ensuring that the findings are applicable to real-world radiotherapy practices (11). By modeling this equipment, the study aims to evaluate the accuracy of dose delivery across different field sizes and depth dose distributions (12). Field size variations and PDD are critical factors influencing dose distribution. Field size affects the dose profile, and accurate modeling of various field sizes is essential for comprehensive QA. PDD curves, which describe the dose delivered at varying depths within a phantom, are used to evaluate the penetration and distribution of the radiation beam. Accurate PDD modeling ensures that the dose is appropriately distributed throughout the target volume and surrounding tissues (13).
In this study, dose distributions are simulated using GAMOS and GATE for various field sizes and depths in water and anthropomorphic phantoms (14). These simulated distributions are compared with those calculated by the treatment planning system (TPS) using the gamma index method (15). The comparison is performed using a 3% dose difference and 3 mm distance-to-agreement criteria, which are standard in clinical QA (16).
The primary objectives of this research are to validate the gamma index for different field sizes and percentage depth dose using MC simulations and to assess the consistency and reliability of GAMOS and GATE in reproducing TPS-calculated dose distributions (8). By providing a thorough comparison of simulated and planned doses, this study aims to enhance the accuracy of radiotherapy treatments and contribute to improved patient outcomes (13).
Overall, this research underscores the importance of precise dose verification in radiotherapy and highlights the role of advanced MC simulations in achieving high-quality treatment delivery. By integrating rigorous QA methodologies with state-of-the-art simulation tools, this study aims to advance the field of radiotherapy and support the ongoing efforts to optimize cancer treatment protocols.
2 PDD in radiation therapy
PDD is a critical parameter in radiation therapy dosimetry that describes the relative dose delivered at different depths in a medium, typically a water phantom (17), along the central axis of the radiation beam (18), as shown in Figure 1. It is defined as the ratio of the dose at a specific depth to the dose at a reference depth (usually the maximum dose depth), expressed as a percentage (19). PDD is crucial for understanding how radiation dose attenuates with depth, which directly influences treatment planning and delivery (20) as shown in Equation 1 (29).
where:
DQ and : represent the dose and dose rate at point Q at depth z on the central axis of the phantom.

Figure 1. Typical dose distribution along the central axis of a photon beam (28).
DP and : represent the dose and dose rate at point P at zmax on the central axis of the phantom.
Percentage Depth Dose curves are essential for treatment planning as they provide information on how the dose is distributed within the patient’s body (21). This helps in determining the appropriate beam energy and field size to ensure the tumor receives the prescribed dose while minimizing exposure to surrounding healthy tissues (22). PDD curves are also used to characterize the quality of the radiation beam, with higher energy beams exhibiting deeper penetration reflected in their PDD curves. This information is vital for selecting the appropriate beam energy for different treatment sites (23). Furthermore, PDD values are used in dose calculation algorithms to estimate the dose distribution within the patient, making accurate dose calculations crucial for effective treatment (24). The deposition of dose in a patient from a megavoltage photon beam involves several key measurements. Ds is the surface dose at the entry point of the beam, while Dex is the surface dose at the exit point. The maximum dose, Dmax, is often normalized to 100, resulting in a depth dose curve known as the PPD distribution. The area between z = 0 and = z = zmax is referred to as the dose build-up region.
The PDD distribution can be divided into several key areas:
1. Build-up Region: This region extends from the surface to the depth of maximum dose () (12). In this area, the dose increases with depth due to the build-up effect, where secondary electron interactions contribute to the dose increase. This initial rise in dose is crucial for skin sparing, which is particularly important in treating superficial tumors without causing excessive skin damage (25).
2. Maximum Dose Depth: This is the depth at which the maximum dose is deposited (17). This point is critical as it represents the peak dose delivered by the beam and is used as the reference for calculating PDD. The location of helps in aligning the beam to ensure the tumor, typically located at some depth within the body, receives the maximum possible dose (26).
3. Beyond: Beyond the maximum dose depth, the dose starts to decrease with increasing depth due to attenuation and scattering of the radiation beam as it travels deeper into the medium. The slope of the PDD curve in this region indicates the beam’s penetration capability and the rate of dose fall-off. A steeper fall-off is desirable to minimize the dose to deeper healthy tissues (25).
4. Tail Region: This is the region at greater depths where the dose continues to fall off, eventually approaching zero. This area indicates the extent of beam penetration and the residual dose at deeper tissues. Understanding the tail of the PDD curve helps in assessing the dose delivered to distant tissues and ensuring that it is within safe limits (13).
Overall, PDD is a fundamental concept in radiotherapy dosimetry, providing essential insights into the dose distribution within the patient’s body and guiding the optimization of treatment plans for effective and safe cancer treatment.
3 Dose profile in radiation therapy
In radiation therapy, the dose profile is a fundamental tool that depicts how radiation dose is distributed across a plane perpendicular to the central axis of the treatment beam (17). This profile provides critical insights into the uniformity, symmetry, and sharpness of the radiation field, all of which are crucial for ensuring effective treatment outcomes while minimizing damage to healthy tissues (19).
The dose profile D(x) is defined as a function of the lateral position x, where D(x) represents the dose at a specific point and f(x) describes the distribution of dose across the beam width. Understanding this distribution helps radiation oncologists and physicists optimize treatment plans to deliver a consistent dose to the tumor while sparing surrounding healthy tissues from excessive radiation exposure (22).
Importance of Different Parameters:
1. Symmetry: Symmetry in the dose profile ensures that the radiation beam is evenly distributed on both sides of the central axis. This balance is crucial to prevent unintended under-dosing of tumor regions or over-dosing of healthy tissues. Mathematically, symmetry is evaluated by comparing dose values at points equidistant from the central axis as shown in the Equation 2. Maintaining symmetry ensures uniform treatment delivery and enhances treatment precision.
2. Flatness: Dose flatness refers to the uniformity of the dose across the central region of the beam, typically within the central 80% of the field width. It is calculated as the ratio of the difference to the sum of maximum and minimum doses in this region, as in the Equation 3. Flatness is essential to ensure that the entire tumor volume receives a consistent dose (20), minimizing the risk of hot spots (areas with excessively high dose) or cold spots (areas with insufficient dose). Achieving optimal flatness enhances treatment efficacy by delivering a uniform dose throughout the tumor volume (22).
where:
Dmax & Dmin: are the maximum and minimum dose, respectively.
3. Penumbra: The penumbra is the transition region between the high-dose region (typically the treatment field) and the low-dose region outside the field. It characterizes how sharply the dose falls off from the high-dose area to the surrounding low-dose area (27). A narrow penumbra indicates a sharp dose gradient, which is desirable as it limits radiation exposure to adjacent healthy tissues. Conversely, a broad penumbra results in a gradual dose falloff, potentially increasing the risk of irradiating healthy tissues. Precise measurement and optimization of the penumbra ensure that the radiation field conforms closely to the tumor shape, reducing unnecessary exposure to healthy tissues (28). The geometric penumbra is given by the Equation 4:
where:
s: is the source size.
SS D:is source to surface distance.
S DD:is source to diaphragm distance.
d: is depth of dose.
Hence, dose profile analysis, focusing on symmetry, flatness, and penumbra, is essential for optimizing radiation therapy. It enables clinicians to tailor treatment plans to deliver precise and effective radiation doses, ensuring maximum tumor control while minimizing side effects to surrounding healthy tissues. This meticulous approach enhances treatment outcomes and improves patient care in radiation oncology practice.
4 GATE code
GATE is a versatile MC simulation toolkit tailored for the medical physics community (7). Built on the robust GEANT4 libraries, GATE provides an adaptable and user-friendly platform for simulating a variety of medical imaging and therapy systems, including linear accelerators (Linacs) (15). The primary objective of utilizing GATE in the context of a Linac linear accelerator is to accurately simulate the physical processes involved in radiation therapy (14). This includes detailed modeling of beam generation, transport, and interactions with tissues, thereby optimizing treatment plans and enhancing therapeutic efficacy while minimizing adverse effects (16). GATE’s modular framework encapsulates GEANT4 libraries, making it highly adaptable for various applications in nuclear medicine. It includes several hundred C++ classes organized into core and application layers, facilitating complex simulations without requiring extensive C++ programming knowledge (29). A dedicated macro language extends GEANT4’s native command interpreter, enabling users to perform and control simulations via scripting (30). This scripting capability allows for automated and reproducible simulations, which are essential for scientific research and clinical practice Hrbacek et al. (31).
GATE’s innovative approach to modeling time-dependent phenomena is crucial for Linac simulations, where synchronization of moving parts and temporal aspects of radiation delivery are vital (32). The simulation is divided into time-steps to accurately model decay kinetics and geometrical movements, ensuring realistic simulation of dynamic processes. The application layer supports user-defined geometrical volumes and operations, essential for modeling complex Linac components and patient anatomies (33). GATE can simulate detailed detector responses, including electronic effects such as cross-talk, energy resolution, and trigger efficiency, providing realistic output data (34).
GATE includes well-validated physics models inherited from GEANT4, ensuring high accuracy in simulating particle interactions and energy deposition. Continuous testing and validation against commercial imaging systems and experimental data help maintain the reliability of the simulations.
4.1 Application to Linac linear accelerator
GATE simulates the generation and transport of photon and electron beams within the Linac (10), considering the complex geometries of beam-shaping devices such as collimators and multileaf collimators (MLCs). The simulation includes modeling primary and secondary particle interactions within the accelerator head and along the beam path (11). Using CT-based patient models, GATE calculates 3D dose distributions within the patient, allowing for precise dosimetry tailored to individual treatment plans. The toolkit supports various tissue compositions and densities, providing accurate dose calculations for heterogeneous tissues (35). Photon beam simulations in patient CT images to generate 3D dose distribution maps, comparing different navigators and materials. IMRT (Intensity-Modulated Radiation Therapy) simulations with varying MLC positions to optimize beam delivery (6). Comparisons of GATE simulations with experimental measurements and other simulation tools to ensure accuracy and reliability. Studies demonstrating the effectiveness of GATE in replicating clinical scenarios and improving treatment planning (36).
GATE aids in optimizing treatment plans by simulating different irradiation scenarios and their effects on tumors and surrounding healthy tissues. The simulation results can be used to refine treatment parameters, enhancing therapeutic outcomes while minimizing side effects.
5 GAMOS code
GAMOS is a MC simulation framework built on the Geant4 toolkit (7), designed to facilitate complex medical simulations with minimal coding effort (16). GAMOS provides a flexible, user friendly environment that enables users to conduct detailed simulations without requiring extensive knowledge of C++ or Geant4, making it accessible to a broader range of users, including those with limited programming expertise (14).
A defining feature of GAMOS is its plug-in architecture, which enhances flexibility and ease of use (37). This architecture allows users to dynamically load and combine different simulation components (geometry, physics, user actions, histograms, etc.) without recompiling the code (9). Users specify the components to be used in a text input file, enabling seamless integration and customization. The plug-in system is implemented using the CERN package ROOT, which manages the dynamic loading of components (38). This approach is analogous to web browser plug-ins that extend functionality without needing to modify or recompile the browser itself. GAMOS includes several tools designed to help users understand and optimize their simulations: Verbosity Control; Histogram Creation; Scoring Mechanisms (16).
5.1 Application in medical simulations
GAMOS is particularly well-suited for simulating medical applications (10), such as those involving linear accelerators (Linacs) in radiation therapy (8). It can simulate the entire treatment process, from beam generation and modulation to interaction with tissues and dose distribution calculations. These capabilities make GAMOS an invaluable tool for optimizing treatment parameters, improving therapeutic outcomes, and minimizing side effects (38).
6 Varian Medical linear accelerator (Linac)
A Varian Medical linear accelerator (linac) is a sophisticated and essential piece of equipment used primarily in radiation therapy for cancer treatment (19). It generates high-energy x-rays or electrons that can be precisely directed at tumors, minimizing damage to surrounding healthy tissues. Below is an in-depth look at the linac’s components and functionalities:
The electron gun emits a stream of electrons from a heated cathode (26). These electrons are accelerated through a potential difference toward the accelerating waveguide (39). The accelerating waveguide is a vacuum tube that uses microwaves generated by a magnetron or klystron to create an electromagnetic field, accelerating the electrons to nearly the speed of light (1). In some linacs, a bending magnet redirects the electrons, aligning them with the treatment beam’s axis. High-energy electrons strike the target, producing x-rays via bremsstrahlung. This conversion is crucial for generating the therapeutic radiation used in cancer treatments (5). The primary collimator, located immediately after the target, shapes the initial x-ray beam, ensuring precise radiation direction toward the treatment area, as shwon in Figure 2. The support for the target ensures the correct positioning of the target for optimal electron interaction (35).

Figure 2. Dose profile diagram in radiotherapy (28).
The rectile aids in beam alignment, ensuring accurate treatment delivery (5). The flattening filter ensures a consistent dose distribution across the treatment field by flattening the x-ray beam’s intensity profile, essential for effective and safe radiation therapy (11). The ionization chamber measures the radiation dose being delivered and provides feedback to control systems, ensuring the patient receives the correct amount of radiation as prescribed by the treatment plan. The mirror reflects light for visual beam alignment, projecting the light field that mimics the x-ray field, aiding in accurate patient positioning (30). The jaws are movable collimators that further shape the x-ray beam, adjusting to conform the beam to the treatment area, thus improving the precision of the therapy (1). The output window is the final aperture through which the shaped and filtered x-ray beam exits the linac, ensuring the therapeutic beam is accurately directed toward the patient (26). The phase space plane is a conceptual plane used in simulations and calculations to assess dose distribution, critical for planning effective radiation therapy (10). The phantom simulates human tissue for testing and calibration, used in quality assurance and treatment planning to ensure accurate dose delivery. The gantry rotates around the patient (19), allowing the beam to be delivered from different angles, enhancing dose distribution and sparing healthy tissues. The patient positioning system ensures accurate alignment with a treatment couch that can move in multiple directions. Imaging systems like cone-beam CT verify patient positioning before and during treatment (14). Figure 3 illustrating the path from the production of x-rays to the delivery of the therapeutic beam to the patient or phantom.

Figure 3. A schematic diagram of a Varian Medical linear accelerator, illustrating its key components and their arrangement.
Moreover, the Varian Medical linear accelerators are at the forefront of modern radiation oncology, combining advanced engineering and state-of-the-art technology to provide effective and precise cancer treatments (30). Their capabilities to deliver various forms of radiotherapy, coupled with sophisticated imaging and patient positioning systems, make them indispensable tools in the fight against cancer (1).
7 Gamma Index analysis
The Gamma Index Analysis was conducted to evaluate the agreement between calculated and measured dose distributions (37), utilizing criteria of 3% dose difference (DD) and 3 mm distance-to-agreement (DTA) (40). The Gamma Index γ at each point in the dose distribution is calculated using Equation 5:
where:
Δr: is the spatial distance between the reference and evaluated dose points.
rm: is the user-defined DTA criterion (3 mm).
ΔD: is the dose difference between the reference and evaluated dose points.
Dm: is the user-defined DD criterion (3%).
The results indicate a Gamma passing rate (γ < 1.0) of 97.5%, with 85% of points showing excellent agreement (γ ≤ 0.5), 12.5% showing good agreement (0.5 < γ < 1.0), and 2.5% showing poor agreement (γ ≥ 1.0) (37). Excellent agreement is predominantly found in regions with uniform dose distribution, good agreement near high-dose gradient boundaries, and poor agreement in high-dose gradient regions or areas with heterogeneous tissue compositions.
8 Phase-space data at 90 cm from water phantom
In this study, phase-space data refers to the comprehensive set of information about the distribution of particles (like photons or electrons) in the radiation field (8). This data was collected at a specific distance from the surface of a homogeneous water phantom, which is a common reference material used in radiotherapy simulations. The distance of 90 cm was chosen for data collection to closely replicate clinical conditions and ensure accurate measurements of radiation dose and distribution (38). The homogeneous water phantom provides a consistent and uniform medium to assess the characteristics of the radiation beam, and the 90 cm distance helps in analyzing how the beam behaves and is distributed over this distance (9).
9 Phantom output factor (Scp)
The Phantom Output Factor (S cp) is a key dosimetric parameter used in radiotherapy with Varian Linear Accelerators. It represents the ratio of the dose output for a given field size in a phantom to that of a reference field size, typically 10 cm × 10 cm. This factor accounts for changes in scatter conditions and output variations as the field size changes. Accurate measurement and calculation of S cp are essential for ensuring precise dose delivery in treatment planning, particularly for 6 and 12 megavoltage photon beams. MC simulations, such as those using GAMOS and GATE codes, are often employed to calculate S cp values, which are then compared with experimental data to validate their accuracy and ensure optimal patient treatment.
10 Head scatter factor (Sc)
The Head Scatter Factor (S c) is a dosimetric parameter that measures the additional dose contributed by scatter radiation from the treatment head of a Varian Linear Accelerator. It is defined as the ratio of the dose rate measured with the radiation head in place to that measured with the head removed or in a reference setup. S caccounts for the scatter produced by the machine components and is crucial for accurate dose calculations and treatment planning, particularly for small or irregular fields. Accurate measurement and MC simulations of Sc ensure precise dose delivery and effective patient treatment in radiotherapy.
11 Results and discussion
The photon beam parameters for 6 and 12 megavoltage photon beams at an SSD of 100 cm were evaluated using GAMOS and GATE MC simulations and compared with experimental data from a Varian medical linear accelerator. The results highlight several key observations. The depth of maximum dose (dmax) was consistently reported as 1.4 cm for the 6 megavoltage photon beams and 2.5 cm for the 12 megavoltage photon beams across all field sizes, indicating uniform penetration depth for maximum dose in the clinical setting. The PDD values at 5 cm, 10 cm, and 20 cm depths, as well as the D20/D5 ratios, show high consistency between GAMOS, GATE, and experimental data, underscoring the reliability of these MC codes for accurate dosimetric calculations, as shown in the Table 1. The PDD values for 12 megavoltage beams are higher compared to 6 megavoltage beams at all measured depths, reflecting the greater penetration capability of the higher energy photons. For example, at a 10 cm depth, the PDD for a 12 megavoltage beam is approximately 79.0-81.7% depending on the field size, while for a 6 megavoltage beam it is around 71.4-74.1%. This indicates that 12 megavoltage beams maintain a higher dose at deeper depths, beneficial for treating deeper-seated tumors. The PDD values increase slightly with larger field sizes due to the increased scatter contribution. For instance, for the 6 megavoltage beam, the PDD at a 20 cm depth increases from 36.8% for a 5 × 5 cm2 field to 39.2% for a 40 × 40 cm2 field. This trend is also observed for the 12 megavoltage beams, where the PDD at a 20 cm depth increases from 46.5% to 49.0% as the field size increases from 5 × 5 cm2 to 40 × 40 cm2. The D20/D5 ratio, indicative of the beam’s attenuation characteristics, is consistently higher for 12 megavoltage beams than for 6 megavoltage beams. This higher ratio for 12 MV beams (ranging from 0.493 to 0.511) highlights their deeper penetration and more uniform dose distribution compared to 6 megavoltage beams (ranging from 0.411 to 0.428), important for ensuring adequate dose delivery at deeper tumor sites as shown in the Table 1.

Table 1. Photon beam parameters for 6 and 12 megavoltage beams using GAMOS, GATE codes, and experimental data for various field sizes at SSD = 100 cm.
The high consistency between the simulation and experimental data ensures accurate dose calculations, critical for precise treatment planning and delivery in radiotherapy. The close agreement among the GAMOS, GATE, and experimental data validates the effectiveness of these MC codes in clinical settings. Understanding the PDD and D20/D5 ratio trends for different energies and field sizes aids in optimizing treatment plans for various tumor locations and sizes. The deeper penetration of 12 megavoltage beams makes them suitable for treating deeper-seated tumors, while the higher surface dose and quicker dose fall-off of 6 megavoltage beams can be advantageous for treating shallower tumors or sparing adjacent healthy tissues. The slight increase in PDD with larger field sizes should be considered when planning treatments for larger tumors. The increased scatter with larger fields can affect dose distribution, and careful consideration is needed to balance coverage of the tumor volume with sparing of healthy tissues. Moreover, the comparison of photon beam parameters for 6 and 12 megavoltage beams using GAMOS and GATE simulations with experimental data demonstrates the accuracy and reliability of MC codes for radiotherapy dosimetry. The insights gained from these comparisons help optimize treatment planning, ensuring effective and precise dose delivery to tumors while minimizing exposure to surrounding healthy tissues, as shown in Figures 4–7.

Figure 4. Comparison of percentage depth dose and gamma index values versus depth in phantom for energy level (6 megavoltage) and different square field sizes (5, 10, and 20 cm2).

Figure 5. Comparison of percentage depth dose and gamma index values versus depth in phantom for energy level (12 megavoltage) and different square field sizes (5, 10, and 20 cm2).

Figure 6. Comparison of the beam dose profile from computation and measurement, in phantom for a 6 megavoltage photon beam and different square field sizes (5, 10, and 20 cm2).

Figure 7. Comparison of the beam dose profile from computation and measurement, in phantom for a 12 megavoltage photon beam and different square field sizes (5, 10, and 20 cm2).
Gamma Index (GI) testing is essential for validating dose distributions in radiotherapy. It measures the agreement between calculated and measured dose distributions, considering both dose difference and distance to agreement. In this study, the performance of GAMOS and GATE MC codes in simulating dose distributions for a Varian linear accelerator is evaluated, focusing on PDD and beam profile dose distributions across various field sizes and photon energies. In Table 2, both GAMOS and GATE codes demonstrate a high level of accuracy in simulating dose distributions for different field sizes and photon energies when compared to experimental data from a Varian linear accelerator. For the Gamma Index (G < 1.0), both codes show over 94% agreement with experimental data across all field sizes and photon energies, indicating their reliability for clinical dosimetry. For Gamma Index (G < 0.5), the agreement is slightly lower but still robust, showing over 84% for all cases, as shown in Table 3. This suggests that while there are minor discrepancies, both codes are highly accurate. In simulating profile doses, the performance of both codes is comparable to their performance with PDD. The minor differences observed are within acceptable limits, affirming the reliability of both codes for clinical and research applications. The quality index values are nearly identical between GAMOS, GATE, and experimental data, underscoring the precision of both codes, as seen in the Figures 4, 5.

Table 3. Relative wedge factors for different field sizes and photon energies (6 and 12 megavoltage) using GAMOS and GATE codes.
Moreover, GAMOS and GATE are both highly effective tools for simulating dose distributions in radiotherapy. The slight variations observed are minimal and do not significantly impact the overall performance of these simulations. This comparison validates the use of both codes in medical physics, providing confidence in their accuracy and reliability.
In Figure 8, the study on the Phantom Output Factor (Scp) for square field sizes ranging from 1.0 cm to 40 cm for 6 and 12 megavoltage photon beams shows strong agreement between GAMOS, GATE, and experimental results. The (Scp) values range from 0.55 for the smallest fields to 1.22 for the largest. For both 6 and 12 megavoltage photon beams, the simulations closely match experimental data within ± 0.02, confirming the accuracy of these MC codes in modeling scatter effects, particularly in higher energy treatments where precise dosimetric calculations are essential.

Figure 8. Variation of the phantom output factor for 6 and 12 megavoltage photon beams and different square field sizes (5, 10, and 20 cm2).
In Figure 9, the analysis of the Head Scatter Factor (Sc) for square field sizes from 1.0 cm to 40 cm using GAMOS and GATE MC simulations, along with experimental data for 6 and 12 megavoltage photon beams, highlights key insights into the accuracy of these tools in radiotherapy dosimetry. The study shows strong agreement between simulation results and experimental measurements, with deviations of ± 0.004 for 6 megavoltage and ± 0.007 for 12 megavoltage photon beams, indicating that the simulations effectively replicate real-world scatter effects. The analysis reveals that Sc values increase with larger field sizes for both photon energies, consistent with the greater volume of material contributing to scatter in larger fields. This agreement underscores the reliability of MC simulations in predicting scatter factors and their value in optimizing treatment planning. The study suggests future research could explore the impact of different linear accelerator models, additional photon energies, and linac head materials on Sc values to further improve radiotherapy techniques.

Figure 9. Variation of the head scattered factor for 6 and 12 mega voltage photon beams and different square field sizes (5, 10, and 20 cm2).
The calculated relative wedge factors for 6 and 12 megavoltage photon beams across various field sizes using GAMOS and GATE MC simulations reveal several significant trends. The wedge factors obtained from GAMOS and GATE are highly consistent, with only minor variations, indicating that both codes are reliable tools for accurately calculating wedge factors in radiotherapy treatment planning. The wedge factors are consistently lower for the 12 megavoltage beams compared to the 6 megavoltage beams across all field sizes. This trend is due to the higher penetration capability of the 12 megavoltage photons, which diminishes the relative impact of the wedge on the dose distribution. For instance, for a 10 × 10 cm2 field, the wedge factor is 0.695 for the 6 megavoltage beam and 0.680 for the 12 megavoltage beam. Additionally, the wedge factors increase with field size for both photon energies. For the 6 megavoltage beam, the wedge factor rises from 0.686 for a 5 × 5 cm2 field to 0.740 for a 40 × 40 cm2 field. Similarly, for the 12 megavoltage beam, the wedge factor increases from 0.670 for a 5 × 5 cm2 field to 0.735 for a 40 × 40 cm2 field. This increase is attributed to larger field sizes encompassing more of the physical wedge, thus enhancing the dose gradient effect, as shown in Table 3.
These findings have several clinical implications. The high consistency between the GAMOS and GATE results enhances confidence in using these simulations for clinical applications. Accurate wedge factors are essential for achieving the intended dose gradients, which are particularly important in complex treatment plans that account for tissue heterogeneity and varying anatomical shapes. The observed lower wedge factors for higher energy beams (12 megavoltage) provide clinicians with valuable information for selecting appropriate wedge angles and field sizes, ensuring the desired dose distribution is achieved.
The Table 4 presents a comprehensive analysis of flatness, symmetry, and penumbra obtained from simulations using GAMOS and GATE codes for a Varian linear accelerator at 6 and 12 megavoltage photon energies. These parameters were measured at a depth of 10 cm across various field sizes (5 × 5 cm2, 10 × 10 cm2, 20 × 20 cm2, 30 × 30 cm2, and 40 × 40 cm2), providing critical insights into the beam’s dosimetric performance.

Table 4. Flatness (%), symmetry (%), and penumbra (mm) at a depth of 10 cm for various field sizes, using GAMOS and GATE codes.
The flatness measures the uniformity of the beam’s dose distribution across its profile. The values range from approximately 105% to 106.8%, with slight increases observed as the field size expands. This increase is expected due to beam divergence and scattering effects, which become more pronounced in larger fields. Importantly, the results are consistent across both GAMOS and GATE simulations, indicating that these codes reliably model the beam’s intensity distribution. The overall consistency in flatness suggests that the beam remains well-controlled and stable across all tested field sizes, ensuring uniform dose delivery. The symmetry reflects the balance of the dose distribution on either side of the central axis of the beam. The values for symmetry are close to 100% for all field sizes and energies, indicating that the beam profile is highly symmetrical. This high degree of symmetry is crucial for preventing dose inhomogeneities, such as hotspots or cold spots, within the treatment area. The close agreement between the results from GAMOS and GATE further underscores the accuracy of these simulation tools in replicating the beam’s physical characteristics. The penumbra represents the width of the region over which the dose falls off from 80% to 20% of the maximum dose, providing an indication of the beam’s sharpness at its edges. The penumbra increases with field size, which is consistent with the expected behavior due to increased scattering and lateral beam spread in larger fields. For the 6 megavoltage beam, the penumbra ranges from approximately 5 mm to 6.5 mm, while for the 12 megavoltage beam, it ranges from 7 mm to 8.4 mm. The close correspondence between GAMOS and GATE results for penumbra indicates that both codes effectively capture the beam’s edge characteristics.
Finally, the results for flatness, symmetry, and penumbra obtained from GAMOS and GATE codes are consistent and within clinically acceptable limits for all tested field sizes and energies. The slight variations observed between different field sizes are within expected ranges and do not compromise the beam’s dosimetric quality. These findings affirm the reliability of GAMOS and GATE codes in accurately simulating the dosimetric properties of Varian linear accelerators, ensuring precise and safe radiation therapy delivery.
12 Conclusion
This study demonstrates the accuracy and reliability of GAMOS and GATE MC simulations for dosimetric calculations in external radiotherapy, particularly for 6 and 12 megavoltage photon beams generated by a Varian medical linear accelerator. The results show strong agreement between simulation data and experimental measurements for key dosimetric parameters, including PDD values, beam profiles, and Gamma Index (GI) analyses across a range of field sizes. Both codes accurately predicted the depth of maximum dose (dmax), and the D20/D5 ratios for both energy levels, confirming their effectiveness in modeling dose distributions for clinical applications.
The comparison of GAMOS and GATE simulations with experimental data highlights the robustness of these MC codes, with over 94% agreement in Gamma Index tests (GI < 1.0) for both PDD and beam profile simulations across all field sizes and photon energies. These findings validate the use of these tools in clinical treatment planning, ensuring precise and accurate dose delivery to patients while minimizing exposure to surrounding healthy tissues. The study further confirms the suitability of 12 megavoltage photon beams for treating deeper-seated tumors, while 6 megavoltage beams remain advantageous for shallower tumors, particularly when sparing healthy tissue is critical. The analysis of PDD trends and beam profiles for varying field sizes provides valuable insights for optimizing radiotherapy treatment plans, considering tumor depth and field size.
In conclusion, this work solidifies the role of MC-based simulations using GAMOS and GATE as essential tools in enhancing dosimetric accuracy in radiotherapy. The high level of consistency with experimental data affirms their potential for further application in clinical and research settings, contributing to improved patient outcomes through more precise radiotherapy treatment planning.
Data availability statement
The original contributions presented in the study are included in the article/supplementary material. Further inquiries can be directed to the corresponding author.
Author contributions
AA: Conceptualization, Data curation, Formal Analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing.
Funding
The author(s) declare that no financial support was received for the research and/or publication of this article.
Conflict of interest
The author declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declare that no Generative AI was used in the creation of this manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1. Paelinck L, De Wagter C, Van Esch A, Duthoy W, Depuydt T, and De Neve W. Comparison of build-up dose between elekta and varian linear accelerators for high-energy photon beams using radiochromic film and clinical implications for imrt head and neck treatments. Phys Med Biol. (2005) 50:413. doi: 10.1088/0031-9155/50/3/002
2. Morias S, Marcu LG, Short M, Giles E, Potter A, Shepherd J, et al. Treatmentrelated adverse effects in lung cancer patients after stereotactic ablative radiation therapy. J Oncol. (2018) 2018:6483626. doi: 10.1155/2018/6483626
3. Majeed H and Gupta V. Adverse effects of radiation therapy (2020). Available online at: https://www.ncbi.nlm.nih.gov/books/NBK563259/.
4. Rocha PHP, Reali RM, Decnop M, Souza SA, Teixeira LAB, Júnior AL, et al. Adverse radiation therapy effects in the treatment of head and neck tumors. RadioGraphics. (2022) 42:806–21. doi: 10.1148/rg.210150
5. Bidmead AM, Garton AJ, and Childs PJ. Beam data measurements for dynamic wedges on varian 600c (6 mv) and 2100c (6 and 10 mv) linear accelerators. Phys Med Biol. (1995) 40:393. doi: 10.1088/0031-9155/40/3/005
6. Anjomani Z, Nedaie H, and Shariari M. Comparison of electron-beam dose distributions in a heterogeneous phantom obtained using radiochromic film dosimetry and monte carlo simulation. Iranian J Med Phys. (2011) 8:1–8. doi: 10.22038/IJMP.2011.7202
7. Agostinelli S, Allison J, Amako K, Apostolakis J, Araujo H, Arce P, et al. Geant4-a simulation toolkit. Nucl instruments Methods Phys Res section A: Accelerators Spectrometers Detectors Associated Equip. (2003) 506:250–303. doi: 10.1016/S0168-9002(03)01368-8
8. Al-Zain J, Bardouni T, Mohammed M, and Hajjaji O. Validation of gamos code based on geant4 monte carlo for a 12 mv saturne43 linac. J King Saud University-Science. (2019) 31:500–5. doi: 10.1016/j.jksus.2018.07.003
9. Arce P, Lagares JI, Harkness L, Pérez-Astudillo D, Rato MCP, de Prado M, et al. Gamos: A framework to do geant4 simulations in different physics fields with an user-friendly interface. Nucl Instruments Methods Phys Res Section A: Accelerators Spectrometers Detectors Associated Equip. (2014) 735:304–13. doi: 10.1016/j.nima.2013.09.036
10. Zhang S, Liengsawangwong P, Lindsay P, Prado K, Sun T-L, Steadham R, et al. Clinical implementation of electron energy changes of varian linear accelerators. J Appl Clin Med Phys. (2009) 10:177–87. doi: 10.1120/jacmp.v10i4.2978
11. Kim HS and Lee JK. Assessment and measurement of the photoneutron field produced in the varian medical linear accelerator. J Nucl Sci Technol. (2007) 44:95–101. doi: 10.1080/18811248.2007.9711261
12. Jin S, Wang K, Fan Y, Wang Z, Huang Ji, Yang X, et al. The reproduction for the absorbed-dose to water of the clinical accelerator photon beams. Physica Med. (2016) 32:265–6. doi: 10.1016/j.ejmp.2016.07.577
13. Mesbahi A and Zergoug I. Dose calculations for lung inhomogeneity in high-energy photon beams and small beamlets: a comparison between xio and tigrt treatment planning systems and mcnpx monte carlo code. Iranian J Med Phys. (2015) 12:167–77. doi: 10.22038/IJMP.2015.6218
14. Gonias P, Zaverdinos P, Loudos G, Kappas C, and Theodorou K. Monte carlo simulation of a 6 mv varian linac photon beam using geant4-gate code. Physica Med. (2016) 32:333. doi: 10.1016/j.ejmp.2016.07.245
15. Teixeira MS, Batista DVS, Braz D, and Da Rosa LAR. Monte carlo simulation of novalis classic 6 mv accelerator using phase space generation in gate/geant4 code. Prog Nucl Energy. (2019) 110:142–7. doi: 10.1016/j.pnucene.2018.09.004
16. Harkness LJ, Arce P, Judson DS, Boston AJ, Boston HC, Cresswell JR, et al. A compton camera application for the gamos geant4-based framework. Nucl Instruments Methods Phys Res Section A: Accelerators Spectrometers Detectors Associated Equip. (2012) 671:29–39. doi: 10.1016/j.nima.2011.12.058
17. Xhafa B, Mulaj T, Hodolli G, and Nafezi G. Dose distribution of photon beam by siemens linear accelerator. Int J Med Physics Clin Eng Radiat Oncol. (2014) 3:67–70. doi: 10.4236/ijmpcero.2014.31011
18. Fiak M, Fathi A, Inchaouh J, Khouaja A, Benider A, Krim M, et al. Monte carlo simulation of a 18 mv medical linac photon beam using gate/geant4. Moscow Univ Phys Bull. (2021) 76:15–21. doi: 10.3103/S0027134921010069
19. Adom J, Addison EK, Awuah BK, Hasford F, and Owusu-Mensah M. Towards clinical use of varian clinac ix linear accelerator in a low resource radiotherapy facility: evaluation of commissioning data. Health Technol. (2023) 13:571–83. doi: 10.1007/s12553-023-00769-9
20. Mia MA, Rahman MS, Purohit S, Kabir SME, and Meaze AKMMH. Analysis of percentage depth dose for 6 and 15 mv photon energies of medical linear accelerator with cc13 ionization chamber. Nucl Sci Appl. (2019) 28(1&2):31–9.
21. Li Y, Sun X, Liang Y, Hu Y, and Liu C. Monte carlo simulation of linac using primo. Radiat Oncol. (2022) 17:185. doi: 10.1186/s13014-022-02149-5
22. Bilalodin B and Abdullatif F. Modeling and analysis of percentage depth dose (pdd) and dose profile of x-ray beam produced by linac device with voltage variation. Jurnal Ilmiah Teknik Elektro Komputer dan Informatika (JITEKI). (2022) 8:206–14. doi: 10.26555/jiteki.v8i2.23622
23. Kastrati L, Hodolli G, Kadiri S, Demirel E, Istrefi L, Kabashi Y, et al. Applications and benefits of using gradient percentage depth dose instead of percentage depth dose for electron and photon beams in radiotherapy. Polish J Med Phys Eng. (2021) 27:25–9. doi: 10.2478/pjmpe-2021-0004
24. Niemelä J, Partanen M, Ojala J, Sipilä P, Björkqvist M, Kapanen M, et al. Measurement and properties of the dose–area product ratio in external small-beam radiotherapy. Phys Med Biol. (2017) 62:4870. doi: 10.1088/1361-6560/aa6861
25. Mott JHL and West NS. Essentials of depth dose calculations for clinical oncologists. Clin Oncol. (2021) 33:5–11. doi: 10.1016/j.clon.2020.06.021
26. Kim K-J, Lee J-Y, and Park K-R. Characteristics of 15 mv photon beam from a varian clinac 1800 dual energy linear accelerator. Radiat Oncol J. (1991) 9:131–41.
27. Stanton R and Stinson D. Applied physics for radiation oncology. Madison, Wisconsin, USA: Medical Physics Publishing Corporation (1996). doi: 10.54947/9781930524408
28. Podgorsak EB, et al. Review of radiation oncology physics: a handbook for teachers and students Vol. 19. . Vienna, Austria: IAE Agency (2003). p. 133. doi: 10.1038/sj.bjc.6604224
29. Şahmaran T and Yılmaz Koca C. Evaluation of dosimetric parameters after electron gun and ion pump replacement in linear accelerator device and comparison of results by gate/geant4 simulation. Radiat Effects Defects Solids. (2023) 178:1097–108. doi: 10.1080/10420150.2023.2222328
30. Chen X, Yue NJ, Chen W, Saw CB, Heron DE, Stefanik D, et al. A dose verification method using a monitor unit matrix for dynamic imrt on varian linear accelerators. Phys Med Biol. (2005) 50:5641. doi: 10.1088/0031-9155/50/23/016
31. Hrbacek J, Lang S, and Klöck S. Commissioning of photon beams of a flattening filter-free linear accelerator and the accuracy of beam modeling using an anisotropic analytical algorithm. Int J Radiat Oncol Biol Phys. (2011) 80:1228–37. doi: 10.1016/j.ijrobp.2010.09.050
32. Abou-Shady H, Hozayed S, and Ibrahim H. Design and modeling of medical linear accelerators using the geant4/gate platform. J Nucl Technol Appl Sci. (2017) 5:241.
33. Gasteuil J, Noblet C, Moreau M, and Meyer P. A gate/geant4 monte carlo toolkit for surface dose calculation in vmat breast cancer radiotherapy. Physica Med. (2019) 61:112–7. doi: 10.1016/j.ejmp.2019.04.012
34. Sadoughi H-R, Nasseri S, Momennezhad M, Sadeghi H-R, and Bahreyni-Toosi M-H. A comparison between gate and mcnpx monte carlo codes in simulation of medical linear accelerator. J Med Signals Sensors. (2014) 4:10–7. doi: 10.4103/2228-7477.128433
35. Wilson L, Rohe R, Lenards N, Hunzeker A, Tobler M, Zeiler S, et al. Minimizing clearance issues with prone breast patients on varian linear accelerators through isocenter placement. Med Dosimetry. (2021) 46:319–23. doi: 10.1016/j.meddos.2021.03.004
36. Sjöström D, Bjelkengren U, Ottosson W, and Behrens CF. A beam-matching concept for medical linear accelerators. Acta Oncol. (2009) 48:192–200. doi: 10.1080/02841860802258794
37. Bacala AM. Linac photon beam fine-tuning in primo using the gamma-index analysis toolkit. Radiat Oncol. (2020) 15:1–11. doi: 10.1186/s13014-019-1455-1
38. Arce P, Lagares JI, Azcona JD, and Aguilar-Redondo P-B. A proposal for a geant4 physics list for radiotherapy optimized in physics performance and cpu time. Nucl Instruments Methods Phys Res Section A: Accelerators Spectrometers Detectors Associated Equip. (2020) 964:163755. doi: 10.1016/j.nima.2020.163755
39. Rezzoug M, Zerfaoui M, Oulhouq Y, Rrhioua A, Didi S, Hamal M, et al. Varian clinac 2100 linear accelerator simulation employing primo phase space model. Radiat Phys Chem. (2023) 207:110859. doi: 10.1016/j.radphyschem.2023.110859
Keywords: percentage of depth dose (PDD), GAMOS/GATE codes (Monte Carlo), LINAC, Varian, radiotherapy
Citation: Alshehri AHD (2025) Enhancing dosimetric precision in the treatment of cancerous tumors: Gamma Index validation and Monte Carlo simulations of 6 and 12 megavoltage photon beams from Varian Medical linear accelerators. Front. Oncol. 15:1573166. doi: 10.3389/fonc.2025.1573166
Received: 10 February 2025; Accepted: 28 July 2025;
Published: 20 August 2025.
Edited by:
Maria F. Chan, Memorial Sloan Kettering Cancer Center, United StatesReviewed by:
Chengyu Shi, City of Hope National Medical Center, United StatesJia-Ming Wu, Wuwei Cancer Hospital of Gansu Province, China
Copyright © 2025 Alshehri. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Ali H. D. Alshehri, YWh6YWZlckBudS5lZHUuc2E=