Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ntuple] don't try to construct an Emulated TClass as a RClassField #17661

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

silverweed
Copy link
Contributor

@silverweed silverweed commented Feb 7, 2025

When constructing a RClassField we now require that the TClass is at least Interpreted. If not, we follow the same logic as when we have no TClass at all (i.e. either create an emulated field or fail, depending on the user options).

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #17648

Copy link
Contributor

@jblomer jblomer left a comment

Choose a reason for hiding this comment

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

Nice fix!

Copy link
Member

@hahnjo hahnjo left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link

github-actions bot commented Feb 7, 2025

Test Results

    18 files      18 suites   4d 9h 48m 43s ⏱️
 2 722 tests  2 722 ✅ 0 💤 0 ❌
47 294 runs  47 294 ✅ 0 💤 0 ❌

Results for commit 3fbdd88.

♻️ This comment has been updated with latest results.

@silverweed silverweed force-pushed the ntuple_emu_tfile branch 2 times, most recently from 61f2eb1 to 3fbdd88 Compare February 17, 2025 09:36
When constructing a RClassField we need some information that we don't
have when the TClass is Emulated (or less), therefore we now check
that we have at least an Interpreted TClass in RFieldBase::Create().
If not, we follow the same logic as when we have no TClass at all
(i.e. either create an emulated field or fail, depending on the user
options).
@silverweed silverweed merged commit 562101f into root-project:master Feb 19, 2025
18 of 20 checks passed
@silverweed silverweed deleted the ntuple_emu_tfile branch February 19, 2025 10:56
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] Record field emulation not working with TFile
4 participants