From 44c7879d00637df83555b79ad80c14bd43216763 Mon Sep 17 00:00:00 2001 From: Daiki Sekihata Date: Thu, 6 Nov 2025 22:58:19 +0100 Subject: [PATCH] PWGEM/Dilepton: don't use getProcess == 4 for hb->hc->l decay --- PWGEM/Dilepton/Utils/MCUtilities.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PWGEM/Dilepton/Utils/MCUtilities.h b/PWGEM/Dilepton/Utils/MCUtilities.h index c5928c0560b..45504841ff8 100644 --- a/PWGEM/Dilepton/Utils/MCUtilities.h +++ b/PWGEM/Dilepton/Utils/MCUtilities.h @@ -162,9 +162,9 @@ bool isWeakDecayFromCharmHadron(T const& mcParticle, U const& mcParticles) if (!mcParticle.has_mothers()) { return false; } - if (mcParticle.getProcess() != 4) { // weak decay - return false; - } + // if (mcParticle.getProcess() != 4) { // weak decay + // return false; + // } auto mp = mcParticles.iteratorAt(mcParticle.mothersIds()[0]); if (isCharmMeson(mp) || isCharmBaryon(mp)) { return true; @@ -180,9 +180,9 @@ bool isWeakDecayFromBeautyHadron(T const& mcParticle, U const& mcParticles) if (!mcParticle.has_mothers()) { return false; } - if (mcParticle.getProcess() != 4) { // weak decay - return false; - } + // if (mcParticle.getProcess() != 4) { // weak decay + // return false; + // } auto mp = mcParticles.iteratorAt(mcParticle.mothersIds()[0]); if (isBeautyMeson(mp) || isBeautyBaryon(mp)) { return true;