Skip to content

Conversation

@chengtt0406
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented May 26, 2025

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

@github-actions github-actions bot changed the title Add new decay chain (OmegaKaon) and MC source flag [PWGHF] Add new decay chain (OmegaKaon) and MC source flag May 26, 2025
@vkucera vkucera marked this pull request as draft May 26, 2025 08:22
@vkucera
Copy link
Collaborator

vkucera commented May 26, 2025

Please fix the errors.

@vkucera vkucera marked this pull request as ready for review May 26, 2025 15:10
@vkucera vkucera marked this pull request as draft May 26, 2025 15:25
Comment on lines 561 to 563
std::array<double, 2> massesOmegacToOmegaPi{o2::constants::physics::MassOmegaMinus, o2::constants::physics::MassPiPlus};
std::array<double, 2> massesOmegacToOmegaK{o2::constants::physics::MassOmegaMinus, o2::constants::physics::MassKPlus};
std::array<double, 2> massesXicDaughters{o2::constants::physics::MassXiMinus, o2::constants::physics::MassPiPlus};
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use NProngs or NDaughters wherever you create containers with elements related to the decay products.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For this point, I would like to keep the current version. To keep consistent with the others in our code.

Copy link
Collaborator

Choose a reason for hiding this comment

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

The code is more understandable when the meaning is conveyed through the names of the entities. This is even more relevant in your case since you operate with 6 different arrays of masses which happen to all have 2 prongs.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please address it in the next PR.

@chengtt0406 chengtt0406 marked this pull request as ready for review May 30, 2025 07:19
@vkucera vkucera changed the title [PWGHF] Add new decay chain (OmegaKaon) and MC source flag [PWGHF] treeCreatorOmegacSt: Add new decay channel (Omega Kaon) and MC source flag May 30, 2025
@vkucera vkucera enabled auto-merge (squash) May 30, 2025 15:22
@vkucera vkucera merged commit bc8120c into AliceO2Group:master May 30, 2025
15 of 16 checks passed
jinhyunni pushed a commit to jinhyunni/O2Physics that referenced this pull request Jun 11, 2025
hernasab pushed a commit to hernasab/O2Physics that referenced this pull request Jun 11, 2025
EmilGorm pushed a commit to EmilGorm/O2Physics that referenced this pull request Jun 12, 2025
prottayCMT pushed a commit to prottayCMT/O2Physics2024 that referenced this pull request Jun 12, 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
ddobrigk pushed a commit to ddobrigk/O2Physics that referenced this pull request Jul 16, 2025
alibuild pushed a commit to alibuild/O2Physics that referenced this pull request Aug 11, 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

pwghf PWG-HF

Development

Successfully merging this pull request may close these issues.

2 participants