Hi Thomas,
see TH1::Eval
http://root.cern.ch/root/htmldoc/TH1.html#TH1:Eval
One could add option "I" to compute the bin integral
THis function works for TH1/TF1, TH2/TF2, TH3/TF3
Rene Brun
On Thu, 7 Jul 2005,
Thomas Bretz wrote:
> Hi,
>
> it would be nice to have a function FillRandom without the random option. A
> function which would fill into each bin either the result of a TF* at the
> bin-center or the integral of the bin...
>
> Thomas.
>
Received on Thu Jul 07 2005 - 17:07:23 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:10 MET