Design and Geant4 simulation of an energy degrader system for PIXE and PIGE at the TINT cyclotron facility | Synapse