The class diagram of a basic Geant4 application is shown below.
Geant4 Advanced Examples are based on a similar design; the detailed design of each example is available from the overview web page.