43 void loadMaterials(
GSystem* system)
override;
53 void loadGeometry(
GSystem* system)
override;
61 void closeSystem()
override;
72 bool table_exists(sqlite3* db,
const char* name);
86 void initialize_sqlite_db(
GSystem* system);
88 sqlite3* db =
nullptr;
89 std::string system_name =
"na";
90 std::string dbhost =
"na";
91 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).