Hello I am facing a peculiar problem with merging of root files which I have never faced before. I am trying to add multiple root files having same structure. There are histograms inside a container and a tree inside another containers. The merged file is adding the histograms properly but the trees are not merged. There are much less number of events in the trees than it should be. Please help me in this regard.
I am adding the root files here. When I merge it using hadd, no error is coming. AnalysisResults_244918_1.root (653.3 KB)
Dear @vpadulan ,
The TLists named as AnalysisMain_tree_Vz8cm has trees named fTreeEvent in it. Whereas the lists named as Histogram_TrackVariables_Vz8cm have histograms in it.
When I am adding such root files having the exact same structure and name, the tress are not getting merged properly.