Skip to content

Commit d6d2e84

Browse files
author
Alexandre Bigot
committed
Fixing BDT scores cut operator (upper limit for Bkg, lower limit for (Non)Prompt)
1 parent f903715 commit d6d2e84

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

EventFiltering/PWGHF/HFFilter.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,10 +744,10 @@ struct HfFilter { // Main struct for HF triggers
744744
if (scores[0] > thresholdBDTScores[candType].get(0u, "BDTbkg")) {
745745
return retValue;
746746
}
747-
if (scores[1] < thresholdBDTScores[candType].get(0u, "BDTprompt")) {
747+
if (scores[1] > thresholdBDTScores[candType].get(0u, "BDTprompt")) {
748748
retValue |= BIT(RecoDecay::OriginType::Prompt);
749749
}
750-
if (scores[2] < thresholdBDTScores[candType].get(0u, "BDTnonprompt")) {
750+
if (scores[2] > thresholdBDTScores[candType].get(0u, "BDTnonprompt")) {
751751
retValue |= BIT(RecoDecay::OriginType::NonPrompt);
752752
}
753753

0 commit comments

Comments
 (0)