Content
Introduction
Application Download Exercises Gallery Exercises |
IntroductionA Geant4 application example is provided, which serves as basis of the exercises. The same example is used as a starting point for each day, but the focus is on different parts of the application according to the specific topics presented in the morning lectures. Each day, the exercises include the modification and/or extension of a few classes of the simulation application. A webpage was prepared for each exercise session, including instructions and hints, and links to solutions (which are only available after a given time interval). For each day, the exercises are grouped into several categories, which may cover different topics. Links to the webpage for each day's exercise instructions can be found in the panel on the left. On the panel you can also find useful links, e.g. to the Geant4 software reference manual (online) or the Geant4 application developers manual. Example ApplicationThe Geant4 simulation example used in the exercises models a simple box-shaped silicon detector. An electron beam is shot onto the detector; the energy distribution of the beam is a Gaussian. The following beam parameters can be changed via macro commands
The geometry is illustrated in the below figure (click on the figure to enlarge it (.gif format). Alternatively, click here to get a high-resolution EPS plot of the geometry, or here for a PDF file).
The physics setup is organized in a modular physics list with the following components:
For each item a physics constructor exists, where the physics components must be explicitly activated in the macro file. For some components several physics constructors are implemented, including alternative physics models or processes. Download Instructions and Environment SetupPerform the following steps to prepare the environment:
ExercisesPlease note, that some exercises rely on the successful completion of previous exercises, i.e. previously introduced functionalities might be used at a later stage. These mandatory exercises are marked with a star next to the exercise number (*). If you don't manage to complete them by your own, try to understand the provided solutions and introduce the requested functionality into your code. GalleryThe following pictures show detector of the application example (the pictures were obtained with different visualization tools: VRML and Ray tracer). |