Skip to content

Conversation

@Luca610
Copy link
Contributor

@Luca610 Luca610 commented Sep 30, 2025

This pr fixes the computation of the generated invariant mass of resonances and a small bug in the wrongSign determination for the D+Lambda decay channel

@github-actions github-actions bot added the pwghf PWG-HF label Sep 30, 2025
@github-actions
Copy link

github-actions bot commented Sep 30, 2025

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

@github-actions github-actions bot changed the title Fixed generated invariant mass calculation [PWGHF] Fixed generated invariant mass calculation Sep 30, 2025
Comment on lines +627 to +629
auto dau1 = particlesMc.iteratorAt(particleReso.daughtersIds().front());
auto dau2 = particlesMc.iteratorAt(particleReso.daughtersIds().back());
std::array<std::array<float, 3>, 2> pArr = {{{dau1.px(), dau1.py(), dau1.pz()}, {dau2.px(), dau2.py(), dau2.pz()}}};
Copy link
Collaborator

Choose a reason for hiding this comment

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

you can consider to loop on daughters, to generalise in case of more than 2 daughters

Copy link
Contributor Author

Choose a reason for hiding this comment

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

RecoDecay::m takes fixed length arrays as input, that's way I ended up implementing it only for 2 prongs

@fgrosa fgrosa enabled auto-merge (squash) October 1, 2025 12:02
@fgrosa fgrosa merged commit 060a20e into AliceO2Group:master Oct 1, 2025
13 checks passed
jmunozme pushed a commit to jmunozme/O2Physics that referenced this pull request Oct 3, 2025
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request Oct 11, 2025
ThePhDane pushed a commit to ThePhDane/O2Physics that referenced this pull request Nov 3, 2025
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 11, 2025
lmattei01 pushed a commit to lmattei01/O2Physics that referenced this pull request Dec 5, 2025
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.

2 participants