Message: Re: Problem with CLHEP RandGeneral Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Ok Re: Problem with CLHEP RandGeneral 

Forum: Run Management
Re: Question Problem with CLHEP RandGeneral (valentina)
Re: Feedback Re: Problem with CLHEP RandGeneral (Gumplinger Peter)
Date: 20 Jan, 2009
From: valentina <valentina>


Thank you for your reply, you'r right!

The error comes from the fact that IntegralPdf must be a positive number, but the error source comes from the Firsov scattering code itself.

The probability is very low and this doesn't affect the final result, but in some cases the angular probability distribution takes a negative number in the square root with a resulting non sense IntegralPdf (and the run crashes!).

I know that there is a forum dedicated to hadronic processes, but I take the opportunity to ask you your opinion about this:

The Firsov scattering is not implemented in the GEANT4 code, but it can be downloaded from

In order to use it, I have updated the code to the current GEANT4 release and now I have corrected the bug described above. Is there some place where I can upload the corrected code for the community use?

Thank you in advance for your time!


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

1 Feedback: Re: Problem with CLHEP RandGeneral   (Giovanni Santin - 12 Feb, 2009)
 Add Message Add Message
to: "Re: Problem with CLHEP RandGeneral"

 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 ]