Skip to content

Conversation

@torkjellsdatter
Copy link
Contributor

Purpose

Implement MC-truth / generated secondary vertex quantities for the triplet observables used in the B → J/ψ K analysis.

Changes

PWGDQ/Core/VarManager.h

  • New function VarManager::FillTrackCollisionMC.
  • Takes a daughter track, the mother track, and the generated collision as arguments
    Computes MC-truth decay length as the difference between collision.mcPosX() and track.vx() (daughter’s generated vertex = secondary vertex).
  • Secondary-vertex quantities are computed using this secondary vertex, and the mother momentum and mass.
  • Note: Mother mass currently implemented only for B⁺ and B⁰.
  • Includes Run 2 projected definitions and expected decay length for cross-checks.

PWGDQ/Tasks/dqEfficiency_withAssoc.cxx

In AnalysisDileptonTrack::runDileptonHadron:

  • Changes applied only for TCandidateType == VarManager::kBtoJpsiEEK.
  • If mcDecision = true, fill MC-truth B-mother quantities and compute MC secondary-vertex quantities using VarManager::FillTrackCollisionMC.
  • Additional MC-truth secondary-vertex variables and reconstructed-vertex errors added to the B-meson table.

PWGDQ/Core/VarManager.cxx

Units defined for the corresponding new values.

PWGDQ/Core/HistogramsLibrary.cxx

Added MC-truth histogram class in the dilepton-trackf subgroup for plotting the new quantities.

@github-actions github-actions bot added the pwgdq label Nov 21, 2025
@github-actions github-actions bot changed the title dqEfficiency_withAssoc/VarManager: Add MC-truth secondary vertex for B→J/ψK triplet quantities [PWGDQ] dqEfficiency_withAssoc/VarManager: Add MC-truth secondary vertex for B→J/ψK triplet quantities Nov 21, 2025
@github-actions
Copy link

github-actions bot commented Nov 21, 2025

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

[PWGDQ] Please consider the following formatting changes to AliceO2Group#13919
@iarsene iarsene enabled auto-merge (squash) November 21, 2025 10:32
@iarsene iarsene merged commit d0b09fe into AliceO2Group:master Nov 21, 2025
12 of 14 checks passed
lmattei01 pushed a commit to lmattei01/O2Physics that referenced this pull request Dec 5, 2025
…tex for B→J/ψK triplet quantities (AliceO2Group#13919)

Co-authored-by: Ida Torkjellsdatter Storehaug <idats@eduroam-193-157-242-223.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