@@ -120,9 +120,7 @@ DECLARE_SOA_TABLE(HfCandCd, "AOD", "HFCANDCD",
120120 full::NTpcSignalsKa,
121121 full::NItsSignalsDe,
122122 full::CandidateSelFlag,
123- full::Cent,
124- full::GIndexCol,
125- full::TimeStamp);
123+ full::Cent);
126124} // namespace o2::aod
127125
128126struct HfTaskCd {
@@ -386,8 +384,8 @@ struct HfTaskCd {
386384
387385 if (selDeKPi) {
388386 candFlag = 1 ;
389- pSignedDe = prong0.p () * prong0.sign ();
390- pSignedPi = prong2.p () * prong2.sign ();
387+ pSignedDe = prong0.tpcInnerParam () * prong0.sign ();
388+ pSignedPi = prong2.tpcInnerParam () * prong2.sign ();
391389 nSigmaTpcDe = candidate.nSigTpcDe0 ();
392390 nSigmaTofDe = candidate.nSigTofDe0 ();
393391 nSigmaTpcPi = candidate.nSigTpcPi2 ();
@@ -401,8 +399,8 @@ struct HfTaskCd {
401399 itsSignalsDe = itsSignal (prong0);
402400 } else if (selPiKDe) {
403401 candFlag = -1 ;
404- pSignedDe = prong2.p () * prong2.sign ();
405- pSignedPi = prong0.p () * prong0.sign ();
402+ pSignedDe = prong2.tpcInnerParam () * prong2.sign ();
403+ pSignedPi = prong0.tpcInnerParam () * prong0.sign ();
406404 nSigmaTpcDe = candidate.nSigTpcDe2 ();
407405 nSigmaTofDe = candidate.nSigTofDe2 ();
408406 nSigmaTpcPi = candidate.nSigTpcPi0 ();
@@ -422,12 +420,12 @@ struct HfTaskCd {
422420 registry.fill (HIST (" Data/hNsigmaITSDeVsP" ), pSignedDe, nSigmaItsDe);
423421 registry.fill (HIST (" Data/hTPCSignalDeVsP" ), pSignedDe, tpcSignalsDe);
424422 registry.fill (HIST (" Data/hTPCSignalPiVsP" ), pSignedPi, tpcSignalsPi);
425- registry.fill (HIST (" Data/hTPCSignalKaVsP" ), prong1.p () * prong1.sign (), tpcSignalsKa);
423+ registry.fill (HIST (" Data/hTPCSignalKaVsP" ), prong1.tpcInnerParam () * prong1.sign (), tpcSignalsKa);
426424 registry.fill (HIST (" Data/hITSSignalDeVsP" ), pSignedDe, itsSignalsDe);
427425 registry.fill (HIST (" Data/hNsigmaTPCPiVsP" ), pSignedPi, nSigmaTpcPi);
428426 registry.fill (HIST (" Data/hNsigmaTOFPiVsP" ), pSignedPi, nSigmaTofPi);
429- registry.fill (HIST (" Data/hNsigmaTPCKaVsP" ), prong1.p () * prong1.sign (), nSigmaTpcKa);
430- registry.fill (HIST (" Data/hNsigmaTOFKaVsP" ), prong1.p () * prong1.sign (), nSigmaTofKa);
427+ registry.fill (HIST (" Data/hNsigmaTPCKaVsP" ), prong1.tpcInnerParam () * prong1.sign (), nSigmaTpcKa);
428+ registry.fill (HIST (" Data/hNsigmaTOFKaVsP" ), prong1.tpcInnerParam () * prong1.sign (), nSigmaTofKa);
431429
432430 rowCandCd (
433431 invMassCd,
@@ -452,9 +450,7 @@ struct HfTaskCd {
452450 tpcSignalsKa,
453451 itsSignalsDe,
454452 candFlag,
455- cent,
456- collision.globalIndex (),
457- timeStamp);
453+ cent);
458454 }
459455 }
460456 }
0 commit comments