g4system
Loading...
Searching...
No Matches
g4system Namespace Reference

Functions

GOptions defineOptions ()
 Define command-line/configuration options for the g4system module.

Variables

constexpr char G4SYSTEMNATFACTORY [] = "native"
constexpr char G4SYSTEMCADFACTORY [] = "cad"
constexpr char G4SYSTEMGDMFACTORY [] = "gdml"
constexpr int ERR_G4DEPENDENCIESNOTSOLVED
 Geometry/material dependencies could not be resolved.
constexpr int ERR_G4WRONGORDEREDROTATION = 502
 Rotation specification was malformed or unsupported.
constexpr int ERR_G4PARAMETERSMISMATCH
 Solid parameter count/format did not match expected constructors.
constexpr int ERR_G4SYSTEMFACTORYNOTFOUND
 A required Geant4 system factory was not found/mapped.
constexpr int ERR_G4MATERIALNOTFOUND = 505
 Material lookup failed and no fallback was available.
constexpr int ERR_G4SOLIDTYPENOTFOUND
 Requested solid type is not supported by the native factory.
constexpr int ERR_G4VOLUMEBUILDFAILED
 A volume could not be fully built (solid/logical/physical).
constexpr int ERR_G4MIRRORNOTFOUND
 A volume references a mirror that is not defined in its system.
constexpr int ERR_G4SURFACECONFIGINVALID
 Optical surface type/finish/model/properties are invalid.
constexpr char HYDROGEN_ELEMENT [] = "Hydrogen"
constexpr char DEUTERON_ISOTOPE [] = "Deuteron"
constexpr char DEUTERIUM_ELEMENT [] = "Deuterium"
constexpr char HGAS_MATERIAL [] = "HydrogenGas"
constexpr char DEUTERIUMGAS_MATERIAL [] = "DeuteriumGas"
constexpr char LD2_MATERIAL [] = "LD2"
constexpr char NITRO_ELEMENT [] = "Nitrogen"
constexpr char ND3_MATERIAL [] = "ND3"
constexpr char HELION_ISOTOPE [] = "Helion"
constexpr char HELIUM3_ELEMENT [] = "Helium3"
constexpr char HELIUM3GAS_MATERIAL [] = "Helium3Gas"
constexpr char TRITON_ISOTOPE [] = "Triton"
constexpr char TRITIUM_ELEMENT [] = "Tritium"
constexpr char TRITIUMGAS_MATERIAL [] = "H3Gas"
constexpr char AIROPTICAL_MATERIAL [] = "G4_AIR_Optical"
constexpr char KRYPTONITE_MATERIAL [] = "Kryptonite"

Function Documentation

◆ defineOptions()

GOptions g4system::defineOptions ( )

The returned option set includes:

  • module loggers and their verbosity control
  • geometry/material related diagnostic switches
  • overlap checking configuration
  • optional backup material used when a requested material does not exist

This is typically passed to the global GOptions constructor so that options are registered before any geometry building begins.

Returns
A fully-populated option definition set for this module.

Definition at line 18 of file g4system_options.cc.

Variable Documentation

◆ AIROPTICAL_MATERIAL

char g4system::AIROPTICAL_MATERIAL[] = "G4_AIR_Optical"
inlineconstexpr

Definition at line 56 of file g4systemConventions.h.

◆ DEUTERIUM_ELEMENT

char g4system::DEUTERIUM_ELEMENT[] = "Deuterium"
inlineconstexpr

Definition at line 44 of file g4systemConventions.h.

◆ DEUTERIUMGAS_MATERIAL

char g4system::DEUTERIUMGAS_MATERIAL[] = "DeuteriumGas"
inlineconstexpr

Definition at line 46 of file g4systemConventions.h.

◆ DEUTERON_ISOTOPE

char g4system::DEUTERON_ISOTOPE[] = "Deuteron"
inlineconstexpr

Definition at line 43 of file g4systemConventions.h.

◆ ERR_G4DEPENDENCIESNOTSOLVED

int g4system::ERR_G4DEPENDENCIESNOTSOLVED
inlineconstexpr
Initial value:
=
501

Definition at line 24 of file g4systemConventions.h.

◆ ERR_G4MATERIALNOTFOUND

int g4system::ERR_G4MATERIALNOTFOUND = 505
inlineconstexpr

Definition at line 31 of file g4systemConventions.h.

◆ ERR_G4MIRRORNOTFOUND

int g4system::ERR_G4MIRRORNOTFOUND
inlineconstexpr
Initial value:
=
507

Definition at line 36 of file g4systemConventions.h.

◆ ERR_G4PARAMETERSMISMATCH

int g4system::ERR_G4PARAMETERSMISMATCH
inlineconstexpr
Initial value:
=
503

Definition at line 27 of file g4systemConventions.h.

◆ ERR_G4SOLIDTYPENOTFOUND

int g4system::ERR_G4SOLIDTYPENOTFOUND
inlineconstexpr
Initial value:
=
506

Definition at line 32 of file g4systemConventions.h.

◆ ERR_G4SURFACECONFIGINVALID

int g4system::ERR_G4SURFACECONFIGINVALID
inlineconstexpr
Initial value:
=
508

Definition at line 38 of file g4systemConventions.h.

◆ ERR_G4SYSTEMFACTORYNOTFOUND

int g4system::ERR_G4SYSTEMFACTORYNOTFOUND
inlineconstexpr
Initial value:
=
504

Definition at line 29 of file g4systemConventions.h.

◆ ERR_G4VOLUMEBUILDFAILED

int g4system::ERR_G4VOLUMEBUILDFAILED
inlineconstexpr
Initial value:
=
506

Definition at line 34 of file g4systemConventions.h.

◆ ERR_G4WRONGORDEREDROTATION

int g4system::ERR_G4WRONGORDEREDROTATION = 502
inlineconstexpr

Definition at line 26 of file g4systemConventions.h.

◆ G4SYSTEMCADFACTORY

char g4system::G4SYSTEMCADFACTORY[] = "cad"
inlineconstexpr

Definition at line 20 of file g4systemConventions.h.

◆ G4SYSTEMGDMFACTORY

char g4system::G4SYSTEMGDMFACTORY[] = "gdml"
inlineconstexpr

Definition at line 21 of file g4systemConventions.h.

◆ G4SYSTEMNATFACTORY

char g4system::G4SYSTEMNATFACTORY[] = "native"
inlineconstexpr

Definition at line 19 of file g4systemConventions.h.

◆ HELION_ISOTOPE

char g4system::HELION_ISOTOPE[] = "Helion"
inlineconstexpr

Definition at line 50 of file g4systemConventions.h.

◆ HELIUM3_ELEMENT

char g4system::HELIUM3_ELEMENT[] = "Helium3"
inlineconstexpr

Definition at line 51 of file g4systemConventions.h.

◆ HELIUM3GAS_MATERIAL

char g4system::HELIUM3GAS_MATERIAL[] = "Helium3Gas"
inlineconstexpr

Definition at line 52 of file g4systemConventions.h.

◆ HGAS_MATERIAL

char g4system::HGAS_MATERIAL[] = "HydrogenGas"
inlineconstexpr

Definition at line 45 of file g4systemConventions.h.

◆ HYDROGEN_ELEMENT

char g4system::HYDROGEN_ELEMENT[] = "Hydrogen"
inlineconstexpr

Definition at line 42 of file g4systemConventions.h.

◆ KRYPTONITE_MATERIAL

char g4system::KRYPTONITE_MATERIAL[] = "Kryptonite"
inlineconstexpr

Definition at line 57 of file g4systemConventions.h.

◆ LD2_MATERIAL

char g4system::LD2_MATERIAL[] = "LD2"
inlineconstexpr

Definition at line 47 of file g4systemConventions.h.

◆ ND3_MATERIAL

char g4system::ND3_MATERIAL[] = "ND3"
inlineconstexpr

Definition at line 49 of file g4systemConventions.h.

◆ NITRO_ELEMENT

char g4system::NITRO_ELEMENT[] = "Nitrogen"
inlineconstexpr

Definition at line 48 of file g4systemConventions.h.

◆ TRITIUM_ELEMENT

char g4system::TRITIUM_ELEMENT[] = "Tritium"
inlineconstexpr

Definition at line 54 of file g4systemConventions.h.

◆ TRITIUMGAS_MATERIAL

char g4system::TRITIUMGAS_MATERIAL[] = "H3Gas"
inlineconstexpr

Definition at line 55 of file g4systemConventions.h.

◆ TRITON_ISOTOPE

char g4system::TRITON_ISOTOPE[] = "Triton"
inlineconstexpr

Definition at line 53 of file g4systemConventions.h.