28 "Material to be used if some volume requested a non-defined material.\n\n";
29 help +=
"By default GEMC will exit with error.\n";
30 help +=
"Example: -useBackupMaterial=G4_Air\n";
31 goptions.defineOption(
GVariable(
"useBackupMaterial", std::nullopt,
"Backup material"), help);
34 goptions.defineSwitch(
"showPredefinedMaterials",
"log GEMC Predefined Materials");
35 goptions.defineSwitch(
"printSystemsMaterials",
"print the materials used in this simulation");
42 help =
"Check for overlaps at physical volume construction.\n\n";
43 help +=
"Possible values are:\n";
44 help +=
" - 0 (default): no check.\n";
45 help +=
" - 1: enable the G4PVPlacement surface overlap check (pSurfChk) at volume placement.\n";
46 help +=
" - 2: use the geant4 overlap validator with the default number of points on the surface\n";
47 help +=
" - Any N greater than 100: use the geant4 overlap validator with N points on the surface\n \n";
48 help +=
"Example: -check_overlaps=1\n";
Option definitions for the g4system module (geometry/material construction layer).
constexpr const char * G4SYSTEM_LOGGER
Logger name used by the module-level builder (e.g. G4World).
constexpr const char * G4SFACTORY_LOGGER
Logger name used by object factories (e.g. G4ObjectsFactory derived classes).
GOptions defineOptions()
Define command-line/configuration options for the g4system module.