Skip to content

Commit e3f0fe9

Browse files
authored
[PWGEM/Dilepton] don't use getProcess == 4 for hb->hc->l decay (#13722)
1 parent b629bc8 commit e3f0fe9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

PWGEM/Dilepton/Utils/MCUtilities.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ bool isWeakDecayFromCharmHadron(T const& mcParticle, U const& mcParticles)
162162
if (!mcParticle.has_mothers()) {
163163
return false;
164164
}
165-
if (mcParticle.getProcess() != 4) { // weak decay
166-
return false;
167-
}
165+
// if (mcParticle.getProcess() != 4) { // weak decay
166+
// return false;
167+
// }
168168
auto mp = mcParticles.iteratorAt(mcParticle.mothersIds()[0]);
169169
if (isCharmMeson(mp) || isCharmBaryon(mp)) {
170170
return true;
@@ -180,9 +180,9 @@ bool isWeakDecayFromBeautyHadron(T const& mcParticle, U const& mcParticles)
180180
if (!mcParticle.has_mothers()) {
181181
return false;
182182
}
183-
if (mcParticle.getProcess() != 4) { // weak decay
184-
return false;
185-
}
183+
// if (mcParticle.getProcess() != 4) { // weak decay
184+
// return false;
185+
// }
186186
auto mp = mcParticles.iteratorAt(mcParticle.mothersIds()[0]);
187187
if (isBeautyMeson(mp) || isBeautyBaryon(mp)) {
188188
return true;

0 commit comments

Comments
 (0)