Skip to content

[ntuple] Implement Detail::RRawPtrWriteEntry#18049

Merged
hahnjo merged 6 commits into
root-project:masterfrom
hahnjo:ntuple-RRawPtrWriteEntry
Apr 4, 2025
Merged

[ntuple] Implement Detail::RRawPtrWriteEntry#18049
hahnjo merged 6 commits into
root-project:masterfrom
hahnjo:ntuple-RRawPtrWriteEntry

Conversation

@hahnjo

@hahnjo hahnjo commented Mar 19, 2025

Copy link
Copy Markdown
Member

It is a container of const raw pointers that can be used to write constant data products in frameworks.

Closes #17900

Comment thread tree/ntuple/v7/inc/ROOT/RFieldToken.hxx Outdated
@github-actions

github-actions Bot commented Mar 19, 2025

Copy link
Copy Markdown

Test Results

    18 files      18 suites   4d 10h 34m 28s ⏱️
 2 717 tests  2 713 ✅ 0 💤 4 ❌
47 175 runs  47 171 ✅ 0 💤 4 ❌

For more details on these failures, see this check.

Results for commit b461491.

♻️ This comment has been updated with latest results.

@hahnjo hahnjo force-pushed the ntuple-RRawPtrWriteEntry branch from 437cc7b to 7b1d766 Compare March 21, 2025 14:06
@hahnjo hahnjo force-pushed the ntuple-RRawPtrWriteEntry branch from 7b1d766 to 3d3a4ee Compare March 28, 2025 14:07

@jblomer jblomer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM!

@hahnjo hahnjo force-pushed the ntuple-RRawPtrWriteEntry branch from 3d3a4ee to a4291b1 Compare April 2, 2025 07:19

@enirolf enirolf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I added two minor documentation-related comments but otherwise good to go.

Comment thread tree/ntuple/v7/inc/ROOT/RFieldToken.hxx Outdated
Comment thread tree/ntuple/v7/inc/ROOT/RNTupleWriter.hxx Outdated

@vepadulano vepadulano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread tree/ntuple/v7/inc/ROOT/RFieldToken.hxx Outdated
hahnjo added 6 commits April 4, 2025 08:54
RNTupleReader::CreateEntry() needs to call GetModel(), which is not
const.
It will also be used by RRawPtrWriteEntry.
... to avoid code duplication when adding RRawPtrWriteEntry.
It is a container of const raw pointers that can be used to write
constant data products in frameworks.

Closes root-project#17900
@hahnjo hahnjo force-pushed the ntuple-RRawPtrWriteEntry branch from a4291b1 to b461491 Compare April 4, 2025 07:38
@hahnjo hahnjo merged commit 356a6e4 into root-project:master Apr 4, 2025
@hahnjo hahnjo deleted the ntuple-RRawPtrWriteEntry branch April 4, 2025 13:10
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.

[ntuple] Add write API with const pointers

5 participants