Re: tree.GetEntries() (nothing serious, but,..)

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Dec 17 1999 - 22:20:25 MET


Dear Selim,
As you say, "you did not see the point"
How would you proceed if you have an histogram, a Tree
or likely a TChain with more than 2 billion entries ?

Because longlong is not yet a portable data type,
the only way to survive is to do the job with a double.

Rene Brun

On Fri, 17 Dec 1999, Selim Issever wrote:

> Dear concerned,
> 
> line 70 of my mo.C is:
>     Int_t     sNumEntries  = sTree->GetEntries();   
> 
> but while compiling I get:
> mo.C:70: warning: initialization to `int' from `double'
> 
> It works anyway,.. but does it make sense to give the number of entries back
> as a double? 1.5 entires?! *shrug* but maybe I just dont see the point,..
> 
> Best Wishes,
> Selim
> 
> 
> -- 
> Selim Issever | Tel: 040 8998-2843    +- If it doesn't work, force it.
> DESY-F15      | Fax: 040 8998-4033    +- If it breaks,         -------
> Notkestr. 85  | selim.issever@desy.de +- it needed replacing anyway. -
> 22603 Hamburg/Germany   |  http://www.physik.uni-dortmund.de/~issevers
> 



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