Hi,
you can check the existence of the TTree and create it if it doesn’t exist, see Check if Object exists in TFile.
Also, to append data to an existing TTree, maybe this is a useful link: root.cern.ch/root/roottalk/roottalk02/5226.html.
Hi,
you can check the existence of the TTree and create it if it doesn’t exist, see Check if Object exists in TFile.
Also, to append data to an existing TTree, maybe this is a useful link: root.cern.ch/root/roottalk/roottalk02/5226.html.