From: Alexis Cothenet <>
Date: Wed, 6 Apr 2005 16:11:42 +0200 (CEST)

Hi all,

I have seen there is a nice way to put the tree data in ascii file by doing
(TTreePlayer*)(T->GetPlayer()))->SetScanRedirect(true); T->Scan("*");

or doing:
  TTree *T = (TTree*) f.Get(l_namestructure);   ((TTreePlayer*)(T->GetPlayer()))->SetScanFileName("toto.txt");

But what i'd like to do is to add some information at the beginning and the end of the file in a loop.

So i'd like something like:

Scanning info for tree1
Scanning info for tree2


Is there a way to do that in a few simple root commands ?(so to append informations in ascii file toto.txt ? )

Thanks in advance.

Alexis Received on Wed Apr 06 2005 - 16:11:53 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET