Skip to content

Commit cf32e5c

Browse files
jikim1290alibuild
andauthored
[PWGCF] flowDirectedFlowTask.cxx: fix acceptance correction, add resolution histogram (#16495)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 09bde55 commit cf32e5c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

PWGCF/Flow/Tasks/flowDirectedFlowTask.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ struct flowDirectedFlowTask {
164164
histos.add("hQyCvscent", "Qy C vs centrality", kTH2F, {{centAxis}, {qAxis}});
165165

166166
histos.add("hpResCosAC", "cos(#Psi_{A}-#Psi_{C}) vs centrality", kTH3F, {{centAxis}, {resAxis}, {q1Axis}});
167-
histos.add("hpResDotAC", "Q_{A}#upoint Q_{C} vs centrality", kTH3F, {{centAxis}, {resAxis}, {q1Axis}});
167+
histos.add("hpDotAC", "Q_{A}#upoint Q_{C} vs centrality", kTH3F, {{centAxis}, {qAxis}, {q1Axis}});
168+
histos.add("hpResDotAC", "Q_{A}#upoint Q_{C} vs centrality", kTH3F, {{centAxis}, {qAxis}, {q1Axis}});
168169
histos.add("hpQxAQxC", "QxA QxC", kTH2F, {{centAxis}, {resAxis}});
169170
histos.add("hpQyAQyC", "QyA QyC", kTH2F, {{centAxis}, {resAxis}});
170171
histos.add("hpQxAQyC", "QxA QyC", kTH2F, {{centAxis}, {resAxis}});
@@ -394,7 +395,7 @@ struct flowDirectedFlowTask {
394395
if (acc <= 0.0 || !std::isfinite(acc)) {
395396
return 1.0;
396397
}
397-
return 1.0 / acc;
398+
return acc;
398399
}
399400

400401
template <typename V0>
@@ -525,6 +526,7 @@ struct flowDirectedFlowTask {
525526
float resDot = dotAC / (magA * magC);
526527

527528
histos.fill(HIST("hpResCosAC"), centrality, std::cos(psiA - psiC), q1);
529+
histos.fill(HIST("hpDotAC"), centrality, dotAC, q1);
528530
histos.fill(HIST("hpResDotAC"), centrality, resDot, q1);
529531
histos.fill(HIST("hpQxAQxC"), centrality, qxA * qxC);
530532
histos.fill(HIST("hpQyAQyC"), centrality, qyA * qyC);

0 commit comments

Comments
 (0)