Skip to content

New Detector Description. Configuration updates

Vakhtang Tsulaia requested to merge tsulaia/athena:main-geoparams-sqlite into main

The main goal of this MR is to implement the mechanism of accessing SQLite Geometry Database files by Athena, as it is described in The software description of the ATLAS Detector: Procedures and Roles document (see the sections 2.2, 2.3, and 2.3.1). As discussed on ATLINFR-5186, the SQLite files will be installed on CVMFS at /cvmfs/atlas.cern.ch/repo/sw/database/GroupData/Geometry. This allows us to automatically replicate them to Point1, and to access them in Athena using PathResolver mechanisms.

The default location of SQLite files can be overridden by pre-pending local paths to the DATAPATH environment, as described in the Procedures and Roles Document.

This MR contains several changes:

  1. Extended the mechanism of peeking into the geometry database from Python (AutoConfigFlags.py) to work with SQLite databases.
  2. Added a new boolean argument to job transforms: --geometrySQLite to switch between the legacy and the new detector descriptions for the given geometry layout
  3. Updated GeoModelSvc to construct the full path to the SQLite file from the geometry tag and the DATAPATH environment

Also, several tests have been updated:

  1. The one and only ART test that runs with the SQLite Geometry DB: test_MC21_FullG4MT_QS_SQLiteGeoM_ttbar.sh. Given for the time being we have no database files installed on the default CVMFS location, this test still gets ints input SQLite file using wget.
  2. MuonGeoModelTestR4/testGeoModel.py. This test has been updated to work with the new way of accessing SQLite files. However, it is expected that this test will fail until its input SQLite file gets re-generated. CC @jojungge
  3. InDetDetDescrExample/RunPrintSiDetElements.py. This test has been updated to work with the new way of accessing SQLite files. I have not tested my changes, though. @nstyles @tadej any suggestions?
  4. Several Tile Tests have been updated to work with the new way of accessing SQLite files. @rbianchi you are the author of these tests. Are they still useful? If so, any suggestions on how to test them?

Marking this MR as Draft until I get some feedback on the above.

CC @boudreau

Merge request reports