22#include <unordered_map>
48 [[nodiscard]] std::string_view
className()
const override {
return "G4CadSystemFactory"; }
71 std::unordered_map<std::string, G4Volume*>* g4s)
override;
Builds a tessellated solid from CAD files using CADMesh.
std::string_view className() const override
Factory label used in logs.
G4VSolid * buildSolid(const GVolume *s, std::unordered_map< std::string, G4Volume * > *g4s) override
Create (or fetch) a tessellated solid from a CAD file.
Base class orchestrating the conversion of a GVolume into a Geant4 representation.
G4ObjectsFactory(const std::shared_ptr< GOptions > &g)
Construct a factory using the global option set.
Abstract factory that converts a GEMC DB GVolume into Geant4 objects.