Re: [ROOT] Adding TString selection capabilities to the Tree->Draw command

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jan 30 2001 - 17:00:00 MET


Hi Malcom,
There are two TTree::Draw functions:

 Draw(const char* varexp, TCut selection, Option_t* option, ...
 Draw(const char* varexp, const char* selection, Option_t* option,...)

What you request with TString is implemented with TCut.

Rene Brun

Malcolm Davidson wrote:
> 
> Hello,
> 
> I was wondering if the selection based on TStrings for the TTree->Draw()
> command had been implemented yet (based on my attempts not) or whether
> this useful feature (here I'm quoting from a 1999 email from Rene Brun)
> will soon be added ?
> 
> Many thanks in advance
> 
> Malcolm
> <>------------------------------------------------<>
> Malcolm W. J. Davidson
> 
> Centre D'Etudes Spatiales de la Biosphere (CESBIO)
> UMR 5639 CNES-CNRS-UPS
> 18, Avenue Edouard Belin
> F-31401 Toulouse Cedex 4
> FRANCE
> 
> e-mail : davidson@cesbio.cnes.fr
> phone (33)(0)5.61.55.85.84
> fax   (33)(0)5.61.55.85.00
> <>------------------------------------------------<>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET