Re: How to put two histograms created by different macros in one plot

From: Chris Schilling <cschill_at_slac.stanford.edu>
Date: Wed, 25 Jan 2006 11:47:43 -0800


Hi Nasim,

In one macro, create the TFile using TFile f("name.root", "recreate"); In the other, open the TFile using TFile f("name.root", "update"); and just write the histograms to the file...

Cheers
Chris

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 - 20:48:56 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET