Dear ROOT experts,
I’m running a script which clones a TTree and adds onto it another TBranch.
The new cloned tree and branch are then saved to an output file.
The output file seems corrupted in a weird way — opening it in a TBrowser & clicking on a branch displays its contents but after a few seconds the branch disappears from the list of branches visible under the TTree. Running analysis codes on the output file leads to errors. I’m attaching the code used for this — your help would be deeply appreciated!
One other comment: the (corrupted) output seems to have a backup TTree of the same name, although the code doesn’t create one explicitly. Might be related to some memory allocation issue…(?)
Hi all,
If it helps for context, please see the output file’s contents — maybe related to a memory corruption. Focus on the two copies of nominalTTree.
Cheers,
Roy
Hi Danilo,
Thanks for your reply.
I think my original post is misleading (maybe). The output file of the code I provided is read fine with ROOT but not read properly with RDataFrame (the latter made us think that it might be corrupted). Could there be a reason for this?
Cheers,
Roy