Skip to content

Commit c15cd06

Browse files
[PWGDQ] Filling CosDeltaPhi in ME as in the past (AliceO2Group#10332)
Co-authored-by: Lucamicheletti93 <[email protected]>
1 parent 9692f1f commit c15cd06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PWGDQ/Core/VarManager.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3121,8 +3121,10 @@ void VarManager::FillPairME(T1 const& t1, T2 const& t2, float* values)
31213121
// Compute the scalar product UQ for two muon from different event using Q-vector from A, for second and third harmonic
31223122
float Psi2A1 = getEventPlane(2, values[kQ2X0A1], values[kQ2Y0A1]);
31233123
float Psi2A2 = getEventPlane(2, values[kQ2X0A2], values[kQ2Y0A2]);
3124+
values[kCos2DeltaPhi] = TMath::Cos(2 * (v12.Phi() - Psi2A1)); // WARNING: using the first event EP
31243125
values[kCos2DeltaPhiEv1] = TMath::Cos(2 * (v1.Phi() - Psi2A1));
31253126
values[kCos2DeltaPhiEv2] = TMath::Cos(2 * (v2.Phi() - Psi2A2));
3127+
values[kU2Q2] = values[kQ2X0A1] * TMath::Cos(2 * v12.Phi()) + values[kQ2Y0A1] * TMath::Sin(2 * v12.Phi()); // WARNING: using the first event EP
31263128
values[kU2Q2Ev1] = values[kQ2X0A1] * TMath::Cos(2 * v1.Phi()) + values[kQ2Y0A1] * TMath::Sin(2 * v1.Phi());
31273129
values[kU2Q2Ev2] = values[kQ2X0A2] * TMath::Cos(2 * v2.Phi()) + values[kQ2Y0A2] * TMath::Sin(2 * v2.Phi());
31283130

0 commit comments

Comments
 (0)