Skip to content

Commit a916c84

Browse files
authored
[PWGHF] Fix mismatch of the columns, and adding back the momentum components in tree treeCreat and add DCAFitter options to process conditions in task for Xic0ToXiPi DCA Filter analysis (#13811)
1 parent 45b8b14 commit a916c84

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

PWGHF/D2H/Tasks/taskXic0ToXiPi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct HfTaskXic0ToXiPi {
125125
const AxisSpec thnAxisGenPtB{thnConfigAxisGenPtB, "#it{p}_{T}^{B} (GeV/#it{c})"};
126126
const AxisSpec thnAxisNumPvContr{thnConfigAxisNumPvContr, "Number of PV contributors"};
127127

128-
if (doprocessMcWithKFParticle || doprocessMcWithKFParticleMl) {
128+
if (doprocessMcWithKFParticle || doprocessMcWithKFParticleMl || doprocessMcWithDCAFitter || doprocessMcWithDCAFitterMl) {
129129
std::vector<AxisSpec> const axesAcc = {thnAxisGenPtD, thnAxisGenPtB, thnAxisY, thnAxisOrigin, thnAxisNumPvContr};
130130
registry.add("hSparseAcc", "Thn for generated Xic0 from charm and beauty", HistType::kTHnSparseD, axesAcc);
131131
registry.get<THnSparse>(HIST("hSparseAcc"))->Sumw2();

PWGHF/TableProducer/treeCreatorToXiPi.cxx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ DECLARE_SOA_TABLE(HfToXiPiLites, "AOD", "HFTOXIPILITE",
206206
full::XDecayVtxV0, full::YDecayVtxV0, full::ZDecayVtxV0,
207207
full::SignDecay,
208208
full::PtCharmBaryon, full::PtPiFromCharmBaryon,
209+
full::PxCharmBaryon, full::PyCharmBaryon, full::PzCharmBaryon,
210+
full::PxPiFromCharmBaryon, full::PyPiFromCharmBaryon, full::PzPiFromCharmBaryon,
209211
full::PxPiFromCasc, full::PyPiFromCasc, full::PzPiFromCasc,
210212
full::PxPosV0Dau, full::PyPosV0Dau, full::PzPosV0Dau,
211213
full::PxNegV0Dau, full::PyNegV0Dau, full::PzNegV0Dau,
@@ -415,6 +417,12 @@ struct HfTreeCreatorToXiPi {
415417
candidate.pxCharmBaryon(),
416418
candidate.pyCharmBaryon(),
417419
candidate.pzCharmBaryon(),
420+
candidate.pxBachFromCharmBaryon(),
421+
candidate.pyBachFromCharmBaryon(),
422+
candidate.pzBachFromCharmBaryon(),
423+
candidate.pxBachFromCasc(),
424+
candidate.pyBachFromCasc(),
425+
candidate.pzBachFromCasc(),
418426
candidate.pxPosV0Dau(),
419427
candidate.pyPosV0Dau(),
420428
candidate.pzPosV0Dau(),

0 commit comments

Comments
 (0)