TTree::GetEntries() returns a Double_t

Hi all,

I followed an example to read out variables of a tree
and discovered that:

TTree::GetEntries()

returns a double instead of an int …
So there might be 2.5 entries in a tree?

The line from the tutorial:
Int_t nevent = t->GetEntries();

results in warings that nevent is filled by a double.

Just wondering.
Andi

Yes in versions prior to 4.01, TTree::GetEntries returned a Double_t.
This was to support the case of Trees with more than 2 Billion entries at a time where we did not have a truely portable 64 bit integer.
In version 4.01, this has been changed to a Long64_t

Rene