Skip to content

Commit c9831f7

Browse files
committed
correlatorDsHadrons.cxx: Fix histogram filling
1 parent 3c04fec commit c9831f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

PWGHF/HFC/TableProducer/correlatorDsHadrons.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -920,9 +920,7 @@ struct HfCorrelatorDsHadrons {
920920
}
921921
if (std::abs(candidate.flagMcMatchRec()) == hf_decay::hf_cand_3prong::DecayChannelMain::DsToPiKK) {
922922
// DsToKKPi and DsToPiKK division
923-
if (candidate.isSelDsToKKPi() >= selectionFlagDs) {
924-
fillHistoMcRecSig(candidate, 0.);
925-
} else if (candidate.isSelDsToPiKK() >= selectionFlagDs) {
923+
if (candidate.isSelDsToKKPi() >= selectionFlagDs || candidate.isSelDsToPiKK() >= selectionFlagDs) {
926924
fillHistoMcRecSig(candidate, 0.);
927925
}
928926
} else {

0 commit comments

Comments
 (0)