@@ -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 (CascId, cascId, int ); // ! Cascade id of the Ξ prong in Ξc → Ξππ 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,7 +259,19 @@ 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 (FlagMc, flagMc, int ); // ! To select MC particle among charm hadrons, { DplusToPiKPi = 1, LcToPKPi = 17, DsToKKPi = 6, XicToPKPi = 21, N3ProngD = 2ecays };
262+ DECLARE_SOA_COLUMN (CascBachelorTrackId, cascBachelorTrackId, int ); // ! Bachelor track ID from Ξ cascade (Ξc± → Ξππ)
263+ DECLARE_SOA_COLUMN (CascPosTrackId, cascPosTrackId, int ); // ! Positive track ID from Λ in Ξ cascade (Ξc± → Ξππ)
264+ DECLARE_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
274+ DECLARE_SOA_COLUMN (FlagMc, flagMc, int ); // ! MC matching flag for the selected charm hadron decay channel
262275DECLARE_SOA_COLUMN (OriginMcRec, originMcRec, int ); // ! flag for reconstruction level matching (1 for prompt, 2 for non-prompt)
263276DECLARE_SOA_COLUMN (OriginMcGen, originMcGen, int ); // ! flag for generator level matching (1 for prompt, 2 for non-prompt)
264277DECLARE_SOA_COLUMN (IsCandidateSwapped, isCandidateSwapped, int ); // ! swapping of the prongs order (0 for Lc -> pkpi, 1 for Lc -> pikp)
@@ -270,12 +283,12 @@ DECLARE_SOA_COLUMN(KT, kT, float); //! kT distribu
270283DECLARE_SOA_COLUMN (MT , mT , float ); // ! Transverse mass distribution
271284DECLARE_SOA_COLUMN (CharmM, charmM, float ); // ! Charm hadron mass
272285DECLARE_SOA_COLUMN (CharmDaughM, charmDaughM, float ); // ! Charm hadron daughter mass
273- DECLARE_SOA_COLUMN (CharmTrkM, charmtrkM, float ); // ! Charm hadron track mass
286+ DECLARE_SOA_COLUMN (CharmTrkM, charmtrkM, float ); // ! Invariant-mass difference of the charm- track pair
274287DECLARE_SOA_COLUMN (CharmPt, charmPt, float ); // ! Transverse momentum of charm hadron for result task
275288DECLARE_SOA_COLUMN (CharmEta, charmEta, float ); // ! Eta of charm hadron for result task
276289DECLARE_SOA_COLUMN (CharmPhi, charmPhi, float ); // ! Phi of charm hadron for result task
277290DECLARE_SOA_COLUMN (Mult, mult, int ); // ! Charge particle multiplicity
278- DECLARE_SOA_COLUMN (MultPercentile, multPercentile, float ); // ! Multiplicity precentile
291+ DECLARE_SOA_COLUMN (MultPercentile, multPercentile, float ); // ! Multiplicity percentile
279292DECLARE_SOA_COLUMN (PairSign, pairSign, int8_t ); // ! Selection between like sign (1) and unlike sign pair (2)
280293DECLARE_SOA_COLUMN (ProcessType, processType, int64_t ); // ! Selection between same-event (1), and mixed-event (2)
281294DECLARE_SOA_DYNAMIC_COLUMN (M, m, // !
@@ -388,6 +401,16 @@ DECLARE_SOA_DYNAMIC_COLUMN(Eta, eta,
388401 RecoDecayPtEtaPhi::pVector (pt2, eta2, phi2))); }); // ! Eta distribution of charm hadron
389402} // namespace fdhf_dstar
390403
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+
391414DECLARE_SOA_TABLE (FDHfCand3Prong, " AOD" , " FDHFCAND3PRONG" , // ! Table to store the derived data for charm 3prong candidates
392415 o2::soa::Index<>,
393416 femtodreamparticle::FDCollisionId,
@@ -416,6 +439,49 @@ DECLARE_SOA_TABLE(FDHfCand3Prong, "AOD", "FDHFCAND3PRONG", //! Table to store th
416439 fdhf::Phi<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>,
417440 fdhf::Pt<fdhf::Prong0Pt, fdhf::Prong0Phi, fdhf::Prong0Eta, fdhf::Prong1Pt, fdhf::Prong1Phi, fdhf::Prong1Eta, fdhf::Prong2Pt, fdhf::Prong2Phi, fdhf::Prong2Eta>);
418441
442+ DECLARE_SOA_TABLE (FDHfCand3ProngXic, " AOD" , " FDHFXIC3PRONG" , // ! Table to store the derived data for Ξc → Ξππ candidates
443+ o2::soa::Index<>,
444+ femtodreamparticle::FDCollisionId,
445+ fdhf::TimeStamp,
446+ fdhf::Charge,
447+ fdhf::CascId,
448+ fdhf::Prong1Id,
449+ fdhf::Prong2Id,
450+ fdhf::CascBachelorTrackId,
451+ fdhf::CascPosTrackId,
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" , " FDHFXIC3PQA" , // ! QA extension table for Ξ daughters in Ξc → Ξππ 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);
484+
419485DECLARE_SOA_TABLE (FDHfCand2Prong, " AOD" , " FDHFCAND2PRONG" , // ! Table to store the derived data for charm 3prong candidates
420486 o2::soa::Index<>,
421487 femtodreamparticle::FDCollisionId,
@@ -681,8 +747,16 @@ static constexpr std::string_view ParticleOriginMCTruthName[kNOriginMCTruthTypes
681747 " _Material" ,
682748 " _NotPrimary" ,
683749 " _Fake" ,
750+ " _WrongCollision" ,
684751 " _SecondaryDaughterLambda" ,
685- " _SecondaryDaughterSigmaPlus" };
752+ " _SecondaryDaughterSigmaPlus" ,
753+ " _SecondaryDaughterSigma0" ,
754+ " _SecondaryDaughterXiMinus" ,
755+ " _SecondaryDaughterXi0" ,
756+ " _SecondaryDaughterOmegaMinus" ,
757+ " _SecondaryDaughterXistar0" ,
758+ " _SecondaryDaughterXistarMinus" ,
759+ " _Else" };
686760
687761// / Distinguished between reconstructed and truth
688762enum MCType {
0 commit comments