SCT_GeoModel: initialize and build detector description from SQLite file
This MR introduces the possibility to initialise and build the SCT geometry starting from an SQLite file that describes the raw geometry. In order to properly build the readout geometry a new argument of type GeoModelIO::ReadGeoModel* was added to the constructor of SCT_UniqueComponentFactory to distinguish the way the geometry is built:
- Null pointer: the geometry is built from GeometryDB (standard workflow)
- Otherwise the geometry is built from SQLite file (new DD workflow)
The standard workflow is not modified by this MR and the new dd workflow can be activated via job option. The code has been tested locally running a simulation job. The results when running the standard configuration are bitwise identical w.r.t the previous ones. With the new workflow configuration the simulation runs successfully to the end.
Edited by Marilena Bandieramonte