12.07.2015 Views

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

Geant4 User's Guide for Application Developers - Geant4 - CERN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9. Examples9.1. Novice ExamplesThe <strong>Geant4</strong> toolkit includes several fully coded examples which demonstrate the implementation of the user classesrequired to build a customized simulation. Seven "novice" examples are provided ranging from the simulationof a non-interacting particle and a trivial detector, to the simulation of electromagnetic and hadronic physicsprocesses in a complex detector. Each example may be used as a base from which more detailed applicationscan be developed. A set of "extended" examples implement simulations of actual high energy physics detectorsand require some libraries in addition to those of <strong>Geant4</strong>. The "advanced" examples cover cases useful to thedevelopement of the <strong>Geant4</strong> toolkit itself.The examples can be compiled and run without modification. Most of them can be run both in interactive andbatch mode using the input macro files (*.in) and reference output files (*.out) provided. These examples arerun routinely as part of the validation, or testing, of official releases of the <strong>Geant4</strong> toolkit.9.1.1. Novice Example SummaryDescriptions of the 7 novice examples are provided here along with links to the code.ExampleN01 (Description below)• Mandatory user classes• Demonstrates how <strong>Geant4</strong> kernel worksExampleN02 (Description below)• Simplified tracker geometry with uni<strong>for</strong>m magnetic field• Electromagnetic processesExampleN03 (Description below)• Simplified calorimeter geometry• Electromagnetic processes• Various materialsExampleN04 (Description below)• Simplified collider detector with a readout geometry• Full ``ordinary'' processes• PYTHIA primary events• Event filtering by stackExampleN05 (Description below)• Simplified BaBar calorimeter• EM shower parametrisationExampleN06 (Description below)• Optical photon processesExampleN07 (Description below)• Geometrical Regions <strong>for</strong> production thresholds270

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!