Random numbers according to histos and functions.

OLSZEWSKI@vsk02.ifj.edu.pl
Tue, 20 May 1997 14:06 GMT+1


Hi,

it would be nice to have a function generating random numbers according
to a histogram or function.

Another question: how to define a variable in a function being loaded to ROOT
under CINT, so that its value would not be lost between consecutive executions.

Remark/question: Double_t *y = new Double_t(100); doesn't seem to work properly
under CINT? Storing into 4'th element of y generates segmentation violation.

Andrzej Olszewski.