X-ray photon diagnostics at the European XFEL.