From 1dee5cff21cc34aea2d930d880a7e862d7a829ac Mon Sep 17 00:00:00 2001 From: mattia Date: Mon, 1 Sep 2025 14:11:22 +0200 Subject: [PATCH] Remove meaningless check for Sc matching to MC. --- PWGHF/D2H/Tasks/taskSigmac.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/PWGHF/D2H/Tasks/taskSigmac.cxx b/PWGHF/D2H/Tasks/taskSigmac.cxx index b14d0640c88..e3f0926fac8 100644 --- a/PWGHF/D2H/Tasks/taskSigmac.cxx +++ b/PWGHF/D2H/Tasks/taskSigmac.cxx @@ -805,11 +805,6 @@ struct HfTaskSigmac { /// reconstructed Σc0,++ matched to MC for (const auto& candSc : candidatesSc) { - /// Candidate selected as Σc0 and/or Σc++ - if (!(candSc.hfflag() & BIT(aod::hf_cand_sigmac::DecayType::Sc0ToPKPiPi)) && !(candSc.hfflag() & BIT(aod::hf_cand_sigmac::DecayType::ScplusplusToPKPiPi)) && // Σc0,++(2455) - !(candSc.hfflag() & BIT(aod::hf_cand_sigmac::DecayType::ScStar0ToPKPiPi)) && !(candSc.hfflag() & BIT(aod::hf_cand_sigmac::DecayType::ScStarPlusPlusToPKPiPi))) { // Σc0,++(2520) - continue; - } /// rapidity selection on Σc0,++ /// NB: since in data we cannot tag Sc(2455) and Sc(2520), then we use only Sc(2455) for y selection on reconstructed signal if (yCandRecoMax >= 0. && std::abs(hfHelper.ySc0(candSc)) > yCandRecoMax && std::abs(hfHelper.yScPlusPlus(candSc)) > yCandRecoMax) {