Skip to content

[ntuple] Add support for attributes reading#21778

Draft
silverweed wants to merge 4 commits intoroot-project:masterfrom
silverweed:ntuple_attr_read
Draft

[ntuple] Add support for attributes reading#21778
silverweed wants to merge 4 commits intoroot-project:masterfrom
silverweed:ntuple_attr_read

Conversation

@silverweed
Copy link
Copy Markdown
Contributor

@silverweed silverweed commented Apr 2, 2026

Adds support for RNTuple attribute reading in the form of the ROOT::Experimental::RNTupleAttrSetReader class plus some ancillary classes.

Main features added:

  • RNTupleReader::OpenAttributeSet -> returns an RNTupleAttrSetReader for a specific attribute set
  • RNTupleAttrSetReader::GetAttributes* -> various methods that return iterables over attribute entry indices
  • RNTupleAttrSetReader::LoadEntry(index[, entry]) -> loads index-th attribute entry (similar to RNTupleReader::LoadEntry). Meant to be used with RNTupleAttrSetReader::GetAttributes*

See the tests for basic usage, e.g. BasicReadingWriting in ntuple_attributes.cxx

@silverweed silverweed self-assigned this Apr 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Test Results

    16 files      16 suites   2d 5h 4m 47s ⏱️
 3 804 tests  3 804 ✅ 0 💤 0 ❌
54 764 runs  54 764 ✅ 0 💤 0 ❌

Results for commit 5da9754.

♻️ This comment has been updated with latest results.

@silverweed silverweed added the clean build Ask CI to do non-incremental build on PR label Apr 7, 2026
@silverweed silverweed force-pushed the ntuple_attr_read branch 3 times, most recently from aaa2bb4 to 487b964 Compare April 7, 2026 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean build Ask CI to do non-incremental build on PR in:RNTuple

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant