[BLAST_ANAWARE] question/problem with cuts on ntuples

From: Jason Seely (seely@MIT.EDU)
Date: Wed May 28 2003 - 20:52:22 EDT


hey everyone,

i'm having some trouble and i was wondering if anyone can point out the
problem. i fill histograms from the flr ntuple while applying cuts.
now if make a cut such that no events in the run pass the cut, then root
crashes. if i take out the cut, then everything is fine. does anyone
know what's up with this? for example, if i do:

flr->Draw("twl>>h[3]",eleftw+prightw+btmm+*cut[0],"goff");

on a run which contains no events that pass the btmm cut, then root
gives me a seg fault and etc as follows:

>root -l show_ep_asym.C 564 566-567

 *** Break *** segmentation violation
 Generating stack trace...

 *** Break *** keyboard interrupt FILE:show_ep_asym.C LINE:73
 0x4020793f in TUnixSystem::StackTrace(void) at
/net/data/1/Analysis/commis/root/root_v3.05.04/unix/src/TUnixSystem.cxx:1381
from /usr/local/root/lib/libCore.so 0x402060dc in
TUnixSystem::DispatchSignals(ESignals) at
/net/data/1/Analysis/commis/root/root_v3.05.04/unix/src/TUnixSystem.cxx:583
from /usr/local/root/lib/libCore.so
...

but if i do
flr->Draw("twl>>h[3]",eleftw+prightw+*cut[0],"goff");

then everything is fine. (note that 564 is all -+, 566 is all +-, and
567 is all ++ events)

weird. any ideas?

thanks,

jason

--
--------------------------------------------------------------------
jason seely
26.650.b
massachusetts institute of technology
77 massachusetts avenue
cambridge, ma 02139-4307

email: seely@mit.edu phone: 617.253.4772/6734 html: web.mit.edu/seely/www --------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Mon Feb 24 2014 - 14:07:29 EST