Clean up and comment HMS calorimeter calibration code.