Skip to content

[PWGJE] add neutral meson measurement process - #19003

Open
janscharf wants to merge 11 commits into
AliceO2Group:masterfrom
janscharf:master
Open

janscharf wants to merge 11 commits into
AliceO2Group:masterfrom
janscharf:master

Conversation

@janscharf

@janscharf janscharf commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Adding the measurement of neutral mesons in jets using EMCAL clusters in MC and data processes. Two meson reconstruction schemes are added:

  1. Jet Clusters reconstruct meson candidates from EMCAL clusters associated with a jet
  2. All clusters reconstruct meson candidates from all EMCAL clusters and match them to a jet afterwards

Open: Add further selection on meson candidates and EMCAL clusters

Note: Comments from previous PR are addressed

janscharf and others added 7 commits November 24, 2026 15:31
…and weight is instead retrieved from collision (from the underlying JCollisionMcInfo table, which already part of JetCollisions).
…l cluster in the jet are photons and are paired to mesons or all clusters in the collision are paired to mesons and then matched to a jet. Also added a check if the particles of the cluster actually have a shared pi0 in their ancestory. To do: add comments, histograms and clean up code and naming of variables.
@github-actions github-actions Bot added the pwgje label Nov 30, 2026
@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

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

@janscharf janscharf left a comment •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(Resolved) There is still a bug in the process for data, working on it. Convert to draft again.

@janscharf
janscharf marked this pull request as ready for review December 1, 2026 10:43
@janscharf
janscharf marked this pull request as draft December 1, 2026 10:50
@janscharf
janscharf marked this pull request as ready for review December 1, 2026 11:52
@alibuild

alibuild commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 30bc20a at 2026-12-01 12:56:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGJE/Tasks/neutralMesonInFullJets.cxx:800:12: error: function may return address of local variable [-Werror=return-local-addr]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGJE/Tasks/neutralMesonInFullJets.cxx:800:12: error: function may return address of local variable [-Werror=return-local-addr]
ninja: build stopped: subcommand failed.

Full log here.

@vkucera vkucera changed the title [PWGJE] add neutral meson mesaurement process [PWGJE] add neutral meson measurement process Dec 1, 2026
@alibuild

alibuild commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 30bc20a at 2026-12-01 13:02:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGJE/Tasks/neutralMesonInFullJets.cxx:800:12: error: function may return address of local variable [-Werror=return-local-addr]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGJE/Tasks/neutralMesonInFullJets.cxx:800:12: error: function may return address of local variable [-Werror=return-local-addr]
ninja: build stopped: subcommand failed.

Full log here.

@vkucera
vkucera marked this pull request as draft December 1, 2026 12:04
@vkucera

vkucera commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

@janscharf Please test your changes locally before you open the PR for review.

Comment thread PWGJE/Tasks/neutralMesonInFullJets.cxx Resolved
@janscharf

Copy link
Copy Markdown
Contributor Author

@janscharf Please test your changes locally before you open the PR for review.
I tested the changes locally; nevertheless, this error did not arise locally. Also, build/O2Physics/o2 did not run in the draft PR.

@janscharf
janscharf marked this pull request as ready for review December 1, 2026 15:15
@janscharf
janscharf marked this pull request as draft December 1, 2026 15:15
@janscharf
janscharf marked this pull request as ready for review December 1, 2026 16:37

@mhemmer-cern mhemmer-cern left a comment

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.

Approved because I requested changes, but no Auto merge to allow Nima or Florian to check before merging.

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.

4 participants