Limitation on the number of primary particles/events

Hi all,

I am wondering if there is any limitation to the number of primary particles of more than 1 billion. For some reason, I am not interested in splitting my run and want to shoot more than 1 billion particles in one run through /run/beamOn command. But I get the following error: “digit length exceeds”. Any advice would be so much appreciated.

Thank you,

The event counter (argument to beamOn) is a G4int, which is a 32-bit signed integer. The maximum value is 2^31-1 = 2.14 billion.

1 Like

Thank you, I missed this point!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.