Skip to content

Commit 8d41ac2

Browse files
simplify
1 parent 27da821 commit 8d41ac2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

PWGHF/D2H/TableProducer/candidateCreatorCharmResoReduced.cxx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,13 @@ struct HfCandidateCreatorCharmResoReduced {
264264
}
265265

266266
if (TESTBIT(candV0.v0Type(), V0Type::Lambda)) {
267-
if (candV0.invMassLambda() < invMassLow ||
268-
candV0.invMassLambda() > invMassHigh) {
267+
if (candV0.invMassLambda() < invMassLow || candV0.invMassLambda() > invMassHigh) {
269268
return false;
270269
}
271270
}
272271

273272
if (TESTBIT(candV0.v0Type(), V0Type::AntiLambda)) {
274-
if (candV0.invMassAntiLambda() < invMassLow ||
275-
candV0.invMassAntiLambda() > invMassHigh) {
273+
if (candV0.invMassAntiLambda() < invMassLow || candV0.invMassAntiLambda() > invMassHigh) {
276274
return false;
277275
}
278276
}

0 commit comments

Comments
 (0)