When I merge TBufferMergerFile
s containing root-level objects (i.e. not in branches of a TTree) I get these warning messages:
Warning in <ROOT::Experimental::TBufferMergerFile::ResetObjects>: Key/Object GGSSimInfo is not attached to the directory /home/mori/software/devel/GGSSoftware/Debug_mt/GGSRootOutput.root and can not be ResetAfterMerge correctly
Warning in <ROOT::Experimental::TBufferMergerFile::ResetObjects>: Key/Object GGSGeoParams is not attached to the directory /home/mori/software/devel/GGSSoftware/Debug_mt/GGSRootOutput.root and can not be ResetAfterMerge correctly
In the merged output file I can see that the objects mentioned in the warnings are present in multiple cycles, one per merged file:
KEY: GGSTSimInfo GGSSimInfo;2
KEY: GGSTSimInfo GGSSimInfo;1
KEY: GGSTGeoParams GGSGeoParams;2
KEY: GGSTGeoParams GGSGeoParams;1
This makes a lot of sense to me: TBufferMerger
does not know how to merge my custom objects, so it does the only sane thing, namely copy all the different instances of the same object in the merged file with different cycles. But then I don’t understand why the warning messages: is there something that I am overlooking and that can cause troubles in my merged file?
Thanks for the help.