The g4system module is the geometry factory layer that translates detector descriptions stored in databases (ASCII / SQLite / GDML / CAD) into runtime Geant4 volumes (solid/logical/physical).
The module is designed so that you can add new detector systems by implementing a factory and registering it, without changing the core world-building logic.
Additional keys contributed by gsystem::defineOptions() (e.g. sql, gsystem, experiment, runno) control what geometry is loaded and therefore indirectly affect this module.
Verbosity and debug output
Most classes in this module use the common logging infrastructure (classes derived from the logger-enabled base). The following behavior is typical:
Verbosity level 0 prints essential progress and high-level configuration (major steps, critical warnings).
Verbosity level 1 prints additional context useful during standard validation (counts, selected materials, basic dependency messages).
Verbosity level 2 prints detailed traces useful while developing geometry/factories (per-volume build results, dependency resolution steps, material/component listings).
Debug messages provide fine-grained diagnostics intended for development and troubleshooting, such as pointer assignments, dependency checks, and factory dispatch details.