Hi Sophie,
You can use the better one Double_t TRandom3::Rndm(Int_t),
but for the random numbers sampling from two dimension histograms,
anyone knows a better way to avoid the defects Sophie mentioned?
cheers,
hengtong
>
> Hi
> there is this comment in
> double TRandom::Rndm(int)
>
> Note that this is a generator which is known to have defects
> (the lower random bits are correlated) and therefore should NOT be
> used in any statistical study.
>
> in this comment also true for :
>
> TH2::GetRandom2(double&, double&)
>
> thanks
> Sophie
>
>
-- ************************************************ * Hengtong Ding * * * * Address: Institute of Particle Physics, * * Central China Normal University * * Wuhan, 430079, P. R. China * * Tel: 0086 27 6786 7946 (lab) * * 0086 27 8715 0351 (dormitory) * * Fax: 0086 27 6786 3213 * * Email: dinght_at_iopp.ccnu.edu.cn * * dinghengtong_at_hotmail.com * ************************************************Received on Mon Sep 25 2006 - 17:07:18 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET