Questions about multiple scattering

Dear experts,
After I learned about the multiple scattering and how it accelerates the simulation speed, I am interested in the multiple scattering used in Geant4. In my knowledge, steplengh and deflection angle of the charged particles are derived by multiple scattering theory and stopping power is used for the energy loss in each step. Then, I wonder how ionization is added in the simulation?
I can think of some possible explanations. (1) Stopping power is subdivided into ionization stopping power and valence excitation stopping power. (2) A probability distribution function based on the cross-sections is added to determine the ionization. Or maybe I made mistakes understanding the multiple scattering.
Thanks a lot!