An ion, defined in neutral atomic state (Q=0), is still deviated in magnetic field
I can not reproduce it. I tested N03 with following macro. In the run#0, O16 with Q=0 goes straight. In run#1,2, O16 with Q=1,8 is bent because of magnetic field. /N03/det/setField 10.0 tesla /gun/energy 10 MeV /gun/direction 1.0 0.0 0.0 /gun/particle ion /gun/ion 8 16 0 /run/beamOn 1 /gun/ion 8 16 1 /run/beamOn 1 /gun/ion 8 16 8 /run/beamOn 1 ##Run 0 Q=0 ********************************************************************* * G4Track Information: Particle = O16[0.0], Track ID = 1 ********************************************************************* Step# X Y Z KineE Volume Process 0 -9 cm 0 fm 0 fm 10 MeV World initStep 1 -7.5 cm 0 fm 0 fm 10 MeV World Transportation 2 -7.5 cm -1.15 Ang 0 fm 0 eV Lead ionIoni ##Run 1 Q=1 ********************************************************************* * G4Track Information: Particle = O16[0.0], Track ID = 1 ********************************************************************* Step# X Y Z KineE Volume Process 0 -9 cm 0 fm 0 fm 10 MeV World initStep 1 -7.5 cm -619 um 0 fm 10 MeV World Transportation 2 -7.5 cm -620 um 0 fm 0 eV Lead ionIoni ##Run 2 Q=8 ********************************************************************* * G4Track Information: Particle = O16[0.0], Track ID = 1 ********************************************************************* Step# X Y Z KineE Volume Process 0 -9 cm 0 fm 0 fm 10 MeV World initStep 1 -7.5 cm -5.64 mm 0 fm 10 MeV World Transportation 2 -7.5 cm -5.64 mm 0 fm 0 eV Lead ionIoni
the ion is deviated in mag field, even if Q=0, and even in vacuum. If one desactivate ion Ionisation, trajectories looks ok.
In tracking of neutral ion (i.e. Q=0 ), ion ionization gives positive charge even in Vacuum. For example, in case of O16 atom (Q=0) with 10 MeV kinetic energy in Galactic (very low dwnsity material), ion ionization gives +5.47194 eplus charge in the end of the first step. The charge should remain 0.