@@ -65,6 +65,8 @@ namespace full
6565// Candidate kinematics
6666DECLARE_SOA_COLUMN (M, m, float ); // ! Invariant mass of candidate (GeV/c^2)
6767DECLARE_SOA_COLUMN (Pt, pt, float ); // ! Transverse momentum of candidate (GeV/c)
68+ DECLARE_SOA_COLUMN (Eta, eta, float ); // ! eta of candidate (GeV/c)
69+ DECLARE_SOA_COLUMN (Phi, phi, float ); // ! phi of candidate (GeV/c)
6870DECLARE_SOA_COLUMN (PtProng0, ptProng0, float ); // ! Transverse momentum of prong 0 (GeV/c)
6971DECLARE_SOA_COLUMN (PtProng1, ptProng1, float ); // ! Transverse momentum of prong 1 (GeV/c)
7072DECLARE_SOA_COLUMN (PtProng2, ptProng2, float ); // ! Transverse momentum of prong 2 (GeV/c)
@@ -100,6 +102,8 @@ DECLARE_SOA_COLUMN(TimeStamp, timeStamp, int64_t); //! Timestamp fo
100102DECLARE_SOA_TABLE (HfCandCd, " AOD" , " HFCANDCD" ,
101103 full::M,
102104 full::Pt,
105+ full::Eta,
106+ full::Phi,
103107 full::PtProng0,
104108 full::PtProng1,
105109 full::PtProng2,
@@ -266,15 +270,17 @@ struct HfTaskCd {
266270 auto thisCollId = collision.globalIndex ();
267271 auto groupedCdCandidates = candidates.sliceBy (candCdPerCollision, thisCollId);
268272 auto numPvContributors = collision.numContrib ();
269- auto bc = collision.template bc_as <BcType>();
270- int64_t timeStamp = bc.timestamp ();
273+ // auto bc = collision.template bc_as<BcType>();
274+ // int64_t timeStamp = bc.timestamp();
271275
272276 for (const auto & candidate : groupedCdCandidates) {
273277 if (!TESTBIT (candidate.hfflag (), aod::hf_cand_3prong::DecayType::CdToDeKPi)) {
274278 continue ;
275279 }
276280
277281 const auto pt = candidate.pt ();
282+ const auto eta = candidate.eta ();
283+ const auto phi = candidate.phi ();
278284 const auto ptProng0 = candidate.ptProng0 ();
279285 const auto ptProng1 = candidate.ptProng1 ();
280286 const auto ptProng2 = candidate.ptProng2 ();
@@ -321,10 +327,10 @@ struct HfTaskCd {
321327 registry.fill (HIST (" Data/hCPAxyVsPt" ), cpaXY, pt);
322328 registry.fill (HIST (" Data/hDca2" ), chi2PCA);
323329 registry.fill (HIST (" Data/hDca2VsPt" ), chi2PCA, pt);
324- registry.fill (HIST (" Data/hEta" ), candidate. eta () );
325- registry.fill (HIST (" Data/hEtaVsPt" ), candidate. eta () , pt);
326- registry.fill (HIST (" Data/hPhi" ), candidate. phi () );
327- registry.fill (HIST (" Data/hPhiVsPt" ), candidate. phi () , pt);
330+ registry.fill (HIST (" Data/hEta" ), eta);
331+ registry.fill (HIST (" Data/hEtaVsPt" ), eta, pt);
332+ registry.fill (HIST (" Data/hPhi" ), phi);
333+ registry.fill (HIST (" Data/hPhiVsPt" ), phi, pt);
328334 registry.fill (HIST (" hSelectionStatus" ), candidate.isSelCdToDeKPi (), pt);
329335 registry.fill (HIST (" hSelectionStatus" ), candidate.isSelCdToPiKDe (), pt);
330336 registry.fill (HIST (" Data/hImpParErrProng0" ), candidate.errorImpactParameter0 (), pt);
@@ -430,6 +436,8 @@ struct HfTaskCd {
430436 rowCandCd (
431437 invMassCd,
432438 pt,
439+ eta,
440+ phi,
433441 ptProng0,
434442 ptProng1,
435443 ptProng2,
0 commit comments