View on GitHub

Geant4 Zero to Hero

The Definitive Guide for End Users

Geant4 User Interface (UI)

Macro Shine

Shine: a Web UI for Geant4

It is the user’s responsibility to provide a detector model for a Geant4 simulation. The [Geant4 User Guide for Application Developers] provides detailed instruction on how to program detector definition and response in C++. Again, end users are forced to become application developers if they choose to go that route.

Fortunately, Geant4 also allows end users to write their detector definition in

Their difference is similar to that between [markdown][md] and [HTML][]. The detector definition in [plain text][tg] is the easiest to learn.

However, writing in a text file is not the most intuitive way to construct and debug 3D geometries. A graphic user interface (UI) is better suited for this task. [Shine][] is such a UI on the web. One can use the mouse to select, place, rotate basic shapes on a canvas, and export the constructed detector model to a [plain text file][tg] called detector.tg, which can be read by a Geant4 application that is configured to accept detector definition in plain text format.

Shine: a Web UI for Geant4