Remove static_cast
Merge pull request #1356 from vkuznet/ThreadSafe_FastSimulation_TrackerSetup

Multithreading fixes -- Remove static_cast in FastSimulation/TrackerSetup