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  .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,
ROOT Version: 6.20/02
Platform: Linux Mint 19.3
Compiler: Not Provided