Skip to content

[PWGHF] add THnSparse with the charm-bulk correlation for the v0 pt in taskPtFlucCharmHadrons#15941

Merged
stefanopolitano merged 20 commits intoAliceO2Group:masterfrom
wuctlby:charmbulk
May 6, 2026
Merged

[PWGHF] add THnSparse with the charm-bulk correlation for the v0 pt in taskPtFlucCharmHadrons#15941
stefanopolitano merged 20 commits intoAliceO2Group:masterfrom
wuctlby:charmbulk

Conversation

@wuctlby
Copy link
Copy Markdown
Contributor

@wuctlby wuctlby commented Apr 23, 2026

Dear all,
This PR is about the analysis task of charm-bulk correlation, probing the radio-flow fluctuation, the underlying radial expansion, and the medium’s properties. And this task will be iterated in the near future.
Please let me know if you have any comments or suggestions!
Thanks a lot!
Also tagging @arossi81 and @mfaggin .

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

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

@github-actions github-actions Bot changed the title annalysis task for the v0 pt of the charm-bulk [PWGHF] annalysis task for the v0 pt of the charm-bulk Apr 23, 2026
wuctlby added a commit to wuctlby/O2Physics that referenced this pull request Apr 23, 2026
Please consider the following formatting changes to AliceO2Group#15941
@stefanopolitano
Copy link
Copy Markdown
Collaborator

Hi @wuctlby ! Thanks for the development. This is very interesting, however it was already implemented in another task (https://github.com/AliceO2Group/O2Physics/blob/master/PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx). (Tagging @prottayCMT who is the main analyser)

@wuctlby wuctlby marked this pull request as draft April 23, 2026 14:33
wuctlby and others added 3 commits April 28, 2026 14:10
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Comment thread PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx Outdated
Comment thread PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx Outdated
wuctlby and others added 2 commits April 29, 2026 14:59
@wuctlby
Copy link
Copy Markdown
Contributor Author

wuctlby commented Apr 29, 2026

Hi @stefanopolitano and @prottayCMT ,
I deleted another task and merged the implementation into this taskPtFlucCharmHadrons. Since @SwatiSaha-1997 is currently working on it, so I used a flag to split them. We can refactor the code after the analysis is stable and clear.
Please let me know if you have any comments!
Thanks a lot!
Also tagging @arossi81 and @mfaggin

Please consider the following formatting changes to AliceO2Group#15941
@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented Apr 29, 2026

Please do not mark my comments as resolved. It is explicitly mentioned in the guidelines.

@wuctlby wuctlby marked this pull request as ready for review April 29, 2026 14:42
Co-authored-by: Copilot <copilot@github.com>
@prottayCMT
Copy link
Copy Markdown
Collaborator

Hi @stefanopolitano and @prottayCMT , I deleted another task and merged the implementation into this taskPtFlucCharmHadrons. Since @SwatiSaha-1997 is currently working on it, so I used a flag to split them. We can refactor the code after the analysis is stable and clear. Please let me know if you have any comments! Thanks a lot! Also tagging @arossi81 and @mfaggin

@wuctlby and @arossi81 Fine from mine side

Comment thread PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx
Co-authored-by: Copilot <copilot@github.com>
std::array<float, 2> daugPts = {cand.ptProng0(), cand.ptProng1()};
for (int iProng = 0; iProng < 2; ++iProng) { // o2-linter: disable=magic-number (for 2-prong)
if (std::binary_search(trkIDs.begin(), trkIDs.end(), daugIDs[iProng])) {
meanPt = (rawMeanPt * n - daugPts[iProng]) / (n - 1);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hi @wuctlby ! Thanks for the devs!. I have a doubt on this point. It is good to remove the daughter tracks to avoid autocorrelations, but in this case you overwrite the meanPt at each iteration, this means that the final meanPt values account only for the last daughter in the loop. Am I missing something?

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.

Hi @stefanopolitano ! Thanks for the comment. No, you are right. I mixed up the algorithm of removing daughter tracks after several modifications. I was starting from the D0, so it's hard to have a D0 whose 2 daughter particles both come from the opposite subevent after eta gap is applied. I fixed this issue with the new commits. Please let me know if you have any other comments.

Please consider the following formatting changes to AliceO2Group#15941
@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented May 5, 2026

@wuctlby The PR title does not say anything about what you did.

@wuctlby wuctlby changed the title [PWGHF] annalysis task for the v0 pt of the charm-bulk [PWGHF] add THnSparse with the charm-bulk correlation for the v0 pt in taskPtFlucCharmHadrons May 5, 2026
@wuctlby
Copy link
Copy Markdown
Contributor Author

wuctlby commented May 5, 2026

@wuctlby The PR title does not say anything about what you did.

Hi @vkucera , thanks for the reminder! As discussed above, we decided to merge the task I developed at the beginning to the existing taskPtFlucCharmHadrons. I modified the title now

@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented May 5, 2026

@wuctlby The PR title does not say anything about what you did.

Hi @vkucera , thanks for the reminder! As discussed above, we decided to merge the task I developed at the beginning to the existing taskPtFlucCharmHadrons. I modified the title now

Thanks

@stefanopolitano stefanopolitano enabled auto-merge (squash) May 6, 2026 12:07
@stefanopolitano stefanopolitano merged commit 5682721 into AliceO2Group:master May 6, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pwghf PWG-HF

Development

Successfully merging this pull request may close these issues.

6 participants