Skip to content

Conversation

@mfaggin
Copy link
Collaborator

@mfaggin mfaggin commented Jul 1, 2025

Data type for particleI changed in the template one T.

In the method getMatchedMCRec the candidate daughter particles are retrieved with auto particleI = arrDaughters[iProng].mcParticle();, i.e. particleI is always of type McParticles::iterator. This means that the current version of the code works if and only if T == McParticles, but it does not work if it is something else, e.g. soa::Join<McParticles, <something_else> >. This fails e.g. in the getMother function, were the 2nd argument must always be an iterator of the 1st one.

@mfaggin mfaggin requested review from a team, alibuild, ddobrigk, iarsene, jgrosseo and ktf as code owners July 1, 2025 09:27
@github-actions github-actions bot added the common label Jul 1, 2025
@github-actions
Copy link

github-actions bot commented Jul 1, 2025

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

@github-actions github-actions bot changed the title Templetize MC particle. [Common] Templetize MC particle. Jul 1, 2025
@ddobrigk ddobrigk changed the title [Common] Templetize MC particle. [Common] Templatize MC particle. Jul 1, 2025
@ddobrigk ddobrigk enabled auto-merge (squash) July 1, 2025 09:45
@vkucera vkucera changed the title [Common] Templatize MC particle. [Common] RecoDecay: Templatize MC particle. Jul 1, 2025
@vkucera vkucera disabled auto-merge July 1, 2025 11:23
@vkucera vkucera enabled auto-merge (squash) July 1, 2025 11:23
@vkucera vkucera merged commit c6f3702 into AliceO2Group:master Jul 1, 2025
18 of 20 checks passed
@mfaggin mfaggin deleted the fixRecoDecay branch July 2, 2025 06:56
jpxrk pushed a commit to jpxrk/O2Physics that referenced this pull request Jul 16, 2025
Co-authored-by: Mattia Faggin <mfaggin@cern.ch>
prottayCMT pushed a commit to prottayCMT/O2Physics2024 that referenced this pull request Jul 18, 2025
Co-authored-by: Mattia Faggin <mfaggin@cern.ch>
JimunLee pushed a commit to JimunLee/O2Physics that referenced this pull request Jul 22, 2025
Co-authored-by: Mattia Faggin <mfaggin@cern.ch>
vojmach pushed a commit to vojmach/O2Physics that referenced this pull request Jul 23, 2025
Co-authored-by: Mattia Faggin <mfaggin@cern.ch>
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 11, 2025
Co-authored-by: Mattia Faggin <mfaggin@cern.ch>
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