Deleting a branch from a tree

From: Scott Sampson (sampson@nevis1.nevis.columbia.edu)
Date: Tue Mar 02 1999 - 18:13:09 MET


Hi,

I have a tree (a converted hbook ntuple) and I want to get rid of some of
the variables. Is there a way to delete individual branches, then rewrite
the file so that those branches are not there anymore? One reason I would
like to do this is to reduce the size of some ntuples. Another use would
be to change a value in the ntuple: i.e. delete branch "x", then create a
new branch "x" with different values and write out that branch. Thanks,

Scott



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:29 MET