Set default filenames for pixel XML
The pixel layout building relies on environment variables to determine which XML files it should load for building the various parts of the geometry. In some circumstances (such as when running with valgrind) these environment variables are not set when the tools are called and so the geometry building fails. The changes here set some default filenames to be used if the environment variables aren't available, such that at least the latest geometries can successfully be run with valgrind.
As an aside, this reliance on environment variables seems a very fragile system (as shown by the issue which prompted this change), and it would be better to set the filenames via jobProperties. However, since the classes responsible for reading the XML files don't derive from any Athena base class, this is not simple to do (would have to be passed through via a config object from a tool that can have properties set the normal way). Since we plan to deprecated this pixel framework in future, this is probably not the highest priority to do at the moment.
Merge request reports
Activity
added 21.9 label
This merge request affects 11 files:
- InnerDetector/InDetDetDescr/PixelLayouts/BCMPrime/src/BCMPrimeXMLHelper.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/BarrelInclinedRef/src/GeoPixelEnvelopeExtInclTool.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/BarrelInclinedRef/src/PixelInclRefStaveXMLHelper.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/EndcapRingRef/src/PixelRingSupportXMLHelper.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/PixelGeoModelModule/src/GeoDetModulePixel.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/PixelGeoModelModule/src/GeoDetModulePixelMap.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/PixelLayoutECRing/src/PixelRingSupportXMLHelper.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/PixelLayoutUtils/src/PixelGeneralXMLHelper.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/PixelModuleTool/src/PixelDesignBuilder.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/PixelServicesTool/src/PixelRoutingServiceXMLHelper.cxx
- InnerDetector/InDetDetDescr/PixelLayouts/PixelServicesTool/src/PixelSimpleServiceXMLHelper.cxx
added InnerDetector review-pending-level-1 labels
CI Result SUCCESS (hash 4ed4ef75)Athena externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 149
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 45108]added review-approved label and removed review-pending-level-1 label
mentioned in commit 2a2851d8
added sweep:ignore label
mentioned in merge request !39163 (merged)