RE: [ROOT] Strange TTree behaviour

From: Philippe Canal (pcanal@fnal.gov)
Date: Thu Jun 21 2001 - 19:30:04 MEST


Hi,

The problem is due to TFormula which is chopping constant to the 
size of a float (hence 992093754 because 992093760 :( ).

This should be fixed tomorrow in the cvs repository.

Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Cyril Lachaud
Sent: Thursday, June 21, 2001 11:13 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Strange TTree behaviour



Hi all,
I'm reading a Tree (SDMON) which has been filled.
I'm looking at the fTime variable (stored as a UInt_t in the tree).

If I do :

root [64] SDMON->Draw("fTime","fTime<992093754")
(Int_t)8

Root tells me that there are 8 entries with fTime<992093754

But :

root [65] SDMON->GetMinimum("fTime")
(Double_t)9.92093754000000000e+08

So Root tells me that the minimum value of fTime found in this tree is
992093754

There is a contradiction there... Moreover if I do :
root [68] SDMON->Draw("fTime","fTime==992093753")
(Int_t)1

and then Root makes a Segmentation fault...

Any idea of what happens ???

Thank you

	Cyril Lachaud



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:50 MET