Skip to content

[PWGJE] Rename Ds jet task and add THnSparse histograms#15749

Open
monamelop wants to merge 2 commits intoAliceO2Group:masterfrom
monamelop:ds-spec-subs-clean
Open

[PWGJE] Rename Ds jet task and add THnSparse histograms#15749
monamelop wants to merge 2 commits intoAliceO2Group:masterfrom
monamelop:ds-spec-subs-clean

Conversation

@monamelop
Copy link
Copy Markdown
Contributor

Hi,

This PR renames the Ds jet analysis task and introduces THnSparse-based observables.

Changes:

  • Rename task: jetDsSpectrumAndSubstructure -> jetDsSpecSubs
  • Update workflow name accordingly
  • Add THnSparse histograms
  • Add corresponding workflow entry in CMakeLists

The task jetDsSpectrumAndSubstructure was introduced during development and is not used elsewhere. This PR consolidates the final version under the name jetDsSpecSubs.

This PR has been cleaned and rebased on the latest master to include only the relevant changes.

Please let me know if you would prefer splitting the rename and the new features into separate PRs.

Thanks!

@github-actions
Copy link
Copy Markdown

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

@nzardosh
Copy link
Copy Markdown
Collaborator

@vkucera can you check if the includes modification here is reasonable to you please?

@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented Apr 14, 2026

@vkucera can you check if the includes modification here is reasonable to you please?

No, it doesn't look reasonable.

const float s0 = (scores.size() > kScore0) ? scores[kScore0] : -999.f;
const float s1 = (scores.size() > kScore1) ? scores[kScore1] : -999.f;
const float s2 = (scores.size() > kScore2) ? scores[kScore2] : -999.f;

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.

Why don't you store the vector?

Comment on lines +282 to +285
const float mass = dsCandidate.m();
const float pt = dsCandidate.pt();
const float z = zParallel;
const float dR = axisDistance;
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.

Seems useless.

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.

3 participants