Skip to content

[hist] Conversion functions from RHist to TH1*#20366

Merged
hahnjo merged 4 commits intoroot-project:masterfrom
hahnjo:hist-convert
Nov 12, 2025
Merged

[hist] Conversion functions from RHist to TH1*#20366
hahnjo merged 4 commits intoroot-project:masterfrom
hahnjo:hist-convert

Conversation

@hahnjo
Copy link
Member

@hahnjo hahnjo commented Nov 10, 2025

Introduce a new package ROOTHistUtil that depends both on the "old" TH1* Hist library and the "new" histv7 package. Conversion is offered via free functions in the newly added Hist namespace. In this initial implementation, only one-dimensional regular histograms are supported.

Introduce a new package ROOTHistUtil that depends both on the "old"
TH1* Hist library and the "new" histv7 package. Conversion is offered
via free functions in the newly added Hist namespace. In this initial
implementation, only one-dimensional regular histograms with integer
bin content type are supported.
Add and use function Internal::SetBinContent not exposed in the public
interface.
@github-actions
Copy link

github-actions bot commented Nov 10, 2025

Test Results

    21 files      21 suites   3d 18h 27m 10s ⏱️
 3 742 tests  3 742 ✅ 0 💤 0 ❌
76 718 runs  76 718 ✅ 0 💤 0 ❌

Results for commit 2fdb96b.

♻️ This comment has been updated with latest results.

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!

@hahnjo hahnjo merged commit 0c4a174 into root-project:master Nov 12, 2025
30 of 31 checks passed
@hahnjo hahnjo deleted the hist-convert branch November 12, 2025 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants