Thread safe changes
Fix emptyness check
Merge pull request #2239 from vkuznet/ThreadSafe_Geometry_HcalTowerAlgo

Multithreading fixes -- Thread safe geometry hcal tower algo