Skip to content

MuonReadoutGeometryR4 - Return the global -> local as copy instead of returning by reference

Johannes Junggeburth requested to merge jojungge/athena:removeGlobToLocRef into main

global -> local transformations do not need to be returned by reference. They can be quickly calculated on-the fly by inverting the local-> global transformations... Reduce the memory footprint of the muon readout geometry by 50MBs

Building of GeoModelSvc.MuonDetectorToolR4.MdtReadoutGeomTool consumed 201 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.RpcReadoutGeomTool consumed 8 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.TgcReadoutGeomTool consumed 7 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.sTgcReadoutGeomTool consumed 1 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.MmReadoutGeomTool consumed 1 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.MuonChamberAssembleTool consumed 0 MB memory

After:

Building of GeoModelSvc.MuonDetectorToolR4.MdtReadoutGeomTool consumed 147 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.RpcReadoutGeomTool consumed 7 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.TgcReadoutGeomTool consumed 6 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.sTgcReadoutGeomTool consumed 1 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.MmReadoutGeomTool consumed 0 MB memory
Building of GeoModelSvc.MuonDetectorToolR4.MuonChamberAssembleTool consumed 0 MB memory

Tagging: @asalzbur, @pagessin, @damperia

Merge request reports