Irradiation with laser or particle beam