Skip to content

Commit e83595c

Browse files
committed
fix pdg code in MC gen
1 parent 886e202 commit e83595c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2510,7 +2510,7 @@ struct FlowGenericFramework {
25102510
}
25112511

25122512
bool isK0 = (v0.pdgCode() == PDG_t::kK0Short);
2513-
bool isLambda = (v0.pdgCode() == PDG_t::kLambda0);
2513+
bool isLambda = (std::abs(v0.pdgCode()) == PDG_t::kLambda0);
25142514

25152515
if (!isK0 && !isLambda) {
25162516
return;

0 commit comments

Comments
 (0)