improved AtlasAnalysisPP for multiple threads processing the same task