Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion PWGHF/TableProducer/candidateCreatorXicToXiPiPi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,8 @@ struct HfCandidateCreatorXicToXiPiPiExpressions {
// Check whether the charm baryon is non-prompt (from a b quark).
if (flag != 0) {
// fill inclusive generated Xic+
registry.fill(HIST("hYPtGen"), particle.y(), particle.pt());
if (fillMcHistograms)
registry.fill(HIST("hYPtGen"), particle.y(), particle.pt());

origin = RecoDecay::getCharmHadronOrigin(mcParticles, particle, false, &idxBhadMothers);
// Calculate the decay length of the generated particle
Expand Down
3 changes: 2 additions & 1 deletion PWGHF/TableProducer/candidateSelectorXicToXiPiPi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,8 @@ struct HfCandidateSelectorXicToXiPiPi {
if constexpr (IsMc) {
if (isMatchedSignal) {
registry.fill(HIST("hSelCandidatesRecSig"), PidSelected);
registry.fill(HIST("hMassPtRecSig"), hfCandXic.invMassXicPlus(), hfCandXic.pt());
if (fillQAHistograms)
registry.fill(HIST("hMassPtRecSig"), hfCandXic.invMassXicPlus(), hfCandXic.pt());
} else {
registry.fill(HIST("hSelCandidatesRecBkg"), PidSelected);
}
Expand Down
Loading