Skip to content

Conversation

@mhemmer-cern
Copy link
Collaborator

…rticle for EMCal

  • Changed the EM MC particles for EMCal to store all of them not just the largest contribution, so we have them for further studies. Espacially in AA collisions important.
  • Fix a bug how the V0 were cut in photonResoTask.cxx by using the wrong template argument
  • Fix a bug in the IsConversionPointInAcceptance which did not properly checked for in the acceptance. Some < and > were wrong and it checked for the true photon production vertex instead of the true legs production vertex, which effectively cutted out 99% of all photons
  • Remove some iteratorAt() function calls and replaced them with iterators that are created once and then moved by using setCursor(). This should reduce CPU time, since iteratorAt() always creates a new instance of an iterator and then calls setCursor() itself. Now the number of iterator creations is much smaller than before.
  • Remove some not needed includes
  • Format some includes (<> instead of "" for external includes)
  • Add usage of PDG_t and Pdg enums in modified files to make the code more readable, unless you already know all the PDG codes ;)
  • Fix intermediate EMCal MC Particle table which did not properly point to the original McPartricles

…rticle for EMCal

- Changed the EM MC particles for EMCal to store all of them not just the largest contribution, so we have them for further studies. Espacially in AA collisions important.
- Fix a bug how the V0 were cut in `photonResoTask.cxx` by using the wrong template argument
- Fix a bug in the `IsConversionPointInAcceptance` which did not properly checked for in the acceptance. Some < and > were wrong and it checked for the true photon production vertex instead of the true legs production vertex, which effectively cutted out 99% of all photons
- Remove some `iteratorAt()` function calls and replaced them with iterators that are created once and then moved by using `setCursor()`.
- Remove some not needed includes
- Format some includes (<> instead of "" for external includes)
- Add usage of `PDG_t` and `Pdg` enums in modified files to make the code more readable, unless you already know all the PDG codes ;)
@mhemmer-cern mhemmer-cern added the photon Photon and neutral meson PAG label label Feb 10, 2026
@mhemmer-cern mhemmer-cern enabled auto-merge (squash) February 10, 2026 16:53
Copy link
Collaborator

@alibuild alibuild left a comment

Choose a reason for hiding this comment

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

Auto-approving on behalf of @mhemmer-cern.

@mhemmer-cern
Copy link
Collaborator Author

Hello @ktf
There is a real issue in the macOS-arm build, but it's not coming from this PR. I am not sure how the unused parameters did not trigger an issue in the normal o2 build.
Still since its not from this PR could you please merge this one?

@ktf ktf merged commit 4f62c9e into AliceO2Group:master Feb 11, 2026
11 of 13 checks passed
@mhemmer-cern mhemmer-cern deleted the PWGEM-36 branch February 11, 2026 09:06
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.

3 participants