Skip to content

MdtDriftCircleMath - Tidy up

  1. TrkDriftCircleMath
  • ChamberGeometry: Remove the allTubes() vectors. These allocate around 10MB of memory if all chambers are created for nothing.
  • CurvedSegmentFinder: Cache the calculation of tan value before hand. In nested loops, the calculations of variables that do not change in the inner loop are pulled outside. Remove dead-end cluster loop.
  • DCSLFitter: Allocate memory only if the fit has a decent chance to succeed. Remove strange allocations as well.
  • DriftCircle/DCOnTrack: Clearly distinguish the state() of the mother & the inheriting classes to avoid fancy casts in the code downstream that retrieve the proper state

Closes ATLASRECTS-6898

Edited by Johannes Junggeburth

Merge request reports