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:
info1
Scanning info for tree1
info2
Scanning info for tree2
etc...
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.
Regards,
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