GitLab service scheduled maintenance on Friday, March 21st 2025 as of 08h00 Geneva time for an estimated period of 1 hour. Further information under OTG0154918.
Mutex lock is required before entering getCacheEntry in getBSErrorWord. getBSErrorWord(which then calls getCacheEntry) is called repetitively in loop in goodFraction and getUnpackedPixelRDOs.
By calling getCacheEntry earlier and passing down, we avoid unnecessary calls to getCacheEntry.
Vtune analysis shows that wait time in getBSErrorWord decreased from 2.91s to 0.55s (8 threads, 200 events, PhysicsP1_pp_run3_v1, full chain except cosmic muon)
Related to ATR-26807