Skip to content

Pixel digitisation planar tool speed up

Tomas Dado requested to merge tdado/athena:PlanarToolSpeedUp into master

This MR contains 2 changes:

  • Initialising vector to size 9 in the constructor as maximum of 9 elements are needed - this removes the vector allocation as the main bottleneck from profiling
  • Optimised the way how the diode position is retrieved - this is courtesy of @tbisanz

Output verified with diff-root, no differences were observed

Edited by Tomas Dado

Merge request reports