Re: [ROOT] faster TF1::GetRandom()

From: Daniel De Marco (ddm@GE.INFN.IT)
Date: Thu Jan 16 2003 - 08:57:22 MET


* Rene Brun <brun@pcbrun.cern.ch> [15/01/2003 22:48]:
> I have implemented your suggestion in the CVS head.
> However, I am curious to know why you were calling TF1::SetRange
> in your loop calling GetRandom.

I need to shoot random numbers distributed as a black body spectrum above
a certain threshold that changes at every iteration of the loop. I don't
know if there's a better solution to do this.

Ciao, Daniel.

--ddm



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET