Key of TTree appears mutliple times in TFile


I sometimes observe that when writing larger TTrees to a TFile, afterwards the corresponding key appears multiple times in the TFile, e.g.

(TFile *) 0x55f791612730
root [1] .ls
TFile**		pid1M_loc_chi2.root	
 TFile*		pid1M_loc_chi2.root	
  KEY: TTree	ntp;3	ntpchi2
  KEY: TTree	ntp;2	ntpchi2

Why is it like this, and how can I avoid this?

Best and thanks,

Please read tips for efficient and successful posting and posting code

ROOT Version: 6.20/02
Platform: Linux Mint 19.3
Compiler: Not Provided

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.