Skip to content

Commit ab4fa43

Browse files
committed
fix bug
1 parent 0f1bacf commit ab4fa43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PWGDQ/Core/VarManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4646,7 +4646,7 @@ void VarManager::FillPairMC(T1 const& t1, T2 const& t2, float* values)
46464646
ROOT::Math::PtEtaPhiMVector v_daughter = boostv12(t1.sign() > 0 ? v1 : v2);
46474647

46484648
// reaction plane
4649-
float phi = v_daughter.Phi() > T1Math::Pi() ? v_daughter.Phi() - 2. * TMath::Pi() : v_daughter.Phi();
4649+
float phi = v_daughter.Phi() > TMath::Pi() ? v_daughter.Phi() - 2. * TMath::Pi() : v_daughter.Phi();
46504650
values[kDeltaPhiRP_Random] = phi - values[kRandomPsi2];
46514651
values[kDeltaPhiRP_Random] = values[kDeltaPhiRP_Random] > TMath::Pi() ? 2. * TMath::Pi() - values[kDeltaPhiRP_Random] : values[kDeltaPhiRP_Random];
46524652
values[kDeltaPhiRP_MC] = phi - values[kMCEventPlaneAngle];

0 commit comments

Comments
 (0)