GPS GetParticleEnergy()

Hello everyone !
I’m using GPS for studying the energy deposited in a material in function of its thickness and I would like to know if there is a way to use GetParticleEnergy() for GPS , like for the Particle Gun . Thank you in advance !