Skip to content

Commit 2cceadd

Browse files
authored
[PWGCF] flowDirectedFlowTask.cxx: add q1 selection mode (#16757)
1 parent 92ed585 commit 2cceadd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

PWGCF/Flow/Tasks/flowDirectedFlowTask.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ struct flowDirectedFlowTask {
279279
q1 = q1C;
280280
} else if (cfgq1mode == 3) {
281281
q1 = q1Mean;
282+
} else if (cfgq1mode == 4) {
283+
q1 = std::sqrt(std::pow(qxA + qxC, 2) + std::pow(qyA + qyC, 2));
282284
} else {
283285
q1 = q1Full;
284286
}

0 commit comments

Comments
 (0)