Simulation of light ion fragmentation experiments with Geant4