Swift Heavy Ions for Magnetic Nanostructures