Repository navigation
[PWGCF] Femto: add event-plane-rotated 3D q histogram - #18714
Merged
Merged
Conversation
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>
ootaku303
requested review from
alibuild,
ariedel-cern,
dimihayl,
dsarkaralice,
lauraser,
victor-gonzalez and
wrzesaCERN
as code owners
November 12, 2026 13:27
|
O2 linter results: ❌ 0 errors, |
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
approved these changes
Nov 12, 2026
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. |
Contributor
Author
|
Hi @ariedel-cern -san and @wenyaCern -san, |
ariedel-cern
enabled auto-merge (squash)
November 12, 2026 15:44
ariedel-cern
disabled auto-merge
November 12, 2026 22:04
ariedel-cern
enabled auto-merge (squash)
November 12, 2026 22:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: