Volume names not correctly set in GeoModelXml
In testing some new updates recently merged, I noticed that the ATLAS/Athena pipelines were failing for a number of ITk tests once I bumped the version of GeoModel
:
GeoModelXML-DEBUG: End of loop over children.
GeoModelSvc.ITk... ERROR Couldn't find the volume in the world hierarchy!
GeoModelSvc.ITk... FATAL Could not find the Top Volume!!!
GeoModelSvc ERROR Unable to create detector GeoModelSvc.ITkPixelDetectorTool
GeoModelSvc ERROR GeoModelSvc/src/GeoModelSvc.cxx:113 (StatusCode GeoModelSvc::initialize()): code FAILURE: geoInit()
GeoModelSvc INFO AlgTool: GeoModelSvc.ITkPixelDetectorTool
ServiceManager ERROR Unable to initialize Service: GeoModelSvc
In order to test why this is, I performed a full build of atlasexternals+athena
in order to be able to recreate the issue locally, and found that the problem is due to the volume name not being set correctly, and thus not being found here (after being set here). Instead of ITkPixel
as it should be, the volume is named ANON
.
I checked this also in standalone GeoModel, and see that the feature is there too (in gmex
under the Geo
tab the subsytem is named ANON
instead of ITkPixel
) - what is more, I had assumed that this was a result of my changes in !143 (merged) but I see that this issue is also present in the 4.3.1
tag, prior to my updates. In athena
we are still on 4.2.8
which does not have this problem (I haven't scanned through the intermediate tags to see where exactly this arose).
This will be an issue for moving to newer versions of GeoModel
in athena
and so needs to be resolved.