Hi,
I know how to select a number of events by making an empty
tree:
TTree *select_tree=fChain->CloneTree(0)
and then filling that tree with
select_tree->Fill();
and wirte it in a file
TFile f1("selection.root", "RECREATE");
select_tree->Write();
f1.Close();
Now the problem is that I have about 15 ntubles( about 6 GB totally) and the job crashes in between . Is that any way to write the selected events in more than one root tuple. (the shortest way) called for example selected_tree1.root , slected_tree2.root and so on.
Many Thanks,
Nasim Received on Sun Sep 25 2005 - 18:47:59 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:12 MET