Skip to content

Conversation

@feisenhu
Copy link
Collaborator

Updating the THnSparse of SingleTrackQC tasks

@github-actions
Copy link

github-actions bot commented Jun 17, 2025

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

@feisenhu feisenhu enabled auto-merge (squash) June 18, 2025 07:18
Copy link
Collaborator

@alibuild alibuild left a comment

Choose a reason for hiding this comment

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

Auto-approving on behalf of @feisenhu.

@feisenhu feisenhu merged commit 5a1aa28 into AliceO2Group:master Jun 18, 2025
12 of 13 checks passed
@dsekihat
Copy link
Collaborator

Dear @feisenhu , did you forget discussion on memory consumption with @hscheid ? #8188

@feisenhu
Copy link
Collaborator Author

Dear @dsekihat, no I have not forgotten the discussion we had.
The suggested changes are only affecting the THnSparse which has a configurable axis (binning).
Thus the binning can be adapted for the use case. If preferred it can be set to only one bin as default in the DCA dimensions. That way it will not affect other analysis.

@dsekihat
Copy link
Collaborator

Hi @feisenhu , It is OK at this time. I implemented configurable variables for each DCA axis. #11673

fRegistry.fill(HIST("Track/") + HIST(lepton_source_types[lepton_source_id]) + HIST("positive/hQoverPt"), track.sign() / track.pt());
fRegistry.fill(HIST("Track/") + HIST(lepton_source_types[lepton_source_id]) + HIST("positive/hDCAxyz"), track.dcaXY(), track.dcaZ());
fRegistry.fill(HIST("Track/") + HIST(lepton_source_types[lepton_source_id]) + HIST("positive/hDCAxyzSigma"), track.dcaXY() / std::sqrt(track.cYY()), track.dcaZ() / std::sqrt(track.cZZ()));
fRegistry.fill(HIST("Track/") + HIST(lepton_source_types[lepton_source_id]) + HIST("positive/hDCAxyzSigma"), dcaXY, dcaZ);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this needed? The Sparse defined in 583 has the information to create exactly this histogram.

@hscheid
Copy link
Collaborator

hscheid commented Jun 18, 2025

Was this tested in terms of memory consumption? We should just avoid that the QC is broken, but in general I think the correlations that we check with this are worth studying.

prottayCMT pushed a commit to prottayCMT/O2Physics2024 that referenced this pull request Jun 20, 2025
jpxrk pushed a commit to jpxrk/O2Physics that referenced this pull request Jul 16, 2025
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 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.

4 participants