Re: TNtuple or TTree Selection.

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Oct 23 1997 - 14:42:45 MEST


Patrice Lebrun wrote:
> 
> Hi,
> 
> TTree::Draw or TNtuple::Draw seems to be not easy to used with very
> large Text_t or TCut expression
> 
> example:
> ntuple.Draw("Very big expression ....","Very complicated cuts");
> 
> Is any other ways to do that and how to use these ?
> 

You have the choice in creating a char *selection string yourself
via sprintf or equivalent or use the TCut class 
   see http://root.cern.ch/root/html/TCut.html

You can use the && and ||, etc operators with TCut objects (or
graphical cuts defined with TCutG objects).

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET