Cannot modify energy while using GPS

Hello geant4 users,
I try to use GPS instead of GunParticle but I have a problem.
For example:

/gps/particle gamma
/gps/pos/type Plane
/gps/pos/shape Square
/gps/pos/centre 1 2 1 cm
/gps/pos/halfx 2 cm
/gps/pos/halfy 2 cm
/gps/ang/type cos
/gps/ene/type Lin
/gps/ene/min 2 MeV
/gps/ene/max 10 MeV
/gps/ene/gradient 1
/gps/ene/intercept 1
/gps/source/list
The number of particle sources is: 1
Multiple Vertex sources: 0 Flat Sampling flag: 0
source 0 with intensity: 1
Num Particles: 1; Particle type: gamma
Energy: 1 MeV
Direction: (0,0,-1); Position: 1 2 1 cm
Angular Distribution: cos
Energy Distribution: Lin
Position Distribution Type: Plane; Position Shape: Square

Or again for a different style:

/gps/source/clear
/gps/source/add 1
/gps/source/list
The number of particle sources is: 1
Multiple Vertex sources: 0 Flat Sampling flag: 0
source 0 with intensity: 1
Num Particles: 1; Particle type: geantino
Energy: 1 MeV
Direction: (0,0,-1); Position: 0 0 0 fm
Angular Distribution: planar
Energy Distribution: Mono
Position Distribution Type: Point; Position Shape: NULL
/gps/source/set 0
/gps/particle e-
/gps/pos/type Point
/gps/pos/centre 0. -5. 0. cm
/gps/ang/type iso
/gps/energy 400. keV
/gps/ene/mono 400. keV
/gps/energy 400. keV
/gps/source/add 1
/gps/source/set 1
/gps/particle e-
/gps/pos/type Point
/gps/pos/centre 0. 5. 0. cm
/gps/ang/type iso
/gps/ene/mono 700. keV
/gps/source/list
The number of particle sources is: 2
Multiple Vertex sources: 0 Flat Sampling flag: 0
source 0 with intensity: 1
Num Particles: 1; Particle type: e-
Energy: 1 MeV
Direction: (0,0,-1); Position: 0 -5 0 cm
Angular Distribution: iso
Energy Distribution: Mono
Position Distribution Type: Point; Position Shape: NULL
source 1 with intensity: 1
Num Particles: 1; Particle type: e-
Energy: 1 MeV
Direction: (0,0,-1); Position: 0 5 0 cm
Angular Distribution: iso
Energy Distribution: Mono
Position Distribution Type: Point; Position Shape: NULL

I just can’t modify the energy of the incident particle … Or is it possible that it don’t modify the /gps/source/list but the energy is modified? Don’t think…
I just set GPS in my PrimaryGenerator and try to add some modification (like everyone in the example) in a macro but…

If someone has an idea :thinking: :thinking:

Thank you in advance!