bug fixes of the HcalSimpleRecAlgo.cc