Skip to content

Conversation

@nepeivodaRS
Copy link
Contributor

@nepeivodaRS nepeivodaRS commented May 6, 2025

Changed several histograms from TH1F to TH1D in cases where the expected number of counts may exceed 2^(24). This prevents potential precision loss or overflow issues in bins with very high statistics.
TH1F uses 32-bit floats, which lose precision when bin counts exceed ~16 million -- small increments may be ignored. Switching to TH1D (64-bit) ensures accurate bin content in high-statistics cases.

@github-actions github-actions bot added the pwglf label May 6, 2025
@github-actions
Copy link

github-actions bot commented May 6, 2025

O2 linter results: ❌ 29 errors, ⚠️ 0 warnings, 🔕 0 disabled

@github-actions github-actions bot changed the title switch TH1F to TH1D for high-count histograms [PWGLF] switch TH1F to TH1D for high-count histograms May 6, 2025
@nepeivodaRS nepeivodaRS marked this pull request as ready for review May 6, 2025 16:23
@romainschotter romainschotter enabled auto-merge (squash) May 6, 2025 16:26
@romainschotter romainschotter merged commit 5ba8c51 into AliceO2Group:master May 6, 2025
14 of 16 checks passed
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request May 11, 2025
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request May 11, 2025
louisemillot pushed a commit to louisemillot/O2Physics that referenced this pull request May 14, 2025
prottayCMT pushed a commit to prottayCMT/O2Physics2024 that referenced this pull request May 17, 2025
ariedel-cern pushed a commit to ariedel-cern/O2Physics that referenced this pull request May 23, 2025
ddobrigk pushed a commit to ddobrigk/O2Physics that referenced this pull request Jun 14, 2025
smaff92 pushed a commit to smaff92/O2Physics that referenced this pull request Jun 17, 2025
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants