[ROOT] Re: Taking a random value in a probability distribution ?

From: Fred Sarazin (sarazin@triumf.ca)
Date: Tue Aug 13 2002 - 20:49:14 MEST


Fred Sarazin wrote:

> Hello,
>
> In Monte-Carlo simulation, I found that the hbook routine hbfun1 and hrndm1
> were very useful
> to draw an event in a probability distribution. Is there a similar
> possibility with Root ?
>
> Thanks,
>
> Fred

TF1::GetRandom.... I should have guessed it before ! Sorry.

Fred



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET