Skip to content

Commit 6bfb83e

Browse files
committed
fix straggler magic number
1 parent d93d3b6 commit 6bfb83e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,8 @@ struct FlowGenericFramework {
570570
vtxz = collision.posZ();
571571
float zRes = std::sqrt(collision.covZZ());
572572
float minZRes = 0.25;
573-
if (zRes > minZRes && collision.numContrib() < 20)
573+
int minNContrib = 20;
574+
if (zRes > minZRes && collision.numContrib() < minNContrib)
574575
vtxz = -999;
575576
}
576577
// auto multV0A = collision.multFV0A();

0 commit comments

Comments
 (0)