Skip to content

Conversation

@torkjellsdatter
Copy link
Contributor

Summary

The main motivation for this is to implement a check on wether the decay products falls within the acceptance, defined in the configuration of the task. In addition minor changes is done: cleanups, adding calculation of rapidity for the triplet and changing the output to the B meson flat table.

Main additions

Acceptance check in AnalysisDileotionTrack:processMCGenWithEventSelection() (dqEfficiency)

After the standard event selections, the code now performs an additional check on whether the decay products of a given MC channel fall within the detector acceptance:

  • All MC tracks in the event are collected into a vector.
  • The code then loops over all possible triplets of tracks corresponding to a signal channel.
  • Each track is tested against the acceptance limits defined in the configurables (in pT and η).
  • Only combinations where all decay products are within acceptance are marked as accepted and filled in the corresponding histograms.

Triplet rapidity calculation

The rapidity of each reconstructed triplet is now computed in VarManager::FillDileptonTrackVertexing().
This observable has been added to the HistogramLibrary and is stored in the B-meson tables written out by the task.

Additional updates

Removed outdated debugging messages from tableReader_withAssoc.cxx.
Removed wrongly recomputed DCA information from the B-meson table.

Motivation

These changes make the MC-level efficiency studies more physically relevant by incorporating detector acceptance.

@github-actions
Copy link

github-actions bot commented Oct 16, 2025

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

@github-actions github-actions bot changed the title MC Acceptance check added to DileptonTrack + minor fixes [PWGDQ] MC Acceptance check added to DileptonTrack + minor fixes Oct 16, 2025
[PWGDQ] Please consider the following formatting changes to AliceO2Group#13419
@iarsene
Copy link
Collaborator

iarsene commented Oct 16, 2025

Thanks @torkjellsdatter. I approve. But we should also remember that for the changes in the dqEfficiency_withAssoc, we should revert back to using the grouped tables as soon as we fix the MCSignal issue.

@iarsene iarsene enabled auto-merge (squash) October 16, 2025 13:37
@iarsene iarsene merged commit bc5950b into AliceO2Group:master Oct 17, 2025
12 of 13 checks passed
ThePhDane pushed a commit to ThePhDane/O2Physics that referenced this pull request Nov 3, 2025
…ceO2Group#13419)

Co-authored-by: Ida Torkjellsdatter Storehaug <idats@eduroam-193-157-163-9.wlan.uio.no>
Co-authored-by: Ida Torkjellsdatter Storehaug <idats@eduroam-193-157-167-231.wlan.uio.no>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
lmattei01 pushed a commit to lmattei01/O2Physics that referenced this pull request Dec 5, 2025
…ceO2Group#13419)

Co-authored-by: Ida Torkjellsdatter Storehaug <idats@eduroam-193-157-163-9.wlan.uio.no>
Co-authored-by: Ida Torkjellsdatter Storehaug <idats@eduroam-193-157-167-231.wlan.uio.no>
Co-authored-by: ALICE Action Bot <alibuild@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