Hi Peter,
I implemented your change and tagged version v1-5. see:http://root.cern.ch/root/vmc/VirtualMC.html
Rene
On Thu, 20 Apr 2006,
Peter HRISTOV wrote:
> Hi Rene,
>
> I made the following small change in TGeant3.cxx
>
> Index: TGeant3/TGeant3.cxx
> ===================================================================
> RCS file: /user/cvs/geant3/TGeant3/TGeant3.cxx,v
> retrieving revision 1.48
> diff -r1.48 TGeant3.cxx
> 592c592,593
> < gRandom->RndmArray(n,r);
> ---
>> for(Int_t i=0; i<n; i++)
>> do r[i]=gRandom->Rndm(); while(0>=r[i] || r[i]>=1);
>
> to avoid some rare problems in glandz.F and probably in other places where
> the random number should not be equal to 0 and 1. Could you commit it to the
> CVS repository? Could you also tag the Geant3 so that we can use this new
> tag (v1-5) for PDC06?
>
> Thanks, Peter
>
Received on Thu Apr 20 2006 - 12:27:45 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:55:09 MET