Skip to content

Commit 0b0fb0f

Browse files
authored
[PWGLF] Add lower order cumulant terms for resonance flow (#8490)
1 parent ba800da commit 0b0fb0f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

PWGLF/Tasks/Resonances/phipbpb.cxx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ struct phipbpb {
152152
const AxisSpec thnAxisV2{configThnAxisV2, "V2"};
153153
const AxisSpec thnAxisRapidity{configThnAxisRapidity, "Rapidity"};
154154
const AxisSpec thnAxisSA{configThnAxisSA, "SA"};
155+
AxisSpec cumulantAxis = {200, -1, 1, "phi"};
155156
AxisSpec phiAxis = {500, -6.28, 6.28, "phi"};
156157
AxisSpec resAxis = {2000, -10, 10, "Res"};
157158
AxisSpec centAxis = {8, 0, 80, "V0M (%)"};
@@ -175,6 +176,11 @@ struct phipbpb {
175176
histos.add("hPsiTPCR", "PsiTPCR", kTH3F, {centAxis, occupancyAxis, phiAxis});
176177
histos.add("hPsiTPCL", "PsiTPCL", kTH3F, {centAxis, occupancyAxis, phiAxis});
177178

179+
histos.add("hSparseV2SameEventCosPhi", "hSparseV2SameEventCosPhi", HistType::kTHnSparseF, {thnAxisInvMass, thnAxisPt, cumulantAxis, thnAxisCentrality});
180+
histos.add("hSparseV2SameEventSinPhi", "hSparseV2SameEventSinPhi", HistType::kTHnSparseF, {thnAxisInvMass, thnAxisPt, cumulantAxis, thnAxisCentrality});
181+
histos.add("hSparseV2SameEventCosPsi", "hSparseV2SameEventCosPsi", HistType::kTHnSparseF, {thnAxisInvMass, thnAxisPt, cumulantAxis, thnAxisCentrality});
182+
histos.add("hSparseV2SameEventSinPsi", "hSparseV2SameEventSinPsi", HistType::kTHnSparseF, {thnAxisInvMass, thnAxisPt, cumulantAxis, thnAxisCentrality});
183+
178184
histos.add("hSparseV2SameEventCosDeltaPhi", "hSparseV2SameEventCosDeltaPhi", HistType::kTHnSparseF, {thnAxisInvMass, thnAxisPt, thnAxisV2, thnAxisCentrality});
179185
histos.add("hSparseV2MixedEventCosDeltaPhi", "hSparseV2MixedEventCosDeltaPhi", HistType::kTHnSparseF, {thnAxisInvMass, thnAxisPt, thnAxisV2, thnAxisCentrality});
180186

@@ -455,10 +461,16 @@ struct phipbpb {
455461
auto phiminuspsi = GetPhiInRange(PhiMesonMother.Phi() - psiFT0C);
456462
auto v2 = TMath::Cos(2.0 * phiminuspsi);
457463
auto v2sin = TMath::Sin(2.0 * phiminuspsi);
464+
auto phimother = PhiMesonMother.Phi();
458465
histos.fill(HIST("hpTvsRapidity"), PhiMesonMother.Pt(), PhiMesonMother.Rapidity());
459466
if (TMath::Abs(PhiMesonMother.Rapidity()) < confRapidity) {
460467
histos.fill(HIST("hSparseV2SameEventCosDeltaPhi"), PhiMesonMother.M(), PhiMesonMother.Pt(), v2 * QFT0C, centrality);
461468
histos.fill(HIST("hSparseV2SameEventSinDeltaPhi"), PhiMesonMother.M(), PhiMesonMother.Pt(), v2sin * QFT0C, centrality);
469+
470+
histos.fill(HIST("hSparseV2SameEventCosPhi"), PhiMesonMother.M(), PhiMesonMother.Pt(), TMath::Cos(2.0 * phimother), centrality);
471+
histos.fill(HIST("hSparseV2SameEventSinPhi"), PhiMesonMother.M(), PhiMesonMother.Pt(), TMath::Sin(2.0 * phimother), centrality);
472+
histos.fill(HIST("hSparseV2SameEventCosPsi"), PhiMesonMother.M(), PhiMesonMother.Pt(), TMath::Cos(2.0 * psiFT0C), centrality);
473+
histos.fill(HIST("hSparseV2SameEventSinPsi"), PhiMesonMother.M(), PhiMesonMother.Pt(), TMath::Sin(2.0 * psiFT0C), centrality);
462474
}
463475
ROOT::Math::Boost boost{PhiMesonMother.BoostToCM()};
464476
fourVecDauCM = boost(KaonMinus);

0 commit comments

Comments
 (0)