diff --git a/PWGHF/D2H/Tasks/taskD0.cxx b/PWGHF/D2H/Tasks/taskD0.cxx index 74a5b74f18d..88f8c08f79d 100644 --- a/PWGHF/D2H/Tasks/taskD0.cxx +++ b/PWGHF/D2H/Tasks/taskD0.cxx @@ -524,7 +524,8 @@ struct HfTaskD0 { registry.fill(HIST("hPtVsYGenPrompt"), ptGen, yGen); registry.fill(HIST("hSparseAcc"), ptGen, ptGenB, yGen, 1); } else { - ptGenB = mcParticles.rawIteratorAt(particle.idxBhadMotherPart()).pt();; + ptGenB = mcParticles.rawIteratorAt(particle.idxBhadMotherPart()).pt(); + ; registry.fill(HIST("hPtGenNonPrompt"), ptGen); registry.fill(HIST("hYGenNonPrompt"), yGen); registry.fill(HIST("hPtVsYGenNonPrompt"), ptGen, yGen); diff --git a/PWGHF/DataModel/CandidateReconstructionTables.h b/PWGHF/DataModel/CandidateReconstructionTables.h index 19c90a406dd..f1ac48400ac 100644 --- a/PWGHF/DataModel/CandidateReconstructionTables.h +++ b/PWGHF/DataModel/CandidateReconstructionTables.h @@ -528,7 +528,6 @@ DECLARE_SOA_COLUMN(PtBhadMotherPart, ptBhadMotherPart, float); //! pt of the fir DECLARE_SOA_COLUMN(PdgBhadMotherPart, pdgBhadMotherPart, int); //! pdg of the first B-hadron mother particle (only in case of non-prompt) DECLARE_SOA_COLUMN(IdxBhadMotherPart, idxBhadMotherPart, int); //! index of the first B-hadron mother particle (only in case of non-prompt) - // method of secondary-vertex reconstruction enum VertexerType { DCAFitter = 0, KfParticle }; diff --git a/PWGHF/TableProducer/candidateCreator2Prong.cxx b/PWGHF/TableProducer/candidateCreator2Prong.cxx index 22fac323e55..50191ad352b 100644 --- a/PWGHF/TableProducer/candidateCreator2Prong.cxx +++ b/PWGHF/TableProducer/candidateCreator2Prong.cxx @@ -726,7 +726,7 @@ struct HfCandidateCreator2ProngExpressions { } if (origin == RecoDecay::OriginType::NonPrompt) { auto bHadMother = mcParticles.rawIteratorAt(idxBhadMothers[0]); - bMotherPt = bHadMother.pt(); + bMotherPt = bHadMother.pt(); bMotherPdg = bHadMother.pdgCode(); }