44 void loadMaterials(
GSystem* system)
override;
57 void loadMirrors(
GSystem* system)
override;
67 void loadGeometry(
GSystem* system)
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";
virtual void closeSystem()
Factory cleanup hook.
GSystemFactory(const std::shared_ptr< GOptions > &g)
Construct the factory with shared configuration.
Load a GSystem from a sqlite database.
GSystemFactory(const std::shared_ptr< GOptions > &g)
Construct the factory with shared configuration.
Represents a single detector system (e.g., calorimeter, tracker).