Add ATLAS_CHECK_THREAD_SAFETY to InDetBeamSpotFinder package
- Add ATLAS_CHECK_THREAD_SAFETY to InDetBeamSpotFinder package to check and keep thread safety.
- Change static counter to member variable using std::atomic.
- Remove thread-unsafe DataHandle.
- Introduce BeamSpot::mutex in InDetBeamSpotVertex.cxx to protect BeamSpot::vertexData. Add ATLAS_THREAD_SAFE to BeamSpot::vertexData.
- No result changes are expected.
- Related to https://its.cern.ch/jira/browse/ATLASRECTS-5560
Edited by Susumu Oda