Message: Re: About G4RandGauss Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: About G4RandGauss 

Forum: Run Management
Re: Question About G4RandGauss (Evgenya)
Date: 17 Dec, 2009
From: Gumplinger Peter <Gumplinger Peter>

G4double E = energy/MeV;

G4double sigma = 3.86+0.006/(sqrt(E));

energy = G4RandGauss::shoot(E,sigma);

energy *= MeV;

(you know the correct units)

 Add Message Add Message
to: "Re: About G4RandGauss"

 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 ]