Hi All,
Using this piece of code :
((TTreePlayer*)(tree->GetPlayer()))->SetScanRedirect(true);
((TTreePlayer*)(tree->GetPlayer()))->SetScanFileName("abc.txt);
tree->Scan("run:event:Sum$(x && y)", "Sum$(x $$ y");
I got abc. txt file (attached) . I want to convert abc.txt to xyx.txt(attached) using same .C root script. Just want to extract numbers of certain rows and columns of Scan output file.
abc.txt (7.5 KB) xyx.txt (521 Bytes)