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

None Re: error with G4RandGauss 

Forum: Particles
Re: None error with G4RandGauss (Chaw)
Date: 19 Aug, 2011
From: Spencer Behling <Spencer Behling>

I had a similar problem running my code on different machines with various versions of geant running on each. I had a part of the code that called

G4RandExponential::shoot(260)

That did not work on all versions of geant. When I changed it to

CLHEP::RandExponential::shoot(260)

That seems to work on all of the different versions. You might do the same thing with the gaussian and see if that works.

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

1 None: Re: error with G4RandGauss   (Chaw - 24 Aug, 2011)
(_ None: Re: error with G4RandGauss   (Chaw - 24 Aug, 2011)
 Add Message Add Message
to: "Re: error with 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 ]