Question: why are gamma rays not deflected in a magnetic field?
Answer: Alpha and beta rays are deflected in opposite directions in a magnetic field because they are oppositely charged—alpha are positive and beta negative. Gamma rays have no electric charge and are therefore undeflected.