Skip to content

[HS3][RF] I/O for RooWrapperPdf and RooExtendPdf#22647

Open
cburgard wants to merge 2 commits into
root-project:masterfrom
cburgard:roowrapperextendpdf-jsonio
Open

[HS3][RF] I/O for RooWrapperPdf and RooExtendPdf#22647
cburgard wants to merge 2 commits into
root-project:masterfrom
cburgard:roowrapperextendpdf-jsonio

Conversation

@cburgard

Copy link
Copy Markdown
Contributor

added I/O for roowrapperpdf and changed extendpdf I/O to be compliant with hs3

This Pull request:

adds JSONIO for the two classes mentioned

Changes or fixes:

  • add importer and exporter for RooWrapperPdf
  • rename export of RooExtendPdf to be compliant with HS3 specification

Checklist:

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

This PR fixes #

node["function"] << funcProxy->absArg()->GetName();

if (pdf->selfNormalized())
node["misc"]["ROOT_internal"]["selfNormalized"] << true;

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.

I thought everything outside the schema should go inside the global "misc" node somehow, just like the string attributes? This is the first time that we add a "misc" field to a distribution. Does the standard mention that "misc" is a reserved key for miscellaneous info also in that context?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You are absolutely right. The initial draft of this code was AI-generated, and I overlooked this bug. Thanks for catching it! I just pushed the fix.

@github-actions

Copy link
Copy Markdown

Test Results

    19 files      19 suites   2d 20h 26m 13s ⏱️
 3 865 tests  3 864 ✅ 0 💤 1 ❌
66 302 runs  66 301 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit e1c89f7.

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