Refactor code to read GeoDB
Move detector-specific code to read the geometry database into standalone "[Det]GeoDB.py" modules. Use this code both in the old jobproperties as well as in the new-style `AutoConfigFlags` to avoid the copy&paste of the same code. Also fix the caching of `AutoConfigFlags.GetDetDescrInfo` to make sure the geometry DB is only queried once per geometry tag.
Showing
- Control/AthenaConfiguration/python/AutoConfigFlags.py 32 additions, 177 deletionsControl/AthenaConfiguration/python/AutoConfigFlags.py
- DetectorDescription/GeoModel/AtlasGeoModel/python/CommonGMJobProperties.py 14 additions, 71 deletions...on/GeoModel/AtlasGeoModel/python/CommonGMJobProperties.py
- DetectorDescription/GeoModel/AtlasGeoModel/python/CommonGeoDB.py 24 additions, 0 deletions...rDescription/GeoModel/AtlasGeoModel/python/CommonGeoDB.py
- DetectorDescription/GeoModel/AtlasGeoModel/python/InDetGMJobProperties.py 15 additions, 90 deletions...ion/GeoModel/AtlasGeoModel/python/InDetGMJobProperties.py
- DetectorDescription/GeoModel/AtlasGeoModel/python/LArGMJobProperties.py 22 additions, 70 deletions...ption/GeoModel/AtlasGeoModel/python/LArGMJobProperties.py
- DetectorDescription/GeoModel/AtlasGeoModel/python/MuonGMJobProperties.py 16 additions, 43 deletions...tion/GeoModel/AtlasGeoModel/python/MuonGMJobProperties.py
- InnerDetector/InDetDetDescr/PixelGeoModel/python/PixelGeoDB.py 63 additions, 0 deletions...Detector/InDetDetDescr/PixelGeoModel/python/PixelGeoDB.py
- LArCalorimeter/LArGeoModel/LArGeoAlgsNV/python/LArGeoDB.py 32 additions, 0 deletionsLArCalorimeter/LArGeoModel/LArGeoAlgsNV/python/LArGeoDB.py
- MuonSpectrometer/MuonGeoModel/CMakeLists.txt 1 addition, 1 deletionMuonSpectrometer/MuonGeoModel/CMakeLists.txt
- MuonSpectrometer/MuonGeoModel/python/MuonGeoDB.py 25 additions, 0 deletionsMuonSpectrometer/MuonGeoModel/python/MuonGeoDB.py
Loading
Please register or sign in to comment