g4system
Loading...
Searching...
No Matches
g4system Geometry Builders

Builders that convert GEMC volume/material records into Geant4 geometry. More...

Collaboration diagram for g4system Geometry Builders:

Files

file  buildSolid.cc
 Implementation of the CAD-mesh solid builder for G4CadSystemFactory.
 
file  cadSystemFactory.h
 Factory that converts CAD files (PLY / STL) into Geant4 tessellated solids via CADMesh.
 
file  buildSolid.cc
 Implementation of G4NativeSystemFactory::buildSolid().
 
file  checkAndReturnParameters.cc
 Implementation of G4NativeSystemFactory helpers, including the parameter-count validator.
 
file  g4NativeObjectsFactory.h
 Factory that builds Geant4 native primitive solids (G4Box, G4Cons, G4Trap, ...) from GEMC GVolume records.
 
file  g4objectsFactory.cc
 Default implementations shared by all detector-specific factories.
 
file  g4objectsFactory.h
 Abstract factory that converts a GEMC DB GVolume into Geant4 objects.
 
file  geant4Dependencies.cc
 Dependency checks used by g4system factories before constructing solids and placements.
 
file  g4volume.cc
 Implementation of the small pointer-holder utilities in G4Volume.
 
file  g4volume.h
 Thin wrapper that stores the Geant4 solid/logical/physical triple for one GEMC volume.
 
file  g4world.cc
 Implementation of G4World, including factory creation, material building, and volume dependency resolution.
 
file  g4world.h
 High-level builder that turns a GEMC world description into Geant4 geometry.
 

Data Structures

class  G4CadSystemFactory
 Builds a tessellated solid from CAD files using CADMesh. More...
 
class  G4NativeSystemFactory
 Implements solid creation for Geant4 CSG primitives and validates constructor parameter counts. More...
 
class  G4ObjectsFactory
 Base class orchestrating the conversion of a GVolume into a Geant4 representation. More...
 
class  G4Volume
 Convenience container holding a Geant4 solid, logical, and physical volume. More...
 
class  G4World
 Builds a full Geant4 geometry "world" from a GEMC GWorld description. More...
 

Detailed Description

This group contains the world builder and object factories responsible for translating GEMC geometry records into:

The core design supports out-of-order construction by performing dependency checks and retrying volumes/materials until prerequisites (mother volume, copy-of source, boolean operands, etc.) are available.