@@ -245,6 +245,7 @@ DECLARE_SOA_COLUMN(Charge, charge, int8_t); //! Charge of c
245245DECLARE_SOA_COLUMN (Prong0Id, prong0Id, int ); // ! Track id of charm hadron prong0
246246DECLARE_SOA_COLUMN (Prong1Id, prong1Id, int ); // ! Track id of charm hadron prong1
247247DECLARE_SOA_COLUMN (Prong2Id, prong2Id, int ); // ! Track id of charm hadron prong2
248+ DECLARE_SOA_COLUMN (XiProngId, xiProngId, int ); // ! Cascade id of the Xi prong in Xic -> Xi pi pi candidates
248249DECLARE_SOA_COLUMN (Prong0Pt, prong0Pt, float ); // ! Track pT of charm hadron prong0
249250DECLARE_SOA_COLUMN (Prong1Pt, prong1Pt, float ); // ! Track pT of charm hadron prong1
250251DECLARE_SOA_COLUMN (Prong2Pt, prong2Pt, float ); // ! Track pT of charm hadron prong2
@@ -258,9 +259,18 @@ DECLARE_SOA_COLUMN(CandidateSelFlag, candidateSelFlag, int); //! Selection o
258259DECLARE_SOA_COLUMN (BDTBkg, bdtBkg, float ); // ! Background score using Boosted Decision Tree for charm hadron
259260DECLARE_SOA_COLUMN (BDTPrompt, bdtPrompt, float ); // ! Prompt signal score using Boosted Decision Tree for charm hadron
260261DECLARE_SOA_COLUMN (BDTFD , bdtFD, float ); // ! Feed-down score using Boosted Decision Tree for charm hadron
261- DECLARE_SOA_COLUMN (InvMassCharm, invMassCharm, float ); // ! Reconstructed invariant mass of charm hadron (e.g. invMassXicPlus for Ξc± → Ξππ )
262+ DECLARE_SOA_COLUMN (CascBachelorTrackId, cascBachelorTrackId, int ); // ! Bachelor track ID from Xi cascade (Xic -> Xi pi pi )
262263DECLARE_SOA_COLUMN (CascPosTrackId, cascPosTrackId, int ); // ! Positive track ID from Λ in Ξ cascade (Ξc± → Ξππ)
263264DECLARE_SOA_COLUMN (CascNegTrackId, cascNegTrackId, int ); // ! Negative track ID from Λ in Ξ cascade (Ξc± → Ξππ)
265+ DECLARE_SOA_COLUMN (CascBachelorPt, cascBachelorPt, float ); // ! pT of the bachelor track from the Xi cascade
266+ DECLARE_SOA_COLUMN (CascBachelorPhi, cascBachelorPhi, float ); // ! phi of the bachelor track from the Xi cascade
267+ DECLARE_SOA_COLUMN (CascBachelorEta, cascBachelorEta, float ); // ! eta of the bachelor track from the Xi cascade
268+ DECLARE_SOA_COLUMN (CascPosPt, cascPosPt, float ); // ! pT of the positive Lambda daughter track from the Xi cascade
269+ DECLARE_SOA_COLUMN (CascPosPhi, cascPosPhi, float ); // ! phi of the positive Lambda daughter track from the Xi cascade
270+ DECLARE_SOA_COLUMN (CascPosEta, cascPosEta, float ); // ! eta of the positive Lambda daughter track from the Xi cascade
271+ DECLARE_SOA_COLUMN (CascNegPt, cascNegPt, float ); // ! pT of the negative Lambda daughter track from the Xi cascade
272+ DECLARE_SOA_COLUMN (CascNegPhi, cascNegPhi, float ); // ! phi of the negative Lambda daughter track from the Xi cascade
273+ DECLARE_SOA_COLUMN (CascNegEta, cascNegEta, float ); // ! eta of the negative Lambda daughter track from the Xi cascade
264274DECLARE_SOA_COLUMN (FlagMc, flagMc, int ); // ! To select MC particle among charm hadrons, { DplusToPiKPi = 1, LcToPKPi = 17, DsToKKPi = 6, XicToPKPi = 21, XicToXiPiPi = 1, N3ProngD = 2ecays };
265275DECLARE_SOA_COLUMN (OriginMcRec, originMcRec, int ); // ! flag for reconstruction level matching (1 for prompt, 2 for non-prompt)
266276DECLARE_SOA_COLUMN (OriginMcGen, originMcGen, int ); // ! flag for generator level matching (1 for prompt, 2 for non-prompt)
@@ -391,6 +401,16 @@ DECLARE_SOA_DYNAMIC_COLUMN(Eta, eta,
391401 RecoDecayPtEtaPhi::pVector (pt2, eta2, phi2))); }); // ! Eta distribution of charm hadron
392402} // namespace fdhf_dstar
393403
404+ namespace fdhf_xic
405+ {
406+ DECLARE_SOA_DYNAMIC_COLUMN (Y, y, // !
407+ [](float pt0, float phi0, float eta0, float pt1, float phi1, float eta1, float pt2, float phi2, float eta2) -> float { return RecoDecay::y (RecoDecay::pVec (
408+ RecoDecayPtEtaPhi::pVector (pt0, eta0, phi0),
409+ RecoDecayPtEtaPhi::pVector (pt1, eta1, phi1),
410+ RecoDecayPtEtaPhi::pVector (pt2, eta2, phi2)),
411+ o2::constants::physics::MassXiCPlus); }); // ! Rapidity distribution of Xic candidates
412+ } // namespace fdhf_xic
413+
394414DECLARE_SOA_TABLE (FDHfCand3Prong, " AOD" , " FDHFCAND3PRONG" , // ! Table to store the derived data for charm 3prong candidates
395415 o2::soa::Index<>,
396416 femtodreamparticle::FDCollisionId,
@@ -419,11 +439,48 @@ DECLARE_SOA_TABLE(FDHfCand3Prong, "AOD", "FDHFCAND3PRONG", //! Table to store th
419439 fdhf::Phi<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>,
420440 fdhf::Pt<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>);
421441
422- DECLARE_SOA_TABLE (FDHfCand3ProngXic, " AOD" , " FDHFCAND3PRONGXIC" , // ! Extension table for Ξc± → Ξππ candidates (aligned rows with FDHfCand3Prong)
442+ DECLARE_SOA_TABLE (FDHfCand3ProngXic, " AOD" , " FDHFCAND3PRONGXIC" , // ! Table to store the derived data for Xic -> Xi pi pi candidates
423443 o2::soa::Index<>,
424- fdhf::InvMassCharm,
444+ femtodreamparticle::FDCollisionId,
445+ fdhf::TimeStamp,
446+ fdhf::Charge,
447+ fdhf::XiProngId,
448+ fdhf::Prong1Id,
449+ fdhf::Prong2Id,
450+ fdhf::CascBachelorTrackId,
425451 fdhf::CascPosTrackId,
426- fdhf::CascNegTrackId);
452+ fdhf::CascNegTrackId,
453+ fdhf::Prong0Pt,
454+ fdhf::Prong1Pt,
455+ fdhf::Prong2Pt,
456+ fdhf::Prong0Eta,
457+ fdhf::Prong1Eta,
458+ fdhf::Prong2Eta,
459+ fdhf::Prong0Phi,
460+ fdhf::Prong1Phi,
461+ fdhf::Prong2Phi,
462+ fdhf::CandidateSelFlag,
463+ fdhf::BDTBkg,
464+ fdhf::BDTPrompt,
465+ fdhf::BDTFD ,
466+ fdhf::M<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>,
467+ fdhf::P<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>,
468+ fdhf_xic::Y<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>,
469+ fdhf::Eta<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>,
470+ fdhf::Phi<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>,
471+ fdhf::Pt<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>);
472+
473+ DECLARE_SOA_TABLE (FDHfCand3ProngXicQa, " AOD" , " FDHFCAND3PXICQA" , // ! QA extension table for Xi daughters in Xic -> Xi pi pi candidates
474+ o2::soa::Index<>,
475+ fdhf::CascBachelorPt,
476+ fdhf::CascBachelorPhi,
477+ fdhf::CascBachelorEta,
478+ fdhf::CascPosPt,
479+ fdhf::CascPosPhi,
480+ fdhf::CascPosEta,
481+ fdhf::CascNegPt,
482+ fdhf::CascNegPhi,
483+ fdhf::CascNegEta);
427484
428485DECLARE_SOA_TABLE (FDHfCand2Prong, " AOD" , " FDHFCAND2PRONG" , // ! Table to store the derived data for charm 3prong candidates
429486 o2::soa::Index<>,
0 commit comments