Dear roottalkers,
Let's consider we wish to renormalise a histogram to a given value (for example 1)
Up to now, i was using :
myhisto->Scale(1./myhisto->GetEntries());
but i just saw that a colleague was using something like :
myhisto->Scale(1./myhisto->Integral());
and i'm suspecting (maybe i'm wrong) that this is not correct ?
Would you know what is the difference and what should be used ?
(for example, one wish to renormalise histogram of a given observable for the MC to the number of events of the data)
thank you Received on Sat Jan 30 2010 - 01:35:18 CET
This archive was generated by hypermail 2.2.0 : Wed Feb 03 2010 - 23:50:01 CET