Skip to content

Commit 2e0e8ca

Browse files
committed
To store the historgram after is primary check
1 parent 2f2c4e0 commit 2e0e8ca

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

PWGLF/Tasks/Resonances/chargedkstaranalysis.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,13 +1488,13 @@ struct Chargedkstaranalysis {
14881488
const float lCentrality = iter->second;
14891489

14901490
histos.fill(HIST("EffKstar/genKstar"), part.pt(), lCentrality);
1491-
if (helicityCfgs.cCosWithKShot) {
1492-
fillInvMass(lResoKstar, lCentrality, lResoSecondary, lDecayDaughter_bach, eventCutCfgs.confIsMix);
1493-
} else {
1494-
fillInvMass(lResoKstar, lCentrality, lDecayDaughter_bach, lResoSecondary, eventCutCfgs.confIsMix);
1495-
}
14961491
if (part.vt() == 0) {
14971492
histos.fill(HIST("EffKstar/genKstar_pri"), part.pt(), lCentrality); // To check the primary particle
1493+
if (helicityCfgs.cCosWithKShot) {
1494+
fillInvMass(lResoKstar, lCentrality, lResoSecondary, lDecayDaughter_bach, eventCutCfgs.confIsMix);
1495+
} else {
1496+
fillInvMass(lResoKstar, lCentrality, lDecayDaughter_bach, lResoSecondary, eventCutCfgs.confIsMix);
1497+
}
14981498
}
14991499
}
15001500
// To store the recoKstar

0 commit comments

Comments
 (0)