Re: [ROOT] cdir //lun in root?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jun 28 2000 - 23:43:21 MEST


Hi Kevin,
You can naviguate with the browser in the files and double click
on the histogram to draw.
>From the command line or a macro, you can do:
TH1F *h100 = (TH1F*)one.Get("h100")
h100->Draw()

or if you just want to draw histograms, do eg:
one.Get("h100")->Draw();
two.Get("h100")->Draw("same");

Rene Brun

On Wed, 28 Jun 2000, Kevin M. Rhodes wrote:

> Today's problem:
> 
> Let's say that I have 4 .root files.  Each one contains 100 histograms,
> each using the same numbering system.  After I load all four files, how
> can I tell root that I want 
> 
> h101 from one.root
> 
> rather than
> 
> h101 from three.root
> ??
> 
> This novice once again appreciates any answers
> 
> 
> Kevin Rhodes
> UW Madison
> Amanda Group
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET