Skip to content

PixelConditionsTool: Reduce calling getCacheEntry

Eunju Moon requested to merge emoon/athena:pass-cacheEntry into 24.0

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

Edited by Eunju Moon

Merge request reports