Skip to content

Fix ATR-24207: Made m_strip_cache thread_local static

Zvi Tarem requested to merge ztarem/athena:ztarem_nsw_trigger_strip_cache into master

StripTdsOfflineTool::m_strip_cash is used by a private tool and accumulates data per event, used by several methods. Using SG handles would work well, but may have a high overhead. I made the variable 'thread_local static' to prevent both clashes between threads, and bogus results when using more than one thread.

This fixes ATR-24207: test_trig_mc_v1Dev_slice_muonNSW_grid.py now passes.

Merge request reports