Skip to content

Commit 33a85d2

Browse files
committed
fix bug for the resolution calculation
1 parent 09bde55 commit 33a85d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGCF/Flow/Tasks/flowDirectedFlowTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ struct flowDirectedFlowTask {
128128
ConfigurableAxis spAxis{"spAxis", {400, -10.0, 10.0}, "SP observable"};
129129
ConfigurableAxis q1Axis{"q1Axis", {VARIABLE_WIDTH, 0., 0.5, 1., 1.5, 2., 3., 5., 10.}, "q_{1}^{ZDC}"};
130130
ConfigurableAxis qAxis{"qAxis", {200, -10., 10.}, "Q"};
131-
ConfigurableAxis resAxis{"resAxis", {200, -1., 1.}, "resolution / correlation"};
131+
ConfigurableAxis resAxis{"resAxis", {200, -2., 2.}, "resolution / correlation"};
132132

133133
HistogramRegistry histos{"histos", {}, OutputObjHandlingPolicy::AnalysisObject};
134134

@@ -525,7 +525,7 @@ struct flowDirectedFlowTask {
525525
float resDot = dotAC / (magA * magC);
526526

527527
histos.fill(HIST("hpResCosAC"), centrality, std::cos(psiA - psiC), q1);
528-
histos.fill(HIST("hpResDotAC"), centrality, resDot, q1);
528+
histos.fill(HIST("hpResDotAC"), centrality, dotAC, q1);
529529
histos.fill(HIST("hpQxAQxC"), centrality, qxA * qxC);
530530
histos.fill(HIST("hpQyAQyC"), centrality, qyA * qyC);
531531
histos.fill(HIST("hpQxAQyC"), centrality, qxA * qyC);

0 commit comments

Comments
 (0)