Re: write a string in a tree

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Thu, 19 Feb 2009 11:31:31 -0600


Hi Francesco,

Use ROOT 5.22/00 or later and the code:

    TString mystring
    mytree->Branch("mystring",mystring);

Cheers,
Philippe.

Francesco Salamida wrote:
> Dear rooters,
> how can I create a branch which is of type string?
>
> Thanks
>
Received on Thu Feb 19 2009 - 18:32:04 CET

This archive was generated by hypermail 2.2.0 : Thu Feb 19 2009 - 23:50:01 CET