---
title: "Geant4 developments and applications — Allison 2006"
description: "Geant4 developments and applications explains how the toolkit simulates particles in matter and how its predictions were checked against data."
canonical: "https://research.elamur.ai/free/en/papers/allison-2006-geant4-developments-applications/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/allison-2006-geant4-developments-applications/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2006](https://md.research.elamur.ai/free/en/papers/2006/) / Geant4 developments and applications

# Geant4 developments and applications

Paper · 2006 · John E. Allison, K. Amako, J. Apostolakis et al.

**Authors:** John E. Allison, K. Amako, J. Apostolakis, Henrique M. Araújo, Pedro E. Arce, Makoto Asai, Guy Barrand, R. Capra, Stéphane Chauvie, Radovan Chytracek, G.A.P. Cirrone, Gene D. Cooperman, G. Cosmo, G. Cuttone, G.G. Daquino, M. Dönszelmann, M. Dressel, G. Folger, Franca Foppiano, J. Generowicz, V. Grichine, Susanna Guatelli, P. Gumplinger, A. Heikkinen, I. Hřivnáčová, Alexander S. Howard, S. Incerti, V. Ivanchenko, Tony S. Johnson and F.W. Jones · **Year:** 2006 · **Venue:** IEEE Transactions on Nuclear Science · **Licence:** No open licence stated (free-to-read copy; rights reserved) — text kept private

Cited by **18** papers in our library of the 163,136 papers whose bibliographies we read · IEEE Transactions on Nuclear Science

- [PDF](https://www.osti.gov/servlets/purl/882423)
- [DOI 10.1109/tns.2006.869826](https://doi.org/10.1109/tns.2006.869826)

## Summary

A particle simulation has to describe both the matter a particle encounters and what can happen as it travels through that matter. Even within a single detector, these tasks call for different levels of detail. An inner detector designed to measure particle trajectories precisely may need to account for secondary particles that contribute little to the response of a coarser outer detector. Geant4 provides a shared set of tools for building such simulations, following particles through materials and fields, and recording their interactions and detector signals. The paper describes how the collaboration extended those tools as experiments began using them for large production runs and for applications in space science, medicine and radiation protection. The developments discussed were publicly available from Geant4 version 7.0, released in December 2004.

Several changes give an application more control over where it spends computing time. The geometry can be divided into regions with different thresholds for producing secondary particles. The accuracy of propagation through an electromagnetic field can vary by volume or by the properties of a track. Simulations that depend on relatively uncommon particle histories can use built-in variance reduction methods, which alter how histories are sampled and use statistical weights to account for the change. The paper also describes improvements in the code that finds volume boundaries, additional shapes for detectors, and checks for geometry errors. These changes address separate decisions about how much detail to represent, how precisely to follow a track and how to obtain useful statistics.

The physics developments cover electromagnetic and nuclear interactions. The electromagnetic package was reorganized around smaller components, with additions for low-energy processes, optical photons and multiple scattering. The hadronic package gained new descriptions of reactions inside nuclei, changes to the treatment of nuclear fragments and improvements to interaction cross sections. Users can select a Physics List, a collection of physics processes and implementations assembled for a particular kind of application. This matters because Geant4 can offer several ways to represent the same interaction, with different ranges of applicability, computing costs and strengths.

The paper examines evidence at the level of individual interactions and of complete detectors. Comparisons with National Institute of Standards and Technology data found generally good agreement for the electromagnetic quantities studied, with differences among implementations depending on particle energy. In a separate study, the QGSP Physics List gave results in good agreement with preliminary test-beam measurements of the electron-to-pion response ratio above 20 GeV in the calorimeters examined. Evaluation of experimental systematic errors was still underway. Those comparisons address particular physics choices and observables. The paper also reports on geometry, interfaces, distributed execution and realistic application examples, where the contribution is a change in what users can build or operate and where the evidence takes a different form.

## Deep dive: Geant4 developments and applications

Geant4 developments and applications explains how the toolkit simulates particles in matter and how its predictions were checked against data. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A transport calculation and the experiment it represents

The path of a particle through an instrument depends on the materials it encounters, the shape and placement of those materials, the forces acting on the particle and the interactions available to it. A particle can also produce other particles, whose trajectories and interactions can contribute to the eventual detector response. A transport toolkit therefore needs ways to represent a setup, establish where particles are within it, apply the relevant physics and record what happens. The experiment has to supply the layout and decide which aspects of the resulting histories are worth retaining.

The first public Geant4 release, at the end of 1998, already supplied the core capabilities for this work. Its kernel handled events and tracks, described geometry and materials, and provided interfaces through which physics processes could take part in tracking. An event groups the particle histories associated with a simulated occurrence. A track represents a particle as it is followed through the apparatus. Geant4 also provided ways to prioritize tracks and record detector response. The earlier publication described that foundation. This paper treats the foundation as a working system and asks what needs to change when experiments bring more detailed instruments, larger runs and more varied physics questions to it.

Geant4's scope makes those requirements diverse. An optical photon in a detector raises questions about what happens at a surface. A charged particle in an external field raises questions about the precision with which its curved path is found. A hadron striking a nucleus raises questions about the particles that emerge from the reaction. The toolkit covers leptons, photons, hadrons and ions, and it spans applications from optical and thermal-neutron transport to energetic reactions in collider and cosmic-ray studies. A single architecture has to accommodate differences in the physics and in what the experiment intends to measure.

The authors describe an object-oriented design that lets developers revise a component while preserving the interfaces used by existing applications. The collaboration also developed the toolkit incrementally. This mattered once experiments relied on it for production. Some additions could be made by introducing a new solid or physics implementation. Others, such as allowing particle production thresholds to vary within a geometry, reached into both the kernel and the physics packages. These cases illustrate why the collaboration needed interfaces that could support extensions and a development process that could check for their consequences.

#### Where a uniform setting becomes expensive

Early Geant4 releases applied a given particle type's secondary production threshold throughout the setup. That gave the simulation a consistent rule for deciding which secondary particles to produce explicitly. It also tied the amount of tracking work in one part of an instrument to the requirements of every other part. The paper uses the example of a fine inner detector and a coarser outer muon detector. Where the inner detector can resolve details affected by low-energy particles, following those particles may be important. Elsewhere the same work can add computing cost with little relevance to the intended measurement.

The precision of field propagation presents a related problem. When a field bends a trajectory, the simulation needs to estimate where the track crosses a boundary. An experiment may care about the precise path of a muon through its tracking system and have a different requirement for electrons in a calorimeter. Computing the boundary crossing to the same precision everywhere would make those requirements difficult to express. A useful toolkit needs to let the application identify the parts of the geometry, or the kinds of tracks, for which a given precision matters.

Sampling introduces a different cost. An investigator may be interested in an outcome reached by only a small fraction of particle histories. A run can process many events before accumulating enough contributions to that outcome. Earlier Geant4 users could implement event biasing through code attached at points exposed by the kernel. A reusable facility would let applications express common approaches to this problem through toolkit components. It also had to preserve the distinction between following a possible particle history and assigning that history the right statistical contribution to the answer.

#### Where experiments need different physics

Geant4's range of physics options solves a coverage problem and creates a selection problem. The authors explain that the toolkit can offer several descriptions for the same projectile, target and energy. A projectile is the incoming particle, and the target is the matter with which it interacts. A description that provides a useful estimate for one observable may be costly or have a restricted range of applicability elsewhere. The experiment must choose a consistent collection covering the interactions it expects to encounter.

The situation is particularly difficult for hadronic interactions, which involve particles subject to the strong interaction. At the lower energies discussed in the paper, the authors point to the absence of a single effective theory that is both generally suitable and calculable for the purpose. Approximate descriptions may apply only for particular incident particles, targets and energy ranges. At higher energies, methods based on different pictures of the reaction remain available. The paper presents the task as choosing combinations appropriate to a use case, backed by comparisons that show what those combinations reproduce.

An experiment also requires evidence at different scales. A comparison using a simple target can help test whether a particular interaction is described adequately. A detector measurement reflects the combined effects of many interactions and how the instrument responds to them. A discrepancy in the first kind of comparison is easier to associate with a specific part of the calculation. The second kind comes closer to what an experiment actually needs from a production simulation. Geant4's uses made both kinds of check important.

#### Reliability during production

Large runs change what counts as an important software problem. A geometry intersection error that occurs infrequently can affect a production job that follows many tracks. A change that increases the cost of a transport operation can accumulate across an event sample. The authors describe continuous monitoring of computing time, with configurations that include a simple test beam and an application involving a complex magnetic field. These configurations exercise different operations, so changes in their runtimes can draw attention to different parts of the software.

The move into production also expanded the scope of integration. Experiments needed to read events from other programs, share a geometry between simulation and reconstruction, attach their own information to events and connect to their own analysis software. They also wanted to inspect results interactively and run large samples across multiple computers. The paper treats these as requirements on a toolkit that must participate in an experiment's larger software system. The ability to follow a particle is one part of that task. Preserving the connection from the supplied event to the eventual detector record is another.

### The method, step by step

#### From an incoming event to a detector record

A Geant4 application supplies an apparatus, its materials, a source of incoming particles and a selection of physics processes. It can also supply fields, regional production thresholds and any biasing needed for its calculation. The Run Manager brings the configuration and the event together. During transport, the geometry navigator establishes where a track is and where it is likely to meet a boundary. The selected physics determines how tracks interact and which new particles are produced. The application can then collect records of detector activity, called hits, and use the resulting collection for analysis.

How a Geant4 application simulates an event The steps in order.

This sequence describes the common path through the toolkit. Each stage has options because experiments encounter different versions of the same problem. A source can provide a simple particle spectrum or a collection from an external event generator. A detector can use ordinary solids or shapes developed for a particular instrument. An analysis can examine a single physical quantity or combine detector hits across a full run. The paper's method is to extend these choices around the shared event and tracking structure.

#### Configure the run and bring in the primary particles

The authors describe a redesign that puts the required kernel operations of the Run Manager in a separate class. An experiment that uses a larger software framework can write a Run Manager to fit that framework and call on the common operations Geant4 needs. This keeps experiment-specific run control from having to duplicate the toolkit's essential work. It also gives the developer a clearer boundary between configuration owned by the experiment and mechanics shared by Geant4 applications.

Primary particles are the particles supplied as input to the transport calculation. Their origin may be an event generator, an application-controlled source or a combination of sources. The Run Manager can read primary events stored in the HepMC event record format used in high-energy physics. The paper also reports that it can accept vectors of tracks directly and combine sources of primaries. An input event can come with assigned decay products, so the chain of information may begin before Geant4 starts following the resulting tracks.

To preserve that chain, the toolkit provides optional places for application code to associate its own information with simulation objects. A primary vertex represents a point of origin for primary particles. An application may associate information with that vertex, with a primary particle, or with an event or region. Such information can help it relate the source and decay history to tracks and hits. What the attached information means remains a decision for the experiment.

The General Particle Source supports calculations that start from a specified particle distribution. The paper reports a revision of the conversion from an integral spectrum to a differential spectrum, along with changes to interactive use. An integral spectrum describes accumulated contributions over an energy interval. A differential spectrum describes how the contribution varies with energy, which is the information needed to represent the relative prevalence of particles at different energies. The paper names the conversion and its revision. The expression used for the conversion and its variables are left unspecified.

#### Build a geometry the tracks can navigate

The geometry gives the physical calculation its spatial setting. Volumes can be nested, so a larger mother volume contains smaller daughter volumes. The navigator uses the layout to locate a particle and find boundaries that constrain its path. The paper describes an abstraction of `G4Navigator` that lets users extend or replace the navigator and a concurrent cleanup of the interface. An application can therefore specialize how navigation is carried out while working through an interface understood by the rest of the toolkit.

Repeated detector elements can be represented through subdivisions of a parent shape. Earlier replicas represented equal slices across a chosen axis. Boxes, tubes, cones and polyhedra were among the solid shapes that could be sliced along a suitable direction. Division volumes extend that idea by permitting offsets and slices of different sizes. They provide a way to describe a repeated or subdivided structure when equal divisions spanning the parent are too restrictive.

The new twisted solids address specific detector components. The proposed stereo mini-jet cells discussed for a future linear-collider tracker motivated `G4TwistedTubs`. Its boundaries include planar ends, inner and outer hyperboloidal surfaces, and twisted surfaces. The relevant feature for navigation is the changing shape of the side boundaries through the length of the solid. The paper illustrates the shape with a ray-traced view. A different application, the liquid-argon end-cap calorimeter in ATLAS, motivated twisted trapezoids. Geant3 had a version of such a shape with restrictive conditions on its use, and the initial Geant4 solids collection lacked a twisted trapezoid. The expanded collection gives the application solid types suited to these geometries.

A full sphere gets its own representation, `G4Orb`, for applications that need large spheres or efficient handling of a spherical volume. The paper also describes revisions to isotropic safety calculations. Isotropic safety estimates the distance from the current point to the closest volume boundary without choosing a particular direction of travel. This quantity and a proposed intersection along the track answer different questions. The safety estimate describes how close a boundary can be anywhere around the point, while an intersection calculation concerns the path the particle is taking. The authors report finding and repairing rare intersection errors in some solids and in shapes built by combining solids.

A shared geometry also has to survive beyond the program that created it. The Geometry Description Markup Language, GDML, provides a text representation that can be used to exchange descriptions. A new module can write a layout held in memory to an XML file. The extensions also cover additional solids and replicas. A geometry can thus be shared between simulation and reconstruction, where reconstruction is the processing that interprets detector records. Those programs can work from a common description of where the detector elements are.

The paper describes several checks for geometry errors. Some operate as the geometry is built and check its conformity with Geant4's rules. An optional tracking mode supplies information about possible boundary intersections so the user can investigate trouble encountered along a path. Dedicated overlap checks look for volumes that intersect where the layout requires them to be separate. The DAVID visual tool works with graphics volumes, while a verification component in the geometry package offers interactive tests and lets the user choose how deeply to traverse the volume hierarchy. Intersection tolerances are adjustable. These checks cover geometry construction, an inspection of an existing layout and behavior encountered during transport.

#### Choose which particles and trajectories need more detail

A region groups geometry components that should share some simulation behavior. The region can carry its own secondary production threshold for a particle type. In the paper's example, the pieces of a high-resolution inner detector form one region and the components of an outer muon detector form another. The application can preserve finer detail in the inner detector and reduce the work of producing and tracking low-energy secondaries in the outer one. The physical material still belongs to each volume. The grouping supplies a common simulation setting for the volumes assigned to it.

The scope of this setting is secondary production. A secondary is created by an interaction occurring in the simulated event, in contrast to a primary supplied as part of the event input. Giving one region a different production threshold changes the criterion for creating and following secondaries there. The electromagnetic process implementations had to be changed to accommodate thresholds that depend on the region in which the process acts. The benefit the authors describe depends on a detector's requirements, since the effect of changing a threshold is best understood in relation to the intended measurement.

A charged particle moving through an external electromagnetic field can follow a curved path. Geant4 approximates the intersection of that path with a volume boundary to a precision specified by the application. The revision allows a volume to have the same field as another volume or a different field, with accuracy parameters set for the field in use. The application can also select accuracy parameters using track properties. The authors give the examples of requiring precise propagation for muons or for tracks above an energy threshold, and allowing a coarser calculation for electrons inside a calorimeter.

Field accuracy and secondary production can consequently be set for different reasons. A field setting controls how precisely the calculation finds a trajectory and its crossings. A production threshold determines the level of explicit secondary transport. An experiment might need a precise path for a class of particles it measures closely and use a different criterion for producing low-energy secondaries in the same apparatus. Supporting both decisions gives the application more control than either setting alone.

#### Bias sampling when the observable is hard to reach

The variance reduction facilities address a calculation in which some histories contribute far more to the desired estimate than others. Importance biasing assigns relative importance to volumes. Splitting allows a promising history to continue as multiple sampled tracks. Russian roulette lets some tracks stop and adjusts the contribution of surviving tracks. Statistical weights represent how much each history counts after sampling has been changed. The aim is to obtain a useful estimate with less computing effort by concentrating work where it contributes to the quantity of interest.

Geant4 can attach those importance values to the ordinary geometry used to locate matter and carry out tracking. It also allows a parallel geometry devoted to biasing. A parallel geometry can partition the setup for statistical purposes even when the material and detector description uses a different arrangement. The application can therefore express how sampling effort should vary across space while leaving the physical description of the apparatus intact.

The additions include weight-window and weight-cutoff methods. A weight window acts on the statistical weight of a track relative to an allowed range, whereas a cutoff gives a simpler rule based on a weight threshold. The hadronic package also offers leading-particle biasing and cross-section biasing. The former gives special treatment to the leading particle in a reaction. The latter biases how often specified interactions are sampled. The paper describes cross-section biasing for electron-nuclear and gamma-nuclear reactions. These facilities give users different points of control over sampling, according to whether the important distinction is spatial, statistical or connected with a particular reaction.

#### Assemble the electromagnetic physics

The standard electromagnetic package was reorganized so that smaller classes handle the implementation of particular descriptions of an interaction. This makes it easier to revise or extend a physical treatment while retaining the interface familiar to most applications. The redesign also supports region-dependent production thresholds and improves computing performance, particularly for low thresholds. Physics tables can be saved and read back. The gain the authors associate with reuse is shorter startup when separate runs use the same physics configuration, including interactive work with many materials.

Multiple scattering is the accumulated deflection caused by repeated interactions. The paper reports a revised description that also applies to ions, samples the tail of the angular distribution better and depends less on the simulation step size. The tail represents relatively uncommon angles away from the central part of the distribution. A dependence on step size matters because the toolkit follows a trajectory in successive segments. When the sampled angles change with the segmentation, a numerical decision about how to follow a track can affect the distribution the application observes.

Other revisions concern ionization by muons and ions, and the production of electron–positron pairs by muons. In optical transport the paper describes wavelength shifting, which represents a change in the wavelength of light, and better treatment of properties at the interface between materials. The interface part concerns how optical behavior changes at a surface, a place where both the geometry and the physics must agree about what a photon has encountered.

The low-energy electromagnetic package extends coverage below 1 keV. Among its additions is a finer-grained treatment of the angles at which electrons with energies under 500 keV emit bremsstrahlung photons. Bremsstrahlung is radiation emitted as a charged particle is deflected or slowed, and the angular distribution describes the directions in which the photons emerge. Some new processes for photons, electrons and positrons draw on work developed for the Penelope Monte Carlo code. The authors also describe polarized Rayleigh scattering and proton-induced X-ray emission. These additions expand the set of observables for which the application can choose an explicit description.

#### Assemble the hadronic physics

A hadronic calculation has to represent the interaction that occurs and the particles that emerge from it. The paper describes improvements to the selection of the target element and the move to a central choice of isotope before the final state is generated. Elements can have several isotopes, which differ in their nuclei. Choosing the isotope before calling the component that generates the outgoing particles lets that component use the identity of a specific nucleus, including a nucleus far from the region of stability. The final state is the collection of particles and products following the reaction.

The Binary Cascade and Bertini Cascade are descriptions of transport inside a nucleus. A cascade represents the sequence of interactions that can follow the entry of a projectile into nuclear matter. The Binary Cascade was extended to pion projectiles and light-ion reactions, and the transition from the cascade to the pre-equilibrium treatment was improved. Pre-equilibrium describes a stage in which an excited nuclear system has yet to reach the conditions assumed in an equilibrium description. The Bertini implementation was extended in energy, and the paper reports a check of its suitability for estimating isotope production. CHIPS, the chiral invariant phase space approach, gives another kind of final-state description by representing the breakup of hadronic systems into hadrons at the quark level.

For ion reactions, the tools include an implementation of Wilson's abrasion approach and a treatment of electromagnetic dissociation in ion collisions. The paper pairs abrasion with an ablation treatment for the subsequent stage of the reaction. It also describes a new implementation of evaporation that broadly resembles the Generalized Evaporation Model, along with a rewrite of Fermi breakup to improve computational performance. These components address different parts of reaction and de-excitation. Their presence in the same toolkit lets an application represent the initial collision and the later products through descriptions suited to those stages.

The authors also changed the data and parameterizations used for cross sections. A cross section expresses the likelihood of a particular interaction under specified conditions. The revisions include new pion scattering data that remove discontinuities and a correction to an inherited problem with high-energy proton–hydrogen cross sections. For ion collisions, several parameterizations are available, including Tripathi's treatment for light ions. There are also changes to the probabilities used in pre-equilibrium calculations and new options for elastic scattering, nuclear absorption of muons and radioactive decay. These are distinct changes to the rate of an interaction, the reaction stage being represented, or the outcome sampled from it.

#### Select a Physics List for the measurement

A Physics List collects the processes and their implementations into a configuration intended for an application. Its value is in the collection as a whole. A suitable description of an individual reaction still has to work alongside other descriptions spanning the particle species, targets and energies encountered as an event develops. The authors describe supplied lists for applications such as calorimeters, trackers and a general-purpose high-energy physics detector. The lower-energy examples include neutron dosimetry and nucleon penetration in shielding studies.

The relevant selection depends on what the experiment intends to compare. A tracker and a calorimeter are designed to extract different information from the passage of particles. A test of a target reaction may be sensitive to a feature that contributes little to a broad detector response. A list intended for a use case gives experimenters a consistent starting point and lets related validation results serve as a reference. The calorimeter comparison in the paper uses QGSP, a Physics List based on a quark–gluon string description.

The paper's method for evaluating these choices is to run the transport simulation for a stated setup and compare its output with measurements or reference data. There is no training stage in the studies it presents. A generated event sample provides simulated quantities, such as a distribution for a physical process or a detector response, while data external to that sample provide the comparison. Repeated simulation increases the statistical information available about the configuration. It leaves the geometry, process selection and setting choices as inputs to the calculation.

#### Record, inspect and analyze the result

The interactive tools make simulation records available for investigation. Geant4 can write geometry, trajectories, hits and their digitized representations to HepRep, a hierarchical format for graphics objects. The earlier HepRep1 and expanded HepRep2 formats are both supported. Attributes such as material, density, particle identity and momentum can accompany the objects. A user can select an object in a browser to inspect its attributes. With the WIRED browser discussed in the paper, those attributes can also be used as display filters or shown as labels. This lets the display communicate both where something occurred and the properties attached to it.

The ASCIITree display represents geometry as a hierarchy and can calculate mass down to the chosen depth. The mass procedure described in the paper has the following update for an included daughter volume.

```
M′ = M − Mₒ + M_d
```

Here `M` is the mass accounted for before the update, `M′` is the mass after including the daughter, `Mₒ` is the mass of the mother's material in the space occupied by that daughter, and `M_d` is the mass contributed by the daughter in that space. The minus sign removes the displaced contribution and the plus sign adds the replacement. The same accounting continues down the hierarchy to the requested depth. This is a calculation on the geometry and material description, separate from what can be learned by looking at a rendering of the volume tree.

Remote interaction and data analysis have their own interfaces. The paper describes a desktop graphical client controlling an application running at a remote center. Its connection options include a standard socket, SSH and Java remote method invocation. The first pair is handled by the Geant4 Adaptive Interface for Network, GAIN. The Java remote invocation option uses a plug-in within the JAS3 Geant4 simulation application. The arrangements reuse parts of the earlier adaptive graphical interface so the user can work with a familiar set of controls.

For quantitative work, the advanced examples demonstrate analysis through AIDA, the Abstract Interfaces for Data Analysis. An application can work through abstract interfaces for objects such as histograms, with a separate system implementing those interfaces. The analysis implementation can then change while the simulation application continues to call the same interface. This separation matters when the experiment needs to process the same detector records using the tools available in different software environments.

#### Distribute events and bring their hits together

The paper distinguishes distributing independent simulation jobs from distributing events within the operation of one application. Independent jobs are a familiar way of using computer farms when the experiment already has a means to submit jobs and gather their outputs. The extended Geant4 example using TOP-C works at event level. A master process generates events, worker processes simulate them on distributed computers, and the workers return their hits to the master. The application then has a single collection for storing and analyzing hits.

Application-defined hits need a representation suitable for transmission between processes. This conversion is called marshalling, or serialization. The earlier version of the example required the application author to modify the code for marshalling custom hits. With Marshalgen, the author annotates the hit definition and the tool generates the necessary code. The paper also mentions a distributed Geant4 application using the DIANE framework. These examples describe how to organize distributed execution and collect its output. Their contribution is operational, and the paper gives them a different treatment from the statistical comparisons used to validate physics.

### Experiments and results

#### Electromagnetic comparisons with reference data

The main external reference for the electromagnetic validation is the National Institute of Standards and Technology, or NIST. The cited reference resources include photon cross-section data and tables of stopping power and range for electrons, protons and helium ions. Stopping power describes energy loss in matter along the particle's path. Range concerns the distance associated with bringing the particle to rest in a material. The validation uses quantities of this kind to ask whether a simulation reproduces established reference values or distributions for the processes under study.

The illustrated example compares Standard, Low Energy EPDL and Low Energy Penelope electromagnetic implementations with NIST. The figure caption identifies the comparison in terms of Compton scattering cross sections, and the discussion describes the photon attenuation coefficient. Compton scattering is an interaction in which a photon transfers energy to an electron and changes direction. An attenuation coefficient describes how rapidly a photon beam is diminished in matter. The paper presents the comparison as a check on the simulated electromagnetic interaction as incident energy varies. The reference is NIST data, while the three Geant4 implementations give the alternative predictions.

The comparison uses a goodness-of-fit test. The paper defines its p-value as the probability of obtaining a test statistic at least as extreme as the observed value under the hypothesis that the distributions agree. The following expression gives that definition for a statistic whose larger values indicate a greater discrepancy.

```
p = Pr(T ≥ t_obs | H₀)
```

Here `p` is the p-value, `Pr` denotes probability, and `T` is the test statistic under repeated sampling. The symbol `t_obs` denotes the value calculated for the observed comparison. The relation `≥` includes values at least as large as the observed one. The vertical bar means that the probability is conditional on `H₀`, the null hypothesis of equivalent simulation and reference distributions in the paper's comparison.

The authors used 0.05 as the decision threshold and treated comparisons with p-values above it as agreeing with the reference under the test. The figure uses a line to identify this criterion. The paper reports good overall agreement and differences among the implementations that depend on incident energy. The threshold defines the rule for the test. It is distinct from the size of a discrepancy in the physical quantity. The paper also identifies comparisons of transmission and backscattering distributions as part of the wider electromagnetic validation effort. Transmission concerns particles that traverse a material, whereas backscattering concerns those deflected toward the side from which they entered.

#### Hadronic comparisons in thin targets and calorimeters

The authors describe two approaches to hadronic validation. In a thin-target experiment, a relatively simple geometry allows a measured quantity to probe an individual interaction or effect. In a calorimeter, the measured signal incorporates the combined effects of many interactions. The former is useful for evaluating particular parts of a physics description. The latter asks whether those parts, working together within the geometry and materials of an instrument, reproduce the response the experiment measures.

The calorimeter example compares Geant4 with preliminary test-beam data from the ATLAS HEC Liquid Argon Calorimeter, the ATLAS Tile Calorimeter and the CMS Hadronic Calorimeter. The physics configuration is QGSP version 2.7 in all the simulations. Holding the Physics List constant gives the study a common simulation choice across the three instruments. The reference in each case is that instrument's beam measurement.

The physical observable is the electron-to-pion response ratio.

```
e/π = Rₑ / Rπ
```

Here `e/π` is the ratio named in the paper, `Rₑ` is the calorimeter response to electrons and `Rπ` is the response to pions at the beam energy under comparison. The slash denotes division. An electron beam and a pion beam can elicit different responses from the same instrument, so their ratio tests how the calculation represents the relationship between them.

The plotted comparison uses a further ratio, between the simulated and measured values of that observable.

```
Q = (e/π)sim / (e/π)data
```

Here `Q` is the plotted comparison, `(e/π)sim` is the electron-to-pion ratio from the QGSP simulation and `(e/π)data` is the same observable from the corresponding test beam. The qualifiers `sim` and `data` identify the origin of each value. In the figure, the comparison varies with energy and has a separate symbol for each calorimeter.

The authors describe good agreement above 20 GeV of beam energy. They say that bars corresponding to an error level of 5% were left out because the assessment of experimental systematic uncertainties was still in progress. The comparison therefore establishes a range in which the plotted simulation and preliminary data were judged to agree in the detectors examined. The report supplies that energy condition and the error level discussed for the bars. It gives the detector comparison as a function of energy, without a tabulation of individual ratio values.

#### Reported extensions of the hadronic energy range

The paper also gives numerical boundaries for some of the hadronic implementations. The upper applicability energy of the Bertini Cascade implementation was extended to 10 GeV. The Binary Cascade gained pion-induced reactions up to 1.5 GeV, the upper limit quoted for pions in that approach given the treatment of strong resonances. The paper separately reports that changes to a scattering term extended its use for nucleon-induced reactions up to 8 GeV. That last value concerns the scattering treatment for a different projectile class.

Reported upper application energies for Geant4 cascade settings The Bertini extension reaches a higher stated energy than the Binary Cascade setting for pion-induced reactions.

**The numbers**

| System or setting | GeV |
| --- | --- |
| Binary Cascade for pion-induced reactions | 1.5 |
| Bertini Cascade implementation (this paper) | 10 |

The chart compares the extent of the reported applicability ranges. The Bertini value is given for the implementation in general, and the Binary value is specific to pion-induced reactions. A higher value on this metric means extension to a higher reported energy. The paper's verification of Bertini for isotope production concerns a separate aspect of its use. Choosing between implementations at an energy where their ranges overlap would require comparing the particular interaction or detector observable of interest.

#### What application examples and performance checks establish

The paper reports continuing checks of computing time using a test-beam setup and a more complex magnetic-field case. It also describes improved performance for field propagation, for low production thresholds in the standard electromagnetic package and for the rewritten Fermi breakup implementation. Saving physics tables is identified as a way to shorten startup for repeated use of the same configuration. These reports indicate where the collaboration changed the computation and what type of work the change affects. Comparative timings for these settings are left unspecified.

The advanced examples establish a different part of the toolkit's scope by demonstrating full applications. Detector examples cover calorimeters and a ring-imaging Cherenkov detector. Space examples include telescopes and the study of electrical charging by cosmic rays. Medical examples cover brachytherapy, hadrontherapy and intensity-modulated radiotherapy. Other examples pursue questions such as identifying material from characteristic X-ray fluorescence or examining radiation protection. Each illustrates how geometry, physics and analysis can be combined for a particular use. The comparisons with NIST and the calorimeter beam data supply the paper's more direct evidence about agreement with external measurements.

### What the ablations show

The paper offers no formal ablation study of the toolkit's new features, and its comparative analyses instead examine alternative electromagnetic implementations, different scales of hadronic validation and the behavior of selected physics configurations against reference data.

#### Vary the electromagnetic implementation

The Compton comparison is the closest example to a controlled substitution. The Standard, Low Energy EPDL and Low Energy Penelope implementations are judged against the same NIST reference for the stated process. This makes it possible to examine how the choice of implementation affects the agreement seen at different incident energies. The reported broad agreement can coexist with differences in where the implementations are most compatible with the reference. An application with a narrow energy range may therefore care about a part of the comparison that receives little emphasis in an overall judgment.

The comparison changes a physics implementation with its associated treatment of the process. As a consequence, the evidence attaches to that complete choice. An individual term or sampling strategy inside it would need its own controlled change to identify its contribution. The paper gives examples of such internal development, including the revised treatment of the angular tail in multiple scattering. It characterizes the resulting behavior as less dependent on step size and improved in the tail. The description identifies the numerical and physical properties that motivate the change, while the NIST comparison addresses a separate validation observable.

#### Hold the physics list constant across instruments

The calorimeter study keeps QGSP version 2.7 fixed and uses test-beam data from different detectors. This is useful for examining a shared physics choice under several setups. Similar agreement in part of the energy range is evidence that the choice can reproduce the stated response ratio in more than one calorimeter. The variation across instruments belongs to the combined setup, including its geometry, materials and measurement. Attribution to an individual hadronic component would require holding the detector fixed and changing that component or the Physics List.

Thin-target studies offer a complementary way to narrow the origin of a discrepancy. Their simpler environment permits a more direct comparison of a single interaction or effect. A calorimeter aggregates interactions and detector response, so several changes could influence the same observed quantity. Agreement at the detector level is evidence for the combined prediction under those conditions. A thin-target comparison makes a more local statement about the physical treatment, with a corresponding reduction in how much it says about a complete apparatus.

#### Separate settings that act on different parts of the calculation

The contrasting examples of a fine inner detector and a coarse outer detector explain the purpose of region-dependent thresholds. The change gives the experiment access to a setting with which it can retain more secondary tracking in one region than another. Similarly, the examples of muons and calorimeter electrons explain how field accuracy settings can follow the tracking requirements of a particle or volume. Both are analyses of where the work goes in a simulation. The paper demonstrates the design of the options through these cases and leaves the numerical consequences for the accuracy and runtime of a particular setup open.

Variance reduction addresses the size of the sampled contribution to an observable, and its benefit would be assessed through the precision obtained for the computing effort spent. The named methods establish which changes to sampling are available. The performance-monitoring configurations serve yet another function, tracking the cost of running representative programs as Geant4 changes. Taken together, these analyses locate several distinct sources of computing work. They supply mechanisms and test contexts for examining those costs, with quantitative validation concentrated on the selected physics comparisons.

### Limitations

#### Limits the authors identify

The authors emphasize the difficulty of choosing hadronic physics across particles, targets and energies. Lower-energy implementations can have restricted domains of approximate validity, and high-energy approaches offer different ways to represent the reaction. The supplied Physics Lists reduce the work involved in putting together a coherent set, while the suitability of the list remains tied to a use case. The paper's numerical bounds illustrate that point. The 1.5 GeV upper energy for pion-induced reactions in the Binary Cascade is connected to the available treatment of strong resonances for pions. It belongs to that projectile and approach.

The calorimeter comparison uses preliminary data. Evaluation of experimental systematic errors was underway, and the discussed 5% error bars were omitted. Systematic errors concern influences on the measurement that can affect its values in a common or structured way. Understanding those influences is important when deciding how much of a difference to attribute to physics in the simulation. The paper's judgment about agreement above 20 GeV is consequently a result for the comparisons shown at that stage of the analysis.

The authors also describe the example collection and physics validation as ongoing work. Further advanced examples were being developed, and the collaboration expected to continue checking physics against experiments. This is consistent with the division of labor described in the paper. Central comparisons can examine basic physical quantities across the toolkit, while user groups can report how complete simulations perform in particular detectors. The variety of use cases makes those efforts complementary.

#### Limits of the reported comparisons

The electromagnetic validation reports compatibility under a specified statistical procedure. A p-value is conditional on the null hypothesis and depends on the test statistic and the data used to compute it. Passing the 0.05 criterion provides a decision under that procedure. The probability that the physics is correct is a different question, and the physical magnitude of a deviation would need to be read from the underlying simulated and reference quantities. The general report of good agreement therefore has to be interpreted with the observable and incident energy in view.

The calorimeter observable is itself a ratio. Agreement in the relationship between electron and pion responses concerns a different question from agreement in each absolute response. The figure compares the ratios of simulation and data across three calorimeters, and the same QGSP configuration is used in each. This provides evidence about the stated response relationship under that physics choice. Separate measurements and comparisons would be needed to judge other aspects, such as the full distributions of detector response or the performance of a different list in the same instruments.

The reported energy extensions describe coverage. The upper energy of the Bertini implementation and the limit for pions in the Binary Cascade differ both in value and in the scope of the stated applicability. Their ordering says which reported boundary is higher. Accuracy at a common energy, the quality of a particular outgoing-particle distribution and the computing cost of the calculation would each require a comparison on its own metric. The paper's report about Bertini and isotope production addresses a named use, with numerical errors and experimental conditions left to a fuller validation account.

#### Limits of the software and performance evidence

The paper describes why regional production thresholds can save effort and why the precision of field integration can be adjusted selectively. The results of those choices depend on the application. Useful numerical evidence for a particular experiment would have to relate the settings to computing time and to a detector quantity sensitive to the change. The paper's illustrations identify the relevant settings and physical rationale. They leave such paired timing and detector-response measurements unspecified.

The same distinction applies to the new biasing options. Importance regions, weight controls and reaction biasing give applications ways to spend effort on histories that matter to an estimate. A measured gain would depend on the geometry, the observable and the chosen biasing scheme. The article by Allison and colleagues supplies a description of the facilities and names applications that can benefit. It leaves the obtainable precision and time savings for a specific configuration unquantified.

The distributed examples explain how event work can be sent to multiple processes and how the resulting hits can be collected. The event-level organization and automatic generation of marshalling code are concrete capabilities. Their performance depends on the time spent simulating events, sending data and gathering results. The paper gives neither a runtime series across computer counts nor a comparison with independent-job execution for a shared sample. Geometry developments have a similar evidentiary boundary. The authors report corrections to rare intersection errors and new ways to detect overlaps. The behavior of a particular imported or user-defined setup still depends on the geometry and on which checks and tolerances are applied.

#### Limits across application domains

The advanced examples show how a common toolkit can express many different experiments. A telescope simulation, an investigation of characteristic X-rays and a radiotherapy calculation exercise different particle sources, materials, physics and recording choices. Demonstrating how each application can be constructed establishes scope. The uncertainty attached to each prediction requires measurements suited to that application. The paper's strongest explicit validation claims concern specific electromagnetic reference comparisons and the stated test-beam result. Its broader examples document how users can bring other questions to the toolkit.

### What came after

The work described in the paper already had several paths into experimental use. The collaboration released the new capabilities as part of Geant4, and physics configurations assembled for particular applications gave users a starting point for their own measurements and checks. The paper describes Geant4 being used in large experimental productions and in smaller detector studies. It also describes its use in space applications and medical calculations. These are examples of adoption documented by the authors alongside the development work.

The authors expected development to continue in response to the experimental community. Feedback from users had already helped the collaboration refine the software and examine how it performed in particular applications. A group comparing a complete detector simulation with a beam measurement could contribute evidence about the combined setup. A collaboration study against reference data could help assess a specific physics treatment. The direction set out in the paper is to continue both kinds of validation as the available geometry, physics and run options expand.

The paper also describes examples that were still being developed to cover more realistic applications. Its account of HepMC input, geometry exchange, abstract analysis interfaces and distributed execution shows several ways in which a simulation could be integrated into a larger experiment. The historical record here ends with the developments, studies and plans reported by the collaboration. It leaves subsequent publications and their specific use of these contributions open.

## Cite

Cite as John E. Allison, K. Amako, J. Apostolakis, Henrique M. Araújo, Pedro E. Arce, Makoto Asai, Guy Barrand, R. Capra, Stéphane Chauvie, Radovan Chytracek, G.A.P. Cirrone, Gene D. Cooperman, G. Cosmo, G. Cuttone, G.G. Daquino, M. Dönszelmann, M. Dressel, G. Folger, Franca Foppiano, J. Generowicz, V. Grichine, Susanna Guatelli, P. Gumplinger, A. Heikkinen, I. Hřivnáčová, Alexander S. Howard, S. Incerti, V. Ivanchenko, Tony S. Johnson and F.W. Jones. 2006. Geant4 developments and applications. IEEE Transactions on Nuclear Science.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/tns.2006.869826](https://doi.org/10.1109/tns.2006.869826)

```bibtex
@article{allison2006geant4,
  title = {{Geant4 developments and applications}},
  author = {John E. Allison, K. Amako, J. Apostolakis, Henrique M. Araújo, Pedro E. Arce, Makoto Asai, Guy Barrand, R. Capra, Stéphane Chauvie, Radovan Chytracek, G.A.P. Cirrone, Gene D. Cooperman, G. Cosmo, G. Cuttone, G.G. Daquino, M. Dönszelmann, M. Dressel, G. Folger, Franca Foppiano, J. Generowicz, V. Grichine, Susanna Guatelli, P. Gumplinger, A. Heikkinen, I. Hřivnáčová, Alexander S. Howard, S. Incerti, V. Ivanchenko, Tony S. Johnson and F.W. Jones},
  journal = {IEEE Transactions on Nuclear Science},
  year = {2006},
  doi = {10.1109/tns.2006.869826},
  url = {https://doi.org/10.1109/tns.2006.869826}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
