Thread safe changes for Geometry/HcalTowerAlgo package