Re: using TString in the selection

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue May 25 1999 - 19:17:45 MEST


Hi Boris,
Unfortunately this nice facility is not yet supported in TTree::Draw.
The simple reason is that we must implement first histograms for text
variables.

Use TTree::MakeClass for the time being.

Rene Brun

polishchuk@mx.ihep.su wrote:
> 
>                                                          Protvino, 25-MAY-1999
> 
>     Dear Rooters,
> 
> is it possible to use TString in the selection?
> For example, I have
>     class Person
>         {
>             TString name;
>             Double_t age;
>             ...
> 
>         }
> 
> and when I make selection
>         tree.Draw("age","name==Boris") I get error message:
> *ERROR 26 :
>  Unknown name : "name"
> 
>             When I was wrong?
> 
> 
>                             Best regards,
>                             Boris



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