Message: Re: default random number generator Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: default random number generator 

Keywords: random engine generator default
Forum: Run Management
Re: Question default random number generator (Jason Detwiler)
Date: 05 Mar, 2006
From: Gabriele Cosmo <Gabriele Cosmo>

> Does anyone know why HepJamesRandom is chosen as the default random
> number generator in G4? Why isn't, for example, MTwistEngine the
> default? The guys on Wikipedia rave about that one.

The default random engine is set in CLHEP, not in Geant4. There's nothing
more than historical reasons behind that, I think.
You can always change the default engine in your application with one line
of code.

Cheers.

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

 Add Message Add Message
to: "Re: default random number generator"

 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 ]