Move mutex lock to ensure that AlignAlgorithm is thread safe until it is rewritten
Temporary work around to avoid thread-safety issues with AlignAlgorithm. This seems to be caused by access to detector elements.
Temporary work around to avoid thread-safety issues with AlignAlgorithm. This seems to be caused by access to detector elements.