thanks Suvayu
an expert confirmed that it does :
>> will that compute a histogram with
>> bin1=bin1_histo1*bin1_histo2
>> bin2=bin2_histo1*bin2_histo2
>> ...
so everything is fine
thank you
On Wed, 16 Jun 2010, Suvayu Ali wrote:
> Hi Marc,
>
> I am a ROOT/statistics newbie, so take my response with healthy bit
> scepticism. ;)
>
> On Wednesday 16 June 2010 02:45 PM, Marc Escalier wrote:
>> Hello,
>>
>> sorry for my dummy question
>>
>> Let's assume two histograms TH1F : histo1 and histo2 with several bins
>>
>> what will do
>> Multiply(histo1,histo2) ?
>>
>> will that compute a histogram with
>> bin1=bin1_histo1*bin1_histo2
>> bin2=bin2_histo1*bin2_histo2
>> ...
>> and so on ?
>>
>
> I think the answer to your question is in the docs for
> void Multiply(TF1* h1, Double_t c1 = 1)
>
> As I understand this, it is equivalent to multiplying the distribution
> represented by your histogram by the function h1. So extending this to
> multiplying histograms, I would expect that multiplying two histograms gives
> you a histogram which represents a distribution which is a product of the two
> original ones.
>
> Does any of that make sense?
>
>> thank you
>>
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
Received on Thu Jun 17 2010 - 00:26:13 CEST
This archive was generated by hypermail 2.2.0 : Thu Jun 17 2010 - 11:50:01 CEST