Similarity in ruthenium damage induced by photons with different energies: From visible light to hard X-rays