@@ -115,8 +115,8 @@ struct HfDerivedDataCreatorLcToPKPi {
115115 rowsCommon.init (confDerData);
116116 }
117117
118- template <typename T, typename U >
119- void fillTablesCandidate (const T& candidate, const U& prong0, const U& prong1, const U& prong2, int candFlag, double invMass,
118+ template <typename T>
119+ void fillTablesCandidate (const T& candidate, int candFlag, double invMass,
120120 double ct, double y, int8_t flagMc, int8_t origin, int8_t swapping, const std::vector<float >& mlScores)
121121 {
122122 rowsCommon.fillTablesCandidate (candidate, invMass, y);
@@ -268,9 +268,6 @@ struct HfDerivedDataCreatorLcToPKPi {
268268 }
269269 }
270270 }
271- auto prong0 = candidate.template prong0_as <TracksWPid>();
272- auto prong1 = candidate.template prong1_as <TracksWPid>();
273- auto prong2 = candidate.template prong2_as <TracksWPid>();
274271 double ct = hfHelper.ctLc (candidate);
275272 double y = hfHelper.yLc (candidate);
276273 float massLcToPKPi = hfHelper.invMassLcToPKPi (candidate);
@@ -281,10 +278,10 @@ struct HfDerivedDataCreatorLcToPKPi {
281278 std::copy (candidate.mlProbLcToPiKP ().begin (), candidate.mlProbLcToPiKP ().end (), std::back_inserter (mlScoresLcToPiKP));
282279 }
283280 if (candidate.isSelLcToPKPi ()) {
284- fillTablesCandidate (candidate, prong0, prong1, prong2, 0 , massLcToPKPi, ct, y, flagMcRec, origin, swapping, mlScoresLcToPKPi);
281+ fillTablesCandidate (candidate, 0 , massLcToPKPi, ct, y, flagMcRec, origin, swapping, mlScoresLcToPKPi);
285282 }
286283 if (candidate.isSelLcToPiKP ()) {
287- fillTablesCandidate (candidate, prong0, prong1, prong2, 1 , massLcToPiKP, ct, y, flagMcRec, origin, swapping, mlScoresLcToPiKP);
284+ fillTablesCandidate (candidate, 1 , massLcToPiKP, ct, y, flagMcRec, origin, swapping, mlScoresLcToPiKP);
288285 }
289286 }
290287 }
0 commit comments