Repository navigation
Fix recovery of old signal files containing tracks - #578
Merged
Merged
Conversation
Vindaar
approved these changes
Nov 16, 2026
Vindaar
left a comment
Member
There was a problem hiding this comment.
Yes, this seems sensible. Being able to avoid the redundant CloneTree is a nice bonus anyway. The original usage of CloneTree spared us from the manual branch removal and byte counter adjustments we now need to do.
diazovejas
approved these changes
Nov 16, 2026
mariajmz
approved these changes
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recovering an old REST file can crash if it also contains tracks written with an older version of tracklib.
Recovery creates a copy of the complete file and rebuilds its detector-signal data. This change preserves the other branches directly in that copy, avoiding the step that causes the crash. The original file is unchanged.
This is a smaller version of #577. It changes only one file, the one that implements the fix itself. The test code remains in #577.
The fix was tested with ROOT 6.26.10 and 6.38.06, including recovery of the real TREX data file R00236.