Introduction
In our last lesson, we established a rigorous framework for comparing the statistical performance of different flux estimators. You learned how to use metrics like the relative error and the Figure of Merit to quantify why an estimator like track-length might be superior to a collision estimator in a given physical scenario. We are now ready to apply these estimation techniques to achieve a primary objective of this course: calculating dosimetric quantities from first principles.
This lesson will guide you through scoring collision kerma within your Monte Carlo simulation. We will then connect this computed quantity to absorbed dose, a central quantity in medical physics, by formally examining the conditions for Charged Particle Equilibrium (CPE). While your background in medical physics makes you familiar with these concepts, our focus here will be on their rigorous implementation and validation within the computational framework of particle transport. By the end of this lesson, you will have implemented a kerma tally and will understand precisely when and why it serves as a valid approximation for absorbed dose.
From Flux to Reaction Rates: A General Tallying Framework
Before we tackle kerma specifically, let's generalize our tallying approach. In the previous lessons, we focused on scoring scalar flux, . Many physical quantities of interest, however, take the form of a reaction rate, , which is an integral of the flux weighted by a response function, :
If is a macroscopic cross section, , then is the reaction rate for interaction type . If is an energy-dependent response function like a kerma factor, then is the corresponding dosimetric quantity.
We can adapt our existing flux estimators to score any such quantity. For a track-length estimator, where the cell-averaged flux is estimated as , the corresponding reaction rate is:
Here, we simply multiply the contribution of each track segment by the value of the response function at the particle's energy, . This powerful technique allows us to score a wide variety of quantities using the flux information we are already generating.
Scoring Collision Kerma
Collision kerma, , is defined as the sum of the initial kinetic energies of all charged particles liberated by uncharged ionizing radiation in a material per unit mass. For a field of uncharged particles (photons or neutrons), it can be directly related to the particle fluence.
The following chapter from a standard dosimetry text provides the essential definitions and relationships. Your familiarity with these concepts will allow you to focus on the key equations that enable their computational implementation.
[PDF] Chapter 4 - Field and Dosimetric Quantities, Radiation Equilibrium
This chapter provides the formal definitions of kerma, absorbed dose, and the conditions for Charged Particle Equilibrium (CPE). We will use it to establish the theoretical basis for our Monte Carlo tally.
First, review the definitions in Section 4.6.1. Pay special attention to the distinction between kerma (K) and collision kerma (Kel). In this lesson, we will be scoring K_{col}. Next, read Section 4.7.1, which establishes the mathematical link between photon fluence and kerma. The key result is Equation 4.65, which expresses collision kerma as an integral of the energy-differential fluence, \Phi_k, multiplied by a response function, k [\mu_{en}(k)/\rho]. This response function is the kerma factor. Finally, read Section 4.9.2, focusing on the conditions for CPE for external sources. The most important conclusion is Equation 4.89, which states that under CPE, absorbed dose is equal to collision kerma.
The reading confirms two primary methods for calculating collision kerma in a Monte Carlo simulation.
Method 1: The Flux-Based Kerma Estimator
As shown in Equation 4.65, collision kerma is a reaction rate-style integral where the response function is the kerma factor, . We can therefore use a track-length estimator to score kerma by summing the contributions from each particle track, weighted by the kerma factor:
This approach is efficient and leverages the low-variance properties of the track-length estimator. However, it relies on pre-calculated data tables for the mass energy-absorption coefficient, .
Method 2: The Direct Kinematic Estimator
A more fundamental approach is to score kerma directly from its definition: the energy transferred to charged particles at the site of a neutral particle interaction. This is an analog collision estimator. Each time a simulated neutron or photon undergoes a collision in a tally volume, we calculate the energy deposited locally and add it to our score. At the end of the simulation, we divide the total energy by the mass of the volume.
This "on-the-fly" method doesn't rely on pre-tabulated kerma factors but instead uses the fundamental physics of the interaction. A recent PhD thesis details this exact methodology for the OpenMC code. The methods described are general and directly applicable to your own code.
[PDF] advancing nuclear reactor simulations using ray tracing, machine ...
This resource describes the implementation of a direct, kinematics-based energy deposition tally. It provides the "first-principles" recipes for calculating kerma at each collision.
Read Section 4.2.1, Energy Balance. This presents the core principle: the locally deposited energy (heating, H) is calculated by balancing the energy of the incident particle, the reaction Q-value, and the energy of any outgoing, transported particles. For collision kerma, H is the quantity of interest. Skim Section 4.2.2, Recoil Energy Sampling, and Section 4.2.3, Momentum Balance. These describe more advanced ways to calculate the energy transfer using detailed kinematic data from nuclear data libraries. Because you appreciate theoretical depth, I also encourage you to look at the appendices, which provide the derivations for these kinematic calculations: Appendix D.1: Two-body kinematics. Appendix D.2: Momentum balance. Appendix D.3: Frame transformations.
The Energy Balance method provides the most straightforward and general approach. For an uncharged particle interaction:
Where:
- is the kinetic energy of the incident uncharged particle.
- is the reaction Q-value (mass difference).
- is the sum of kinetic energies of all outgoing uncharged particles (e.g., scattered photons or neutrons) that will be further transported.
The result is precisely the kinetic energy transferred to charged particles (recoil nuclei, electrons, etc.), which is assumed to be deposited locally.
Approximating Absorbed Dose: The Kerma Approximation
As you know from your medical physics background and as confirmed by the reading (Eq. 4.89), under the conditions of Charged Particle Equilibrium (CPE), absorbed dose is equal to collision kerma .
The Kerma Approximation:
This approximation allows us to estimate the absorbed dose—a quantity defined by energy deposition along charged particle tracks—by scoring kerma, which only requires information about interactions of uncharged particles. This is a massive computational simplification, as it means we don't have to simulate the complex transport of secondary electrons.
However, this approximation is only valid where CPE holds. CPE is violated in several key situations:
- Near material interfaces: When radiation passes from a material with low atomic number to one with high atomic number (e.g., tissue to bone), the production of secondary electrons suddenly increases. The influx and efflux of electrons across the boundary are no longer balanced.
- In regions of steep fluence gradients: If the uncharged particle beam is significantly attenuated over the range of the secondary charged particles, more electrons will be set in motion on the "upstream" side of a point than on the "downstream" side, breaking the equilibrium. This occurs at the entrance of a phantom (the "build-up" region) and at high energies in general.
- Near sources.
The following images powerfully illustrate the breakdown of CPE.


Practical Exercise: Implementing a Kerma Tally
Let's apply these concepts by adding a kerma tally to your Monte Carlo code. We will simulate a simple photon beam and score kerma using the direct kinematic method.
Problem: A monoenergetic, 1 MeV pencil beam of photons is normally incident on a 20 cm thick slab of water ().
Task:
- Modify your Code: Implement a new tally to score cell-averaged collision kerma in a spatial mesh across the slab. Use a collision-based estimator.
- Scoring Logic: At each Compton scattering event that occurs within a tally cell, calculate the energy transferred to the recoil electron. For Compton scattering, the Q-value is zero and the target nucleus recoil is negligible. The energy transfer is simply:
Add this energy to your tally score for that cell. Remember to account for particle weights if you are using variance reduction techniques like implicit capture. - Normalization: After running the simulation for source histories, the total energy deposited in cell is . To get the average kerma in Joules/kg (Gray), you must normalize this value: where is the mass of the cell () and you are averaging over the total number of source particles. Ensure your energy units are converted from MeV to Joules (1 MeV = 1.602 x 10 J).
- Simulation: Run your code for a sufficient number of histories to obtain a reasonably smooth profile (e.g., to particles).
- Analysis: Plot the collision kerma as a function of depth in the water slab.
You should observe that the kerma profile exhibits a near-exponential decay with depth, reflecting the attenuation of the primary photon beam. Near the surface, this kerma is higher than the absorbed dose (the "build-up" region). Deeper in the phantom, where Transient Charged-Particle Equilibrium (TCPE) is established, the dose curve will be slightly higher than and parallel to the kerma curve. Your computed kerma profile is the first and most critical component of a full dosimetric calculation.
Conclusion
In this lesson, you have successfully bridged the gap between scoring abstract particle flux and calculating a key physical quantity, collision kerma. By implementing a direct, kinematics-based tally, you have computed a dosimetric quantity from the fundamental physics of particle interactions within your simulation.
Key Takeaways:
- Collision kerma can be scored in a Monte Carlo simulation using either a flux-based estimator (weighting tracks by pre-calculated kerma factors) or a direct kinematic estimator (calculating energy transfer at each collision).
- The direct kinematic method, based on energy balance, is a "first-principles" approach that computes the energy transferred to charged particles on-the-fly.
- The kerma approximation () is a powerful method for estimating absorbed dose by simulating only uncharged particle transport.
- This approximation is valid under the conditions of Charged Particle Equilibrium (CPE) and breaks down near material interfaces and in regions with steep fluence gradients.
Preview of the Next Lesson:
Your new kerma tally is a type of analog collision estimator. As you might recall from our discussion on flux estimators, these can sometimes have poor statistical performance compared to track-length estimators, especially when interaction probabilities are low. Is our new kerma tally reliable? In the next lesson, we will "Assess statistical convergence of Monte Carlo tallies using variance and relative error," and more importantly, "Examine tally distribution shape and variance of the variance to verify the reliability of Monte Carlo results." This will equip you with advanced tools to diagnose the statistical health of any tally you implement.