You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No clone:
done
Clone:
Error in <TBasket::Streamer>: The value of fKeylen is incorrect (-23644) ; trying to recover by setting it to zero
Error in <TBasket::Streamer>: The value of fObjlen is incorrect (-2020426277) ; trying to recover by setting it to zero
Error in <TBranch::GetBasket>: File: o2.root at byte:3872444835, branch:m, entry:0, badread=1, nerrors=1, basketnumber=0
done
Maybe, maybe not :). The practical effect of this is ('as expected').
Copy ALL the meta data of the TTree/TNTuple
Attach the copy of the current directory.
This is the 'intended' behavior since what to "just" copy all the meta data and then use is rare. The usual case is then (as done in CloneTree) to also do:
Reset of the accumulated information.
To fix the code above, one can do:
Oh ok, so Clone only copies the metadata and is expected to yield broken trees as the data stays behind in a different file that the cloned tree does not know how to access.
I find this confusing and error-prone, but if it is things working as intended then nothing to do here.
First reported at https://root-forum.cern.ch/t/sequence-of-loading-root-file/48601 .
The following is a reproducer:
prints
files.zip
The text was updated successfully, but these errors were encountered: