diff --git a/PWGLF/TableProducer/Common/kinkBuilder.cxx b/PWGLF/TableProducer/Common/kinkBuilder.cxx index a0dd1ec6126..9fd9350ea38 100644 --- a/PWGLF/TableProducer/Common/kinkBuilder.cxx +++ b/PWGLF/TableProducer/Common/kinkBuilder.cxx @@ -402,7 +402,7 @@ struct kinkBuilder { hSelMotherQA->Fill(4.f, isPositive); h2ItsClsMothBeforeSel->Fill(candidate.itsNCls(), candidate.itsNClsInnerBarrel()); - if (candidate.itsNCls() >= nItsTotalLayers-1) + if (candidate.itsNCls() >= nItsTotalLayers - 1) return false; hSelMotherQA->Fill(5.f, isPositive);