[ROOT] How about the "floating point exception"

From: Datao Gong (dtgong@physics.umn.edu)
Date: Tue Dec 03 2002 - 22:38:12 MET


Hi,
I convert a ntuple file to root file. I analysis it via root like
that:
...
TFile *f = new TFile("myroot.root");
Three *tree = h1;   //This is Three key in root file.
TCut vtxcut("sqrt(Ksvx*Ksvx+Ksvy*Ksvy+Ksvz*Ksvz)>0.03");
TCut richcut("Ksrhphs1>3&&Ksrhphs2>3&&Ksrh1==1&&Ksrh2==1\
&&Ksrhpil1<Ksrhkl1&&Ksrhpil2<Ksrhkl2");
tree->Draw("Ksmass",vtxcut&&richcut);
 *** Break *** floating point exception

But if
tree->Draw("Ksmass",vtxcut);
or
tree->Draw("Ksmass",richcut);

it is ok!

It seems strange.

Thank you
Gong Datao



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