Skip to content

[df bulk] Prepare for reading TTreeReaderValue in bulks#22494

Draft
vepadulano wants to merge 5 commits into
root-project:masterfrom
vepadulano:df-bulk-read-bulk-ttreereadervalue
Draft

[df bulk] Prepare for reading TTreeReaderValue in bulks#22494
vepadulano wants to merge 5 commits into
root-project:masterfrom
vepadulano:df-bulk-read-bulk-ttreereadervalue

Conversation

@vepadulano
Copy link
Copy Markdown
Member

@vepadulano vepadulano commented Jun 5, 2026

Needs #22313 #22461 #22472 #22479

This is a partial implementation, serving as a starting point. It only considers the case of reading from TTreeReaderValue. It also highlights already a few pre-existing features which may not be supported anymore:

  • Reading polymorphic TBranch with different concrete types stored across different events
  • Reading polymorphic TBranch of concrete types read as their base type

Part 5 of N of the dataframe bulk processing effort.

Sets the stage for future bulk reading where the actual values that need to be passed to downstream nodes may need to get stored in a separate location.
Nodes of the computation graph which may operate a selection on which entries are valid or not are modified to accommodate for multiple entries being evaluated at the same time. For now, the size of the bulk is set to one.

Note that this commit does not touch in any way the reading of data.
The RLoopManager decides the current bulk size that all nodes of the computation graph must adhere to. Currently this is set to one, in the future it may vary.
define and variation nodes update their current available values via an Update method, this is now prepared to work in bulks, currently assuming always size one.
This is a partial implementation, serving as a starting point. It only considers the case of reading from TTreeReaderValue. It also highlights already a few pre-existing features which may not be supported anymore:

* Reading polymorphic TBranch with different concrete types stored across different events
* Reading polymorphic TBranch of concrete types read as their base type
@vepadulano vepadulano self-assigned this Jun 5, 2026
@vepadulano vepadulano marked this pull request as draft June 5, 2026 15:55
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

Test Results

    22 files      22 suites   3d 15h 46m 40s ⏱️
 3 862 tests  3 861 ✅ 0 💤  1 ❌
76 292 runs  76 274 ✅ 0 💤 18 ❌

For more details on these failures, see this check.

Results for commit cda277f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant