Random numbers according to histos and functions.

From: OLSZEWSKI@vsk02.ifj.edu.pl
Date: Tue May 20 1997 - 08:09:50 MEST


 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.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET