Skip to content

[PWGCF] Femto: add event-plane-rotated 3D q histogram - #18714

Merged
ariedel-cern merged 1 commit into
AliceO2Group:masterfrom
ootaku303:femto-eprot-3dq
Nov 12, 2026
Merged

ariedel-cern merged 1 commit into
AliceO2Group:masterfrom
ootaku303:femto-eprot-3dq

Conversation

@ootaku303

Copy link
Copy Markdown
Contributor

Add an optional 6D THnSparse (q_x, q_y, q_z, mT, centrality, phi_pair - Psi_EP) with the pair relative momentum q = p1 - p2 expressed in the event-plane frame:

  • right-handed frame: x-axis along Psi_EP (in-plane), y-axis at Psi_EP + pi/2 (out-of-plane), z-axis along the beam;
  • (q_x, q_y) are obtained by rotating (q_out, q_side) by the signed pair angle phi = phi_pair - Psi_EP: q_x = q_out cos(phi) - q_side sin(phi) q_y = q_out sin(phi) + q_side cos(phi)
  • q_z = q_long (LCMS, unchanged). Enabled via PairBinning.plotEventShapeEpRotated (default off); binning reuses the q_out/q_side/q_long axes. The conventions are documented in femtomath::rotateToEventPlane.

Add an optional 6D THnSparse (q_x, q_y, q_z, mT, centrality,
phi_pair - Psi_EP) with the pair relative momentum q = p1 - p2
expressed in the event-plane frame:
  - right-handed frame: x-axis along Psi_EP (in-plane),
    y-axis at Psi_EP + pi/2 (out-of-plane), z-axis along the beam;
  - (q_x, q_y) are obtained by rotating (q_out, q_side) by the signed
    pair angle phi = phi_pair - Psi_EP:
      q_x = q_out cos(phi) - q_side sin(phi)
      q_y = q_out sin(phi) + q_side cos(phi)
  - q_z = q_long (LCMS, unchanged).
Enabled via PairBinning.plotEventShapeEpRotated (default off); binning
reuses the q_out/q_side/q_long axes. The conventions are documented in
femtomath::rotateToEventPlane.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

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

@wenyaCern

Copy link
Copy Markdown
Collaborator

Dear developer, I have checked the code that adds histograms to the output and does not affect the azimuthal-differential study in the current code.

@ariedel-cern

Copy link
Copy Markdown
Collaborator

Hi @ootaku303 , many thanks for the PR. The changes seem good to me. At some point in the future, we should probably reorganize the flags for activating the histograms and determining which observables to compute.

@ootaku303

ootaku303 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Hi @ariedel-cern -san and @wenyaCern -san,
Thank you both for the quick response and review!
I agree that reorganizing the flags would be a good idea.
Thanks again!

@ariedel-cern
ariedel-cern enabled auto-merge (squash) November 12, 2026 15:44
@ariedel-cern
ariedel-cern enabled auto-merge (squash) November 12, 2026 22:04
@ariedel-cern
ariedel-cern merged commit 53d7827 into AliceO2Group:master Nov 12, 2026
16 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.

3 participants