Re: using TString in the selection

Rene Brun (Rene.Brun@cern.ch)
Tue, 25 May 1999 17:17:45 +0000


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_at_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