|
25 | 25 | #include "Common/DataModel/EventSelection.h" |
26 | 26 | #include "Common/DataModel/TrackSelectionTables.h" |
27 | 27 |
|
28 | | -#include "Common/Core/RecoDecay.h" |
| 28 | +#include "PWGHF/Core/PDG.h" |
29 | 29 |
|
30 | 30 | #include "PWGHF/Core/HfHelper.h" |
31 | 31 | #include "PWGHF/DataModel/CandidateReconstructionTables.h" |
@@ -237,7 +237,7 @@ struct JetFinderHFQATask { |
237 | 237 | registry.fill(HIST("h3_jet_r_jet_pt_candidate_pt"), jet.r() / 100.0, jet.pt(), hfcandidate.pt(), weight); |
238 | 238 | registry.fill(HIST("h3_jet_r_jet_pt_candidate_eta"), jet.r() / 100.0, jet.pt(), hfcandidate.eta(), weight); |
239 | 239 | registry.fill(HIST("h3_jet_r_jet_pt_candidate_phi"), jet.r() / 100.0, jet.pt(), hfcandidate.phi(), weight); |
240 | | - registry.fill(HIST("h3_jet_r_jet_pt_candidate_y"), jet.r() / 100.0, jet.pt(), hfcandidate.y(RecoDecay::getMassPDG(421)), weight); |
| 240 | + registry.fill(HIST("h3_jet_r_jet_pt_candidate_y"), jet.r() / 100.0, jet.pt(), hfcandidate.y(o2::analysis::pdg::MassD0), weight); |
241 | 241 |
|
242 | 242 | if (jet.r() == round(selectedJetsRadius * 100.0f)) { |
243 | 243 | if constexpr (std::is_same_v<std::decay_t<U>, soa::Join<aod::HfCand2Prong, aod::HfSelD0>> || std::is_same_v<std::decay_t<U>, soa::Join<aod::HfCand2Prong, aod::HfSelD0, aod::HfCand2ProngMcRec>>) { |
@@ -322,7 +322,7 @@ struct JetFinderHFQATask { |
322 | 322 | mcdCandPt = hfcandidate_mcd.pt(); |
323 | 323 | mcdCandPhi = hfcandidate_mcd.phi(); |
324 | 324 | mcdCandEta = hfcandidate_mcd.eta(); |
325 | | - mcdCandY = hfcandidate_mcd.y(RecoDecay::getMassPDG(421)); |
| 325 | + mcdCandY = hfcandidate_mcd.y(o2::analysis::pdg::MassD0); |
326 | 326 | } |
327 | 327 |
|
328 | 328 | for (auto& hfcandidate_mcp : mcpjet.template hfcandidates_as<std::decay_t<O>>()) { |
@@ -474,12 +474,12 @@ struct JetFinderHFQATask { |
474 | 474 | registry.fill(HIST("h3_jet_r_jet_pt_candidate_pt_MB"), jet.r() / 100.0, jet.pt(), hfcandidate.pt()); |
475 | 475 | registry.fill(HIST("h3_jet_r_jet_pt_candidate_eta_MB"), jet.r() / 100.0, jet.pt(), hfcandidate.eta()); |
476 | 476 | registry.fill(HIST("h3_jet_r_jet_pt_candidate_phi_MB"), jet.r() / 100.0, jet.pt(), hfcandidate.phi()); |
477 | | - registry.fill(HIST("h3_jet_r_jet_pt_candidate_y_MB"), jet.r() / 100.0, jet.pt(), hfcandidate.y(RecoDecay::getMassPDG(421))); |
| 477 | + registry.fill(HIST("h3_jet_r_jet_pt_candidate_y_MB"), jet.r() / 100.0, jet.pt(), hfcandidate.y(o2::analysis::pdg::MassD0)); |
478 | 478 | if (collision.hasJetChHighPt() >= 1) { |
479 | 479 | registry.fill(HIST("h3_jet_r_jet_pt_candidate_pt_Triggered"), jet.r() / 100.0, jet.pt(), hfcandidate.pt()); |
480 | 480 | registry.fill(HIST("h3_jet_r_jet_pt_candidate_eta_Triggered"), jet.r() / 100.0, jet.pt(), hfcandidate.eta()); |
481 | 481 | registry.fill(HIST("h3_jet_r_jet_pt_candidate_phi_Triggered"), jet.r() / 100.0, jet.pt(), hfcandidate.phi()); |
482 | | - registry.fill(HIST("h3_jet_r_jet_pt_candidate_y_Triggered"), jet.r() / 100.0, jet.pt(), hfcandidate.y(RecoDecay::getMassPDG(421))); |
| 482 | + registry.fill(HIST("h3_jet_r_jet_pt_candidate_y_Triggered"), jet.r() / 100.0, jet.pt(), hfcandidate.y(o2::analysis::pdg::MassD0)); |
483 | 483 | } |
484 | 484 | } |
485 | 485 | } |
|
0 commit comments