Skip to content

Commit e40d905

Browse files
authored
[PWGHF] Fix unbound indices for B -> JPsi data creator (#11631)
1 parent 5ac6f90 commit e40d905

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

PWGHF/D2H/DataModel/ReducedDataModel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ DECLARE_SOA_TABLE(HfMcRecRedD0Pis, "AOD", "HFMCRECREDD0PI", //! Table with recon
871871
// table with results of reconstruction level MC matching
872872
DECLARE_SOA_TABLE(HfMcRecRedJPKs, "AOD", "HFMCRECREDJPK", //! Table with reconstructed MC information on J/PsiK(<-B+) pairs for reduced workflow
873873
hf_cand_bplus_reduced::JpsiId,
874-
hf_cand_bplus_reduced::Prong1Id,
874+
hf_cand_bplus_reduced::BachKaId,
875875
hf_cand_bplus::FlagMcMatchRec,
876876
hf_cand_bplus::ChannelMcMatchRec,
877877
hf_cand_bplus::FlagWrongCollision,

PWGHF/D2H/TableProducer/candidateCreatorBToJpsiReduced.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ struct HfCandidateCreatorBToJpsiReducedExpressions {
436436
bool filledMcInfo{false};
437437
if constexpr (decChannel == DecayChannel::BplusToJpsiK) {
438438
for (const auto& rowJpsiHadMcRec : rowsJpsiHadMcRec) {
439-
if ((rowJpsiHadMcRec.jpsiId() != candB.jpsiId()) || (rowJpsiHadMcRec.prong1Id() != candB.bachKaId())) {
439+
if ((rowJpsiHadMcRec.jpsiId() != candB.jpsiId()) || (rowJpsiHadMcRec.bachKaId() != candB.bachKaId())) {
440440
continue;
441441
}
442442
rowBplusMcRec(rowJpsiHadMcRec.flagMcMatchRec(), rowJpsiHadMcRec.channelMcMatchRec(), rowJpsiHadMcRec.flagWrongCollision(), rowJpsiHadMcRec.debugMcRec(), rowJpsiHadMcRec.ptMother());

0 commit comments

Comments
 (0)