If you simply want to make a visual comparison, do:
root > data.Draw();
root > mc.Draw("same");
If you want to make a statistical comparison, see, eg
TH1::KolmogorovTest at:
http://root.cern.ch/root/htmldoc//TH1.html#TH1:KolmogorovTest
Rene Brun
On Wed, 25
Jan 2006,
nasim wrote:
>
> Dear Rooters,
>
> I try to compare two histograms created by different macros by writing
> the combined plot in a rootfile. How can I possibly do that.
> ( For example data and MC).
>
> I am grateful for any help.
>
> Cheers,
>
> Nasim.
>
Received on Wed Jan 25 2006 - 21:01:05 MET
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET