These are fixes needed for LAr SC calibration data processing to run properly in AP. Code is not used in any standard workflows.