Re: series of histograms

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Wed Jun 11 1997 - 18:35:19 MEST


Sorry for this, we just found the Answer in the rootalk archive. This 
leads to another question : it would be nice to have a simple search 
engine in the Digest. I found a very simple yet effective and (hopefully) 
free one. Fons, I'll give you the adress if you're interested.

Damir

=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr

On Wed, 11 Jun 1997, Damir Buskulic wrote:

> A series of histograms have been filled with hbook and converted with 
> h2root. Their names are now h1..h9 (for example) How can I access histo 
> hi in a loop over all the histograms ?
> For instance, how would you translate this PAW sequence to ROOT ?
> 
> DO I=1,9
>   H/PL [i]
> ENDDO
> 
> Of course, creating histos from scratch is obvious, just have to define 
> an array. The problem is for histos converted with h2root.
> On the other hand, what should I do to keep this "array" arrangement when 
> I save the histos to a file ? Put them in different branches of a Tree ?
> 
> Cheers
> 
> Damir & Robert
> 
> =====================================================================
> | Damir Buskulic                  | Universite de Savoie/LAPP       |
> |                                 | Chemin de Bellevue, B.P. 110    |
> | Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
> | e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
> =====================================================================
> mailto:buskulic@lapp.in2p3.fr
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:19 MET