Create ROIInfoVec by algorithm rather than on demand by the tool.
Current The ROIInfo objects are created on demand by the scoring tool and stored via WriteHandle in StoreGate. If the objects alread exist (tested via ReadHandle) they are read via ReadHandle. None of the handles are declared and the handle keys are created on the spot. This may fail if the objects are needed by two algorithms which run in parallel. It also showed a visible lock contention.
The problem was addressed by creating the ROIInfoVec by a conditions algorithm rather than on demand by the tool.