Skip to content

Conversation

@torkjellsdatter
Copy link
Contributor

The purpose is to not use wrongly associated triplets to estimate the efficiency

Summary of changes

  • Added configurable flag cfgUseCorrectlyAssociatedMC (true by default). When enabled, only correctly associated dilepton–hadron triplets are counted. When disabled, the output is unchanged with respect to the previous behavior.
  • A track is considered correctly associated if it originates from the same generated event as the reconstructed event: track.reducedMCevent() == event.reducedMCevent()
  • An event is counted only if all three tracks (lepton1, lepton2, associated track) are correctly associated

NB: Changes are currently implemented only for processBarrelSkimmed.

@github-actions
Copy link

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

@github-actions github-actions bot changed the title dqEfficiency/dilepton-track: Configurable to include only correctly associated MC [PWGDQ] dqEfficiency/dilepton-track: Configurable to include only correctly associated MC Jan 14, 2026
@iarsene iarsene enabled auto-merge (squash) January 14, 2026 19:48
@iarsene iarsene merged commit 8982531 into AliceO2Group:master Jan 14, 2026
12 of 13 checks passed
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.

2 participants