FYI I have found this thread which explains how to do it.
However due to using an older version of Geant4, I had to use G4HadronInelasticProcess instead of G4HadronicProcess