Increasing the maximum number of particles transported in one run

Is there a way to increase the number of particles emitted from the GPS source from 2 billion to 20 billion in one run? That is, /run/beamOn 2e10?

No. G4int is a signed 32-bit integer, with a maximum value of 2^32 - 1.

Thank you for your answer

If you want to use more than 2E9 histories, you need to implement several runs. The final result will be summed up manually. Note that you need to control random numbers created at begin of each event.

thanks a lot for your help.

And there was once a hint that the next version Geant4 allows multiple runs recorded into one ROOT file.