[ROOT] Multiply histogram

From: Jan Malinowski (malinow@krysia.uni.lodz.pl)
Date: Mon Mar 05 2001 - 10:02:39 MET


Hello Rooters,

I want to multiply my histogram by const. value.
I would like to use the method TH1::Multiply( Double_t c1 ).
In the library I have found this header:
          Multiply( TF1* h1,   Double_t c1 = 1 )
In description:
          Multiply( TF1* f1,   Double_t c1 )
                   Performs the operation: this = this*c1*f1;

How can I use this method (I mean parameter "TF1* h1"), when I have no
function
and is this parameter function or histogram?

Cheers,
      Janek.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:38 MET