77 loadMaterials(system);
102 virtual void loadMaterials(
GSystem* system) = 0;
114 virtual void loadGeometry(
GSystem* system) = 0;
std::shared_ptr< GLogger > log
void info(int level, Args &&... args) const
Abstract base class for loading a GSystem from a specific source.
virtual void closeSystem()
Factory cleanup hook.
std::vector< std::string > possibleLocationOfFiles
List of candidate directories used by file-based factories.
void loadSystem(GSystem *system)
Load a system by invoking the concrete factory steps.
void addPossibleFileLocation(const std::string &fl)
Add a candidate directory for file searches.
~GSystemFactory() override=default
GSystemFactory(const std::shared_ptr< GOptions > &g)
Construct the factory with shared configuration.
Represents a single detector system (e.g., calorimeter, tracker).
std::string getFactoryName() const
std::string getName() const
std::string get_dbhost() const
Option definitions and extraction helpers for the gsystem module.
constexpr const char * GSFACTORY_LOGGER
std::filesystem::path gemc_root()