Real-time calibration and alignment of the LHCb RICH detectors