Skip to content
Snippets Groups Projects
Commit 956ac276 authored by Elliot Oram's avatar Elliot Oram Committed by Gigg, Martyn Anthony
Browse files

Speed up findingDetectors for IPeaks in PredictFractionalPeaks

PredictFractionalPeaks was using a new raytracer for every peak it created and therefore throwing away the caching information about the bounding boxs of detectors / panels causing a huge slow down. Resolved by exposing the findDetector(raytracer) overload to IPeaks and using single raytracer for all calls.
Work also include small refactor for const autos

Refs #22060
parent e63a7a85
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment