MuonGeoModel - Do not add the auxillary GeoModelTrees to the world volume
In the current MuonGeoModel, the readout geometry is rebuilt every time when the alignment IOV boundaries are crossed. Usually, that's happening once in a job or so. However, the auxillary GeoModel tree is appended to the root volume node of ATLAS. That's causing a problem if the input data is kind of shuffled as it's in the Mdt calibration stream and the geometry is rebuilt again and again. This patch completely disconnects the auxillary GeoModel tree from the ATLAS world volume and should hence ensure that the auxillary GeoModel tree is deleted once the alignment IOVs go out of scope. The useage of PVLink already assumes the smart pointer useage which is coming with !68268 (merged).
Merge request reports
Activity
added full-unit-tests label
added MuonSpectrometer main review-pending-level-1 labels
added full-build label
removed full-build label
CI Result FAILURE (hash 8ece2b1a)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 1, warnings 0
AthSimulation: number of compilation errors 1, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 4214] CI Result FAILURE (hash 6b70a1bc)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 1, warnings 0
AthSimulation: number of compilation errors 1, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 4215] CI Result FAILURE (hash 8719171e)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 1, warnings 0
AthSimulation: number of compilation errors 1, warnings 2
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 4213]MR is given back to the developer due to CI failures.
From the log there is the output
/var/lib/jenkins/workspace/CI-MERGE-REQUEST-EL9/main/MuonSpectrometer/MuonGeoModel/src/MuonDetectorTool.cxx:151:15: error: 'PVLink' {aka 'class GeoPVLink'} has no member named 'reset' 151 | world.reset(new GeoPhysVol(world->getLogVol())); | ^~~~~ /var/lib/jenkins/workspace/CI-MERGE-REQUEST-EL9/main/MuonSpectrometer/MuonGeoModel/src/MuonDetectorTool.cxx:166:25: error: cannot convert 'PVLink' {aka 'GeoPVLink'} to 'GeoPhysVol*' 166 | theFactory.create(world); | ^~~~~ | | | PVLink {aka GeoPVLink} In file included from /var/lib/jenkins/workspace/CI-MERGE-REQUEST-EL9/main/MuonSpectrometer/MuonGeoModel/src/MuonDetectorTool.cxx:18: /var/lib/jenkins/workspace/CI-MERGE-REQUEST-EL9/main/MuonSpectrometer/MuonGeoModel/MuonGeoModel/MuonDetectorFactoryLite.h:30:41: note: initializing argument 1 of 'virtual void MuonGM::MuonDetectorFactoryLite::create(GeoPhysVol*)' 30 | virtual void create(GeoPhysVol *world) override; | ~~~~~~~~~~~~^~~~~ /var/lib/jenkins/workspace/CI-MERGE-REQUEST-EL9/main/MuonSpectrometer/MuonGeoModel/src/MuonDetectorTool.cxx:313:31: error: cannot convert 'PVLink' {aka 'GeoPVLink'} to 'GeoPhysVol*' 313 | theFactory.create(world); | ^~~~~ | | | PVLink {aka GeoPVLink} In file included from /var/lib/jenkins/workspace/CI-MERGE-REQUEST-EL9/main/MuonSpectrometer/MuonGeoModel/src/MuonDetectorTool.cxx:17: /var/lib/jenkins/workspace/CI-MERGE-REQUEST-EL9/main/MuonSpectrometer/MuonGeoModel/MuonGeoModel/MuonDetectorFactory001.h:33:41: note: initializing argument 1 of 'virtual void MuonGM::MuonDetectorFactory001::create(GeoPhysVol*)' 33 | virtual void create(GeoPhysVol *world) override;
Cheers, Yuriy (L1)
added review-user-action-required label
removed review-pending-level-1 label
added review-pending-level-1 label and removed review-user-action-required label
CI Result FAILURE (hash 6b70a1bc)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 1, warnings 2
AthSimulation: number of compilation errors 1, warnings 1
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 4320]- Resolved by Johannes Junggeburth
added full-integration-tests label
CI Result SUCCESS (hash 40fdc456)Athena AthSimulation externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 4341]The changes look okay and there are no issues with the CI; the externals warning is from ATLINFR-5244. Approving from L1.
added review-approved label and removed review-pending-level-1 label
mentioned in commit 39a06692
mentioned in merge request !68816 (merged)