Skip to content

Files

Latest commit

 

History

History

examples

-------------------------------------------------------------------

     =========================================================
     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.

The "basic" set of examples is oriented to novice users and covering 
the most typical use-cases of a Geant4 application with keeping simplicity 
and ease of use.

An "extended" set of examples may require some additional libraries besides 
of Geant4. This set covers many specific use cases for actual detector 
simulation. 

An "advanced" set of examples covers the use-cases typical of a 
"toolkit"-oriented kind of development, where real complete applications 
for different simulation studies are provided; may require additional third 
party products to be built.

Most of the examples can be run both in interactive and batch mode, and 
input macro files (*.in) and reference output files (*.out) are provided.
See the detailed instructions how to build and how to run an example
in README.HowToRun and README.HowToRunTestEm1. Several tips how to run 
an example in multi-threading mode can be found in README.HowToRunMT.

Basic and most of the extended examples are considered part of the
system testing suite for validation of the official releases of the
GEANT4 toolkit. Basic and some of the extended and advanced
examples are also used as "acceptance"-tests for the release process.

The previous set of examples oriented to novice users, "novice",
has been refactored in "basic" and "extended" examples sets in Geant4 10.0.
The source code of the last version of the original novice examples set 
(in 9.6.p02 release) can be viewed in the Geant4 LXR code browser:
  http://www-geant4.kek.jp/lxr/source/examples/novice/?v=9.6.p2

And more on what is common for all examples:
- README.HowToRun
- README.HowToRunMT

Web: https://geant4-userdoc.web.cern.ch/Doxygen/examples_doc/html/index.html