[ROOT] Problem with TTreeFormula

From: Nuno Almeida (nuno.almeida@iscte.pt)
Date: Thu Nov 28 2002 - 16:39:15 MET


Hi all,

I'm trying to use TTreeFormula in a Tree, and i have the following code:

TFile *f=new TFile("Evento_teste.root");
TTree *mytree=(TTree*)f->Get("T");
TTreeFormula *formule=new TTreeFormula("formule","bx<180",mytree);

And in the constrution of TTreeFormula i have the following problem:

0x40db4121 in TTreeFormula::GetLeafWithDatamember () from
/usr/local/root/lib/libTreePlayer.so
#1  0x40dad8ae in TTreeFormula::DefinedVariable () from
/usr/local/root/lib/libTreePlayer.so
#2  0x407594bf in TFormula::Analyze () from /usr/local/root/lib/libHist.so
#3  0x407583fa in TFormula::Analyze () from /usr/local/root/lib/libHist.so
#4  0x4075e049 in TFormula::Compile () from /usr/local/root/lib/libHist.so
#5  0x40dabae2 in TTreeFormula::TTreeFormula () from
/usr/local/root/lib/libTreePlayer.so

I'm using rootV3.03/09 with suse linux 7.2

I don't understand the problem because i have a leaf called bx and i can
access to him without any problem.

Anyone as a idea ?

Best Regards

Nuno Almeida



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:21 MET