Skip to content

[ntuple] initial support for I/O rules on SoA classes - #23311

Open
jblomer wants to merge 3 commits into
root-project:masterfrom
jblomer:ntuple-soa-rules
Open

[ntuple] initial support for I/O rules on SoA classes#23311
jblomer wants to merge 3 commits into
root-project:masterfrom
jblomer:ntuple-soa-rules

Conversation

@jblomer

@jblomer jblomer commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Adds support for rename and whole-object rules.

Part of #19230

@jblomer
jblomer requested review from enirolf, hahnjo and pcanal September 9, 2026 11:39
@jblomer jblomer self-assigned this Sep 9, 2026
@jblomer
jblomer requested a review from silverweed as a code owner September 9, 2026 11:39
Add a new RRuleField internal base class containing the code dealing
with I/O customization rules. This class is initially used by RClassField
and will later be reused by RSoAField.
Adds support for rename and whole-object rules. Errors out when rules
with targets or sources are found.
#pragma link C++ options=rntupleSoARecord(RecordIntermediateNew) class SoAIntermediateNew+;
#pragma link C++ options=rntupleSoARecord(RecordLeafNew) class SoALeafNew+;

#pragma read sourceClass = "RecordBaseOld" targetClass = "RecordBaseNew" version = "[1-]"

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.

Suggested change
#pragma read sourceClass = "RecordBaseOld" targetClass = "RecordBaseNew" version = "[1-]"
#pragma read sourceClass = "RecordBaseOld" targetClass = "RecordBaseNew" version = "[1-]";

no necessary but looks/feel better.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Test Results

    19 files      19 suites   3d 4h 34m 55s ⏱️
 3 880 tests  3 877 ✅ 0 💤 3 ❌
64 937 runs  64 933 ✅ 1 💤 3 ❌

For more details on these failures, see this check.

Results for commit 24bcb18.

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.

2 participants