@@ -310,37 +310,37 @@ struct HfTaskCharmHadronsFemtoDream {
310310 auto pVecProng1 = RecoDecayPtEtaPhi::pVector (cand.prong1Pt (), cand.prong1Eta (), cand.prong1Phi ());
311311 auto pVecProng2 = RecoDecayPtEtaPhi::pVector (cand.prong2Pt (), cand.prong2Eta (), cand.prong2Phi ());
312312 auto pVecTrack = RecoDecayPtEtaPhi::pVector (trk.pt (), trk.eta (), trk.phi ());
313- const auto moms4 = std::array{pVecProng0, pVecProng1, pVecProng2, pVecTrack};
313+ const auto pVecCharmTrk = std::array{pVecProng0, pVecProng1, pVecProng2, pVecTrack};
314314
315- std::array<double , 4 > mass4 {};
315+ std::array<double , 4 > massCharmTrk {};
316316
317317 if (charmHadPDGCode == o2::constants::physics::Pdg::kLambdaCPlus ) {
318318 // Λc⁺ → p K π
319319 if (cand.candidateSelFlag () == 1 ) {
320- mass4 = {
320+ massCharmTrk = {
321321 o2::constants::physics::MassProton,
322322 o2::constants::physics::MassKPlus,
323323 o2::constants::physics::MassPiPlus,
324324 trackMassHyp};
325325 } else {
326326 // prong0=π, prong1=K, prong2=p
327- mass4 = {
327+ massCharmTrk = {
328328 o2::constants::physics::MassPiPlus,
329329 o2::constants::physics::MassKPlus,
330330 o2::constants::physics::MassProton,
331331 trackMassHyp};
332332 }
333333 } else if (charmHadPDGCode == o2::constants::physics::Pdg::kDPlus ) {
334334 // D⁺ → π K π
335- mass4 = {
335+ massCharmTrk = {
336336 o2::constants::physics::MassPiPlus,
337337 o2::constants::physics::MassKPlus,
338338 o2::constants::physics::MassPiPlus,
339339 trackMassHyp};
340340 } else {
341341 return -1 .f ;
342342 }
343- return static_cast <float >(RecoDecay::m (moms4, mass4 ));
343+ return static_cast <float >(RecoDecay::m (pVecCharmTrk, massCharmTrk ));
344344 }
345345
346346 // / This function processes the same event and takes care of all the histogramming
0 commit comments