Skip to content

[PWGEM] Fix Event subscription in process functions#15218

Merged
mhemmer-cern merged 3 commits intoAliceO2Group:masterfrom
Steffimro:master
Mar 2, 2026
Merged

[PWGEM] Fix Event subscription in process functions#15218
mhemmer-cern merged 3 commits intoAliceO2Group:masterfrom
Steffimro:master

Conversation

@Steffimro
Copy link
Contributor

No description provided.

@github-actions github-actions bot changed the title Fix Event subscription in process functions [PWGEM] Fix Event subscription in process functions Mar 2, 2026
Please consider the following formatting changes to AliceO2Group#15218
Copy link
Collaborator

@mhemmer-cern mhemmer-cern left a comment

Choose a reason for hiding this comment

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

This should fix some oversights that came with #15108 which resulted in workflow crashes.

@mhemmer-cern mhemmer-cern added the photon Photon and neutral meson PAG label label Mar 2, 2026
@mhemmer-cern mhemmer-cern enabled auto-merge (squash) March 2, 2026 09:10
@mhemmer-cern mhemmer-cern merged commit 7100e65 into AliceO2Group:master Mar 2, 2026
12 of 13 checks passed
// Note that reconstructed collisions without mc collisions are already rejected in CreateEMEventPhoton in MC.

void processPCM(aod::EMEvents const& collisions, aod::V0PhotonsKF const& photons)
void processPCM(aod::EMEvents_004 const& collisions, aod::V0PhotonsKF const& photons)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do you need an explicit table version in a subscription?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Because in the EM code we were using the same event tables before. Then it was recently changed in a way that the photon/meson code would still use the version 004 while the dileptons went to version 005. Since the dilepton group did not want to cause changes in the photon code, they tried to kept it at 004 for us, but these few subscriptions got overlooked. See the linked PR from my approval comment.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This will be a mess to maintain... 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

datamodel photon Photon and neutral meson PAG label pwgem

Development

Successfully merging this pull request may close these issues.

4 participants