Dispatch GetMinum,GetMaximum calculations to friend when necessary#22677
Open
vepadulano wants to merge 3 commits into
Open
Dispatch GetMinum,GetMaximum calculations to friend when necessary#22677vepadulano wants to merge 3 commits into
vepadulano wants to merge 3 commits into
Conversation
This commit introduces testing for GetMinimum,GetMaximum in case the requested column belongs to a friend tree. Two tests are taken directly from the reproducer reported by a user at https://root-forum.cern.ch/t/ttree-getminimum-getmaximum-only-scan-one-file-of-a-friend-tchain/64905 A third test exercises in particular the correct updating of the branch addresses of the friend TChain when it switches to another file even though the main TChain is still traversing the same file.
Implement a similar strategy to what was done for GetBranch in root-project@30860f3 . This will be used in a later commit to dispatch a call to Get[Minimum,Maximum] to a friend if it has the input column name.
If the input column name belongs to a friend, the methods now dispatch the calculation to the friend itself to ensure the branch/leaf addresses are properly updated.
Test Results 22 files 22 suites 3d 13h 47m 20s ⏱️ For more details on these failures, see this check. Results for commit 9990ddf. |
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.
Fixes #22652