Root file to text file

Hi All,

How might i write a root file to a text file ?

Thanks for your help


in general it’s not an advantage to migrate from an optimised binary format to a ASCII. In general it’s not even a well defined operation (You may have collections of collections of complex objects in your trees, assuming you want to transform trees into ASCII columns).
I think we do not provide anything out of the box. Pehaps the TTree::Scan method may be of help if not I am afraid custom code, not that difficult anyway, must be written.


1 Like

See also: … plain-text