Skip to content

Commit 8e4c845

Browse files
committed
Replace pdg::Mass
1 parent c521493 commit 8e4c845

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

PWGJE/TableProducer/jetfinderhf.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,15 @@ struct JetFinderHFTask {
130130
jetFinder.ghostRepeatN = ghostRepeat;
131131

132132
if constexpr (std::is_same_v<std::decay_t<CandidateTableData>, CandidatesD0Data>) { // Note : need to be careful if configurable workflow options are added later
133-
candMass = pdg::MassD0;
133+
candMass = o2::constants::physics::MassD0;
134134
candDecay = static_cast<int>(aod::hf_cand_2prong::DecayType::D0ToPiK);
135135
}
136136
if constexpr (std::is_same_v<std::decay_t<CandidateTableData>, CandidatesBplusData>) {
137-
candMass = pdg::MassBPlus;
137+
candMass = o2::constants::physics::MassBPlus;
138138
candDecay = static_cast<int>(aod::hf_cand_bplus::DecayType::BplusToD0Pi);
139139
}
140140
if constexpr (std::is_same_v<std::decay_t<CandidateTableData>, CandidatesLcData>) {
141-
candMass = pdg::MassLambdaCPlus;
141+
candMass = o2::constants::physics::MassLambdaCPlus;
142142
candDecay = static_cast<int>(aod::hf_cand_3prong::DecayType::LcToPKPi);
143143
}
144144
}

PWGJE/Tasks/jetfinderhfQA.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ struct JetFinderHFQATask {
7474
trackSelection = JetDerivedDataUtilities::initialiseTrackSelection(static_cast<std::string>(trackSelections));
7575

7676
if constexpr (std::is_same_v<std::decay_t<CandidateTableData>, soa::Join<aod::HfCand2Prong, aod::HfSelD0>>) { // Note : need to be careful if configurable workflow options are added later
77-
candMass = pdg::MassD0;
77+
candMass = o2::constants::physics::MassD0;
7878
}
7979
if constexpr (std::is_same_v<std::decay_t<CandidateTableData>, soa::Join<aod::HfCand3Prong, aod::HfSelLc>>) {
80-
candMass = pdg::MassLambdaCPlus;
80+
candMass = o2::constants::physics::MassLambdaCPlus;
8181
}
8282
if constexpr (std::is_same_v<std::decay_t<CandidateTableData>, soa::Join<aod::HfCandBplus, aod::HfSelBplusToD0Pi>>) {
83-
candMass = pdg::MassBPlus;
83+
candMass = o2::constants::physics::MassBPlus;
8484
}
8585

8686
jetRadiiValues = (std::vector<double>)jetRadii;

0 commit comments

Comments
 (0)