44 void loadMaterials(
GSystem* system)
override;
57 void loadMirrors(
GSystem* system)
override;
67 void loadGeometry(
GSystem* system)
override;
75 void closeSystem()
override;
86 bool table_exists(sqlite3* db,
const char* name);
100 void initialize_sqlite_db(
GSystem* system);
102 sqlite3* db =
nullptr;
103 std::string system_name =
"na";
104 std::string dbhost =
"na";
105 std::string variation =
"default";
Abstract base class for loading a GSystem from a specific source.
GSystemFactory(const std::shared_ptr< GOptions > &g)
Construct the factory with shared configuration.
Load a GSystem from a sqlite database.
Represents a single detector system (e.g., calorimeter, tracker).