Arrangements for handling radiation or particles using diffractive, refractive or reflecting elements specially adapted for particle beams