RE: [ROOT] Binary operation in selection

From: Elena Vataga (vataga@fnal.gov)
Date: Thu May 01 2003 - 13:13:12 MEST


Hello!

Sorry, I was using old version 3.02/07 (which is default on our system).
With 3.05/03 I do not have any problem

Regards,
	Elena

On Wed, 30 Apr 2003, Philippe Canal wrote:

> Hi Elena,
>
> You forgot to specify which version of ROOT you having a problem with (and
> also the interesting things in the stack trace usually only starts after the
> 6th lines).
>
> Any, I can NOT reproduce your problem.  However, the version of ROOT that
> you are likely to be using (v3_05_00) had a bad problem with recovering from
> bad input in TTree::Draw (it crash when you do no give it a correct name in
> the tree).  So please check that mu1.ttf exist.  If it does, please me where
> to find your file and which ROOT version you are using.
>
> Cheers,
> Philippe.
>
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Elena Vataga
> Sent: Wednesday, April 30, 2003 10:14 AM
> To: Rene Brun
> Cc: roottalk@pcroot.cern.ch
> Subject: [ROOT] Binary operation in selection
>
>
>
> Hello rooters!
>
> I need to use selection for my tree
> involving binary operators like:
>
> "(mu1.tff>>4)&0x1==1"
>
> but as well as I understand TCut do not accept it:
> t->Draw("mu1.tff","(mu1.tff>>4)&0x1==1")
>
>  *** Break *** segmentation violation
>  Generating stack trace...
>  0x2ac6e97b in TUnixSystem::StackTrace(void) at (null):0 from
> /home/users/vataga/ROOT/root/lib/libCore.so
>  0x2ac6d4b2 in TUnixSystem::DispatchSignals(ESignals) at (null):0 from
> /home/users/vataga/ROOT/root/lib/libCore.so
>
> Is there some simple way to do it?
> (I want to avoid MakeClass or MakeSelector if possible)
>
> Thank you in advance,
> 	Elena
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET