Skip to content

Fix LF resonance gap injection and Add phi meson configuration - #2419

Open
mjkim525 wants to merge 1 commit into
AliceO2Group:masterfrom
mjkim525:master
Open

Fix LF resonance gap injection and Add phi meson configuration #2419
mjkim525 wants to merge 1 commit into
AliceO2Group:masterfrom
mjkim525:master

Conversation

@mjkim525

@mjkim525 mjkim525 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This PR fixes the gap-injection logic in the PWGLF resonance generator and adds the (\phi(1020)) dielectron channel to the resonance injection configuration.

Changes

  • Fix the handling of minimum-bias events between injected signal events.

    • Previously, gap events could return before their particles were imported.
    • This resulted in an empty event being passed to o2-sim, which could cause the event to be retried instead of preserving the intended minimum-bias event.
    • The generated minimum-bias event is now always imported, while injected particles are appended only for signal events.
  • Use a single signal-event decision for both the injection and triggering paths.

    • gap = N, with N > 1: generate signals at events (0, N, 2N ...), with minimum-bias events in between.
  • Register and propagate the event class through MCEventHeader::subGeneratorId.

    • 0: minimum-bias event
    • 1: signal event

    This information is available in the analysis through mcCollision.getSubGeneratorId().

  • Add (\phi(1020)) to resonancelistgun_width_inj.json.

@github-actions

Copy link
Copy Markdown

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@mjkim525
mjkim525 marked this pull request as ready for review July 28, 2026 09:32
@mjkim525
mjkim525 requested a review from a team as a code owner July 28, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant