RE: strange bug ?

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Tue, 25 Jul 2006 14:46:26 -0500


Hi Boris,

This is a bad interaction with another feature of TTree::Draw, which can use the content of a source file as the selection. Currently this feature does not require the file to have an extension ....

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Boris Skorodumov
Sent: Tuesday, July 25, 2006 2:14 PM
To: RootTalk
Subject: [ROOT] strange bug ?

Hello All,

I just found strange thing in both Root 4.04/02 and 5.13/01 Do the next things:

$ root -l

t->Draw("e");
t->Draw("e","10<e");
t->Draw("e","e>10");

.q

everything is working ...
Now try the next things:

$ touch e
$ root -l

t->Draw("e");
t->Draw("e","10<e");
t->Draw("e","e>10");

Error in <TTreePlayer::DrawSelect>: Drawing using a C++ file currently requires that both the expression and the selection are files

        "e" is not a file
.! rm e
t->Draw("e","e>10"); OK !

Do you know what is going on ?

Thank you,

-- 
Boris Skorodumov, PhD Student 
Physics Department      
University of Notre Dame
In 46556, USA
http://www.nd.edu/~bskorodo
Received on Tue Jul 25 2006 - 21:47:49 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET