Skip to content

Pixel digitization: log->logf to save some cpu time

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

A simply change to replace std::log with logf that is less precise but faster for radiation damage code for pixel digitization

This does impact the output, but at the order of floating point precision and is thus completely negligible.

A speed up of 20-30 seconds is seen for a pileup digitization job with 10 events

Note that std::logf wont compile on gcc, it is a known issue, see: https://gitlab.cern.ch/atlas/athena/-/blob/master/InnerDetector/InDetDetDescr/PixelReadoutGeometry/src/PixelModuleDesign.cxx#L130

Edited by Tomas Dado

Merge request reports