  | 
			Parent directory | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
 
                         Examples module
 
This module collects three sets of user examples aimed to demonstrate to
the user how to make correct use of the GEANT4 toolkit by implementing
in a correct way those user-classes which the user is supposed to
customize in order to define his/her own simulation setup. 
SEE ALSO: README
  | 
		
		
			  | 
			analysis/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
                Geant4 extended examples - analysis
 
 Examples in this directory demonstrate how to make histograms and ntuples
 
AnaEx01
 
 Simple example showing use of g4tools.
 
AnaEx02 
SEE ALSO: README
  | 
		
		
			  | 
			biasing/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
               Examples for event biasing: B01, B02 and B03
 
B01, B02 and B03 applications demonstrate the usage of different variance
reduction techniques supported in Geant4, or possible from the user
applications.
 
General remark to variance reduction 
SEE ALSO: README
  | 
		
		
			  | 
			common/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
 
                Common Classes for Extended Examples
 
  This example includes a set of classes independent on each other which
  can be reused in "feature" examples demonstrating just a particular feature
  or users applications.
 
  It provides the following sets of classes: 
SEE ALSO: README
  | 
		
		
			  | 
			electromagnetic/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
 
                            TestEm by theme
 
  |			Check basic quantities				   |	
  |------------------------------------------------------------------------|
  | Total cross-sections, mean free paths ...	| Em0 Em13 Em14		   |
  |------------------------------------------------------------------------|
  | Stopping power, particle range ...      	| Em0 Em1 Em5 Em11 Em12	   |
  |------------------------------------------------------------------------|
  | Final state :				|			   |
  |  energy spectra, angular distributions ...  | Em14			   |
  |------------------------------------------------------------------------|
  | Energy loss fluctuations      		| Em18			   |
   
SEE ALSO: README
  | 
		
		
			  | 
			errorpropagation/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
        Geant4 extended examples - errorpropagation
 
 Examples in this directory demonstrate the use of the error propagation utility.
 Currently, only one example is provided:
 
errProp
 
This example demonstrates how to use the error propagation utility.
  | 
		
		
			  | 
			eventgenerator/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
        Geant4 extended examples - event generator
 
 Examples in this directory demonstrate various ways of primary event
 generation.
 
particleGun
 
This example demonstrate 4 ways of the usage of G4ParticleGun shooting
primary particles in different cases. 
SEE ALSO: README
  | 
		
		
			  | 
			exoticphysics/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
        Geant4 extended examples - exotic physics
 
 Examples in this directory demonstrate exotic physics applications. 
 Currently, four examples are provided:
 
channeling 
SEE ALSO: README
  | 
		
		
			  | 
			field/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
        Geant4 extended examples - field
 
 Examples in this directory demonstrate specific simulation setups
 in magnetic field.
 
field01
 
Example enabling investigation of tracking in a magnetic field. 
SEE ALSO: README
  | 
		
		
			  | 
			g3tog4/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
                         G3toG4 tool's examples
 
This directory g3tog4 includes applications to demonstrate the usage of the
g3tog4 tool for converting Geant 3.21 simple geometries to Geant4 ones.
Currently, only one example is provided:
 
clGeometry
 
It demonstrates building a detector geometry using the call list
mechanism.
  | 
		
		
			  | 
			geometry/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
              Geometry tools
 
This directory includes examples for the geometry setup.
 
Transforms
 
This extended example demonstrates various ways of definition of 
3D transformations for placing volumes. 
 
vecGeomNavigation
 
This example demonstrates integration of the navigation elements of
[VecGeom](https://gitlab.cern.ch/VecGeom/VecGeom), to investigate the
performance benefits.
  | 
		
		
			  | 
			hadronic/ | 
			- | 
			2025-11-03 08:01:08  | 
			  | 
			
        Geant4 extended examples - Hadronic processes
 
 Examples in this directory demonstrate specific hadronic physics simulation 
 with histogramming.
 
Hadr00
 
This example demonstrates a usage of G4PhysListFactory to build 
Physics List and G4HadronicProcessStore to access cross sections. 
SEE ALSO: README
  | 
		
		
			  | 
			medical/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
        Geant4 extended examples - medical
 
 Specific examples for medical physics applications are demonstarted 
 in this directory. 
 
DICOM 
SEE ALSO: README
  | 
		
		
			  | 
			optical/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
                         Optical processes
 
This directory includes examples demonstrating the use of optical processes
in the simulation.
 
OpNovice 
SEE ALSO: README
  | 
		
		
			  | 
			parallel/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
                        Examples for event parallelism
 
This directory includes example applications to demonstrate the usage of
different techniques for achieving event parallelism with Geant4.
 
- MPI is a native interface with MPI libraries. The directory contains 
  a Geant4 UI library and a couple of parallelized examples.
  Using this interface, users applications can be parllelized with 
  different MPI compliant libraries, such as LAM/MPI, MPICH2, OpenMPI,
  and so on.
  | 
		
		
			  | 
			parameterisations/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
        Geant4 extended examples - parameterisations
 
 Examples in this directory demonstrate use of parameterisation libraries. 
 Currently, two examples are provided:
 
 Par01 
SEE ALSO: README
  | 
		
		
			  | 
			persistency/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
                        Geant4 Persistency Examples
 
This directory contains a set of persistency examples.
 
   P01        Root I/O example for storing and retrieving calorimeter hits.
   P02        Root I/O example for storing and reading geometry objects.
   P03        Example of detector geometry persistency in ASCII text format.
 
   gdml       Set of examples showing usage of the GDML plugin module in Geant4.
 
See the README file inside each example for more detail.
  | 
		
		
			  | 
			physicslists/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
                Geant4 extended examples - physicslists
 
 Examples in this directory demonstrate usage of Geant4 reference physics lists
 and physics builders.
 
 factory
 
 Demonstrates the usage of G4PhysListFactory to build  the concrete physics list
 
 extensibleFactory
 
 Demonstrates the usage of extensible g4alt::G4PhysListFactory to build a
 concrete physics list.  It also demonstrates the setting of an alternative
 "default" physics list; extending existing lists by adding/replacing physics
 constructors; and extending the factory with user supplied physics lists.
 
 genericPL
 
 Demonstrates the usage of G4GenericPhysicsList to build  the concrete physics
 list at the run time.
  | 
		
		
			  | 
			polarisation/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
        Geant4 extended examples - polarisation
 
 Examples in this directory demonstrate use of physics processes including 
 polarization.
 Currently, only one example is provided:
 
Pol01
 
This example demonstrates how to compute and plot the QED processes including 
polarization.
  | 
		
		
			  | 
			radioactivedecay/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
                Geant4 extended examples - radioactive decay
 
 Examples in this directory demonstrate the use of some features of the
 Radioactive-Decay hadronic model in Geant4.
 
rdecay01
 
 This example allows to display basic features of the radioactive decay
 of a nuclei: energy spectrum of emitted particles, time of life, activity.
 
rdecay02
 
 This example illustrates more advanced features of the package:
 selected decay channels, time window, bias and variance reduction technique.
 
Activation
 
 Compute and plot time evolution of each nuclide in an hadronic cascade.
 Compute and plot activity of emerging particles.
  | 
		
		
			  | 
			runAndEvent/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
        Geant4 extended examples - run and event
 
 Examples in this directory demonstrate the use of some features in
Run and Event categories. Since these categories are on the top of
hierarchy of Geant4 structure to control the full functionarities of
Geant4, some examples contain features in other categories such as
Tracking, Track, Particles, Detector responces, and even some cases
Geometry and Processes. 
SEE ALSO: README
  | 
		
		
			  | 
			visualization/ | 
			- | 
			2025-11-03 08:01:09  | 
			  | 
			
        Geant4 extended examples - visualization
 
Examples in this directory demonstrate the use of Geant4 visualization.
 
standalone
 
This example illustrates how one might use the Geant Visualization
System as a "stand alone" graphics library and viewer.
 
perspective
 
This example is another example of using the Geant Visualization
System as a "stand-alone" graphics library and viewer. 
 
userVisAction
 
This example illustrates how to create a "vis action".
 
movies
 
This example illustrates how to create movies.
  | 
		
		
			  | 
			CMakeLists.txt | 
			725  bytes | 
			2025-11-03 08:01:08  | 
			-  | 
			  | 
		
		
			  | 
			History | 
			870  bytes | 
			2025-11-03 08:01:08  | 
			-  | 
			  |