Introduction
In our previous lesson, we investigated the key physical models that underpin the condensed history technique for charged particle transport: multiple scattering theories, which describe the particle's change in direction, and energy-loss straggling models, which account for fluctuations in energy loss. These models allow us to simulate the complex trajectory of an electron or positron in computationally manageable steps.
This lesson marks the culmination of our study of Monte Carlo methods and, indeed, the course itself. We will now integrate these individual particle transport mechanics into a complete simulation framework. Our goal is to describe how coupled photon-electron Monte Carlo transport is used to compute absorbed dose distributions. We will explore how simulations manage the cascade of secondary particles and how the energy deposited along each charged particle track is tallied to produce the final, macroscopic dose distribution that is so central to medical physics and radiation science.
The Coupled Particle Cascade
In most realistic scenarios, particularly in the mega-electron-volt energy range, photon and electron transport are inextricably linked. A high-energy photon beam entering a medium does not simply attenuate; it sets in motion a cascade of secondary particles.
- Photons produce electrons and positrons: Through the photoelectric effect, Compton scattering, and pair production, photons transfer their energy to electrons, setting them in motion.
- Electrons and positrons produce photons: As these secondary charged particles slow down in the medium, they lose energy by emitting bremsstrahlung photons. Positrons also produce annihilation photons when they come to rest or interact in flight.
This chain reaction, where photons create electrons that in turn create more photons, is called a particle cascade or shower. To accurately calculate absorbed dose—which is, by definition, the energy deposited by charged particles—a simulation must be able to track all generations of both particle types. This is the essence of a coupled electron-photon Monte Carlo simulation.
The Simulation Algorithm: Managing the Cascade
A coupled transport code needs a systematic way to manage the multitude of particles being created. The core of the algorithm relies on a simple but powerful data structure, often called a "stack" or "bank."
The process works as follows:
- A primary source particle (e.g., a photon from a linear accelerator) is generated and its properties (energy, position, direction, particle type) are placed on the stack.
- The main simulation loop takes the top particle from the stack.
- The code transports this particle through the defined geometry, stepping it along its path. For an electron, this involves condensed history steps; for a photon, it involves sampling the distance to the next discrete interaction.
- During the step or at an interaction site:
- If the particle is a charged particle, energy lost is tallied in the corresponding geometric region (voxel).
- If new secondary particles are created (e.g., a Compton electron and scattered photon), their properties are added to the stack to be transported later.
- A particle's history is terminated when it is absorbed, its energy falls below a predefined transport cutoff, or it leaves the simulation geometry.
- The loop repeats, taking the next particle from the stack, until the stack is empty.
- The entire process is repeated for a large number of primary source particles to achieve statistically meaningful results.
The flowchart below illustrates this coupled transport logic. The main program on the CPU initializes the simulation and then passes batches of particles to be executed as parallel threads, for instance on a GPU. Each thread processes a particle (e.g., ProcessOneNeutron, which you can read as ProcessOnePhoton in our context), and any secondaries produced are added to an array to be processed in turn, effectively managing the cascade.

From Particle Tracks to Absorbed Dose Distributions
With the algorithm for managing the particle cascade established, the central question remains: how do we compute the absorbed dose distribution? The process involves voxelization of the geometry and tallying energy deposition.
For a practical and clinically-relevant perspective, let's watch a brief segment from a lecture by Dr. Eric Ehler for the "Rayos Contra Cancer" initiative. This clip explains how modern "Type C" algorithms, which include Monte Carlo codes, perform dose calculation.
Session 2 - Type B (AAA and Collapsed Cone Convolution) and C (Acuros and Monte Carlo) algorithms
This video provides a high-level overview of different classes of dose calculation algorithms used in radiation therapy treatment planning. We will focus on the description of "Type C" algorithms, which rigorously model the underlying physics.
Please watch the following three segments: First, watch the introduction to Type C algorithms, which categorizes Monte Carlo as a method where the physics is rigorously accounted for. Next, see the specific description of Monte Carlo simulation. Note the mention of modeling individual particle tracks and inherently accounting for conditions of charged particle disequilibrium. Finally, watch the explanation of how Type C algorithms handle tissue inhomogeneity. This is a key point: the simulation uses CT scan data to assign specific material properties and cross sections to each voxel, enabling a direct simulation of transport in the actual patient anatomy.
As the video explains, the foundation of dose calculation in Monte Carlo is the direct simulation of radiation transport within a material-specific, voxelized geometry. To understand the mechanics of scoring in more detail, please read the following section from the review paper by Rogers and Bielajew.
[PDF] Monte Carlo Techniques of Electron and Photon Transport for ...
This section, "Scoring Quantities of Interest," describes the practical methods used within a Monte Carlo code to calculate physical quantities from the simulated particle tracks.
Please read the entire section II.D. Scoring Quantities of Interest, starting on page 467. Pay particular attention to: The introduction in subsection II.D.1. The description under Energy and Charge Deposition. This is the most direct method for calculating dose. The definition of the track-length fluence estimator, which connects back to our earlier work with the Boltzmann equation and is a fundamental tally type.
To summarize the process for calculating an absorbed dose distribution:
- Define a Scoring Grid: The simulation geometry (e.g., a water phantom or a patient model derived from a CT scan) is overlaid with a 3D grid of scoring volumes, or voxels.
- Tally Energy Deposition: During the transport of each charged particle (electron or positron), every time it loses energy within a voxel, that energy is added to a running total for that specific voxel. This energy loss is determined by the stopping power models for "continuous" losses and by the specific energy transferred in discrete "catastrophic" interactions.
- Accumulate Statistics: This process is repeated for millions or billions of initial source particles.
- Calculate Dose: After the simulation is complete, the total energy deposited in each voxel, , is divided by the mass of that voxel, , to obtain the average absorbed dose: .
The collection of dose values for all voxels constitutes the absorbed dose distribution.
Visualizing the Results
The final output of a coupled photon-electron Monte Carlo simulation for dosimetry is a 2D or 3D map of absorbed dose. The image below shows a typical result, comparing the 2D dose distributions calculated by two different Monte Carlo codes, TOPAS and ARCHER, for a proton beam under a magnetic field. The principle for photon and electron beams is identical. You can clearly see the high-dose region at the end of the particle range (the Bragg peak) and the lateral spread of the beam.

These dose distributions are the direct result of simulating the complex, intertwined physics of the particle cascade. By selectively enabling or disabling certain physical processes in a simulation, we can understand their relative contributions to the final dose. The figures in the Rogers and Bielajew review you read previously (Figures 31 and 32) demonstrate this powerfully. They show how including bremsstrahlung production (the "straggle from brem" curve) significantly alters the shape of the depth-dose curve, proving that a coupled simulation is essential for accuracy. The transport of photons created by electrons reshapes the energy deposition profile.
Conclusion
This lesson has brought together the many threads of our course, moving from the transport of single particles to the simulation of a complete radiation field. We have seen how a coupled Monte Carlo simulation provides a powerful, first-principles approach to calculating absorbed dose.
Key Takeaways:
- Accurate dosimetry requires coupled transport, as photons create electrons and electrons create photons in a particle cascade.
- The simulation algorithm manages this cascade using a stack to store and process particles sequentially until their histories terminate.
- Absorbed dose is computed by tallying the energy deposited by charged particles within a grid of voxels that represent the geometry.
- The final output is a dose distribution, which represents the average dose per voxel after simulating a large number of source particles.
- Modern codes leverage anatomical data from CT scans to assign materials on a voxel-by-voxel basis, enabling highly accurate, patient-specific dose calculations.
This lesson concludes our course on radiation transport theory and computation. We have journeyed from the fundamental definitions of cross sections, through the derivation and deterministic solution of the Boltzmann transport equation, and have now arrived at a comprehensive understanding of the stochastic Monte Carlo method. You are now equipped with the theoretical foundations for both major branches of transport simulation, providing a robust framework for your continued work and study in medical physics.