Skip to content

Commit b641fe0

Browse files
Update derivedDataCreatorDplusToPiKPi.cxx based on Vit's comment
1 parent 2732c87 commit b641fe0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PWGHF/TableProducer/derivedDataCreatorDplusToPiKPi.cxx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,12 @@ struct HfDerivedDataCreatorDplusToPiKPi {
291291
}
292292
auto trackprong0 = candidate.template prong0_as<TracksWPid>();
293293
int const sign = trackprong0.sign();
294+
uint8_t candFlag = 0;
295+
if (sign > 0) {
296+
candFlag |= BIT(0); // D+
297+
} else if (sign < 0) {
298+
candFlag |= BIT(1); // D-
299+
}
294300
fillTablesCandidate(candidate, sign, massDplusToPiKPi, ct, y, flagMcRec, origin, swapping, flagDecayChanRec, mlScoresDplusToPiKPi);
295301
}
296302
}

0 commit comments

Comments
 (0)