Magnet systems for directing or deflecting the discharge along a desired path