Message: Re: How do I know the event random numbers are not repeated? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How do I know the event random numbers are not repeated? 

Forum: Run Management
Re: Question How do I know the event random numbers are not repeated? (Huagang Yan)
Date: Dec 22, 08:49
From: michel maire <michel maire>

On Sat, 22 Dec 2018 13:50:43 GMT, Huagang Yan wrote:
> If the random numbers of events are repeated, does Geant4 report error?
> In addition, if I run 1e10 histories by the following method /run/beamOn
> 2000000000 /run/beamOn 2000000000 /run/beamOn 2000000000 /run/beamOn
> 2000000000 /run/beamOn 2000000000 How do I know whether the runs have
> repeated events or not? I need 1e10 independent events, but the
> statistical behaviors of 2e9 events and 1e10 events look no difference
> (I dumped scored results after each run and added them up in Matlab
> code). Any advice is greatly appreciated.
> 

 example extended/electromagnetic/TestEm4 with macro rndmSeed.mac may help you

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: How do I know the event random numbers are not repeated?   (michel maire - Dec 22, 08:54)
(_ Sad: Re: How do I know the event random numbers are not repeated?   (Huagang Yan - Dec 23, 06:33)
(_ Idea: Re: How do I know the event random numbers are not repeated?   (Tom Roberts - Dec 23, 06:57)
 Add Message Add Message
to: "Re: How do I know the event random numbers are not repeated?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]