to bin or not to bin

From: Dariusz Miskowiec (D.Miskowiec@gsi.de)
Date: Tue Feb 15 2000 - 14:39:42 MET


Rene Brun wrote:
> 
> Alexander is suggesting 4-d, 5-d histograms, N-d histograms. However
> I believe that ntuples are a better alternative and give you more
> freedom (as pointed by Pasha). I do not see this as a constraint
> for the class hierarchy.
> 

I think n-dim histograms should be supported. I was once forced to 
implement such thing to store 4-dim two-particle correlation data. 
Storing binned data was, in my case, much more convenient than 
storing ntuples: the 4-dim histograms were much smaller, and they 
were easier to fit. 

(In my implementation the bin contents were physically kept in a 1-dim 
 HBOOK histogram, and I had one 1-dim histogram for each axis. I only 
 wrote routines for booking, filling, and projecting. )

Best regards
Dariusz Miskowiec

-- 
+-------------------------------------------------------------------+
+  Dariusz Miskowiec                    E-mail: D.Miskowiec@gsi.de  +
+  GSI, Planckstr. 1                    Phone:  0049-6159-712-133   +
+  D-64291 Darmstadt                    Fax:    0049-6159-712-785   +
+-------------------------------------------------------------------+



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