I would like to multiply two (h1, and h2) histograms bins by bins, and assign the value to the third (h3).
and the no of bins in h1 and h2 are not necessarily the same. So the no of bins in h3 is the smaller of bins(h1,h2).
I am facing a similar problem, i want to multiply a 2d histogram to a specific number say ‘8’ . for that i am using the following,
histo_newMC[n]->Scale(8);
but no matter i write this command or not, i get the same plots , i can’t figure out why?. please let me know if anybody knows what the problem is
I wonder, is there is any way to multiply each bin content without scaling. I would like to use Multiply(TH1F, number) inside the script, but it didn’t work out.