From 13ee65a050680986c0290e58168e68b76087b9d9 Mon Sep 17 00:00:00 2001 From: FDUEnrich <23210190047@m.fudan.edu.cn> Date: Sun, 12 Oct 2025 15:07:07 +0200 Subject: [PATCH 1/6] Update candidateSelectorOmegac0Xic0ToOmegaKa.cxx Fix a name bug. --- .../candidateSelectorOmegac0Xic0ToOmegaKa.cxx | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx index 1dd9ad697e3..456e5001f8a 100644 --- a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx +++ b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx @@ -62,10 +62,10 @@ struct HfCandidateSelectorToOmegaKa { // Produces hfMlSelToOmegaKa; // LF analysis selections - Configurable radiusCascMin{"radiusCascMin", 0.5, "Min cascade radius"}; + Configurable radiusCascMin{"radiusCascMin", 0.1, "Min cascade radius"}; Configurable radiusV0Min{"radiusV0Min", 1.1, "Min V0 radius"}; - Configurable cosPAV0Min{"cosPAV0Min", 0.97, "Min valueCosPA V0"}; - Configurable cosPACascMin{"cosPACascMin", 0.97, "Min value CosPA cascade"}; + Configurable cosPAV0Min{"cosPAV0Min", 0.95, "Min valueCosPA V0"}; + Configurable cosPACascMin{"cosPACascMin", 0.95, "Min value CosPA cascade"}; Configurable dcaCascDauMax{"dcaCascDauMax", 1.0, "Max DCA cascade daughters"}; Configurable dcaV0DauMax{"dcaV0DauMax", 1.0, "Max DCA V0 daughters"}; Configurable dcaBachToPvMin{"dcaBachToPvMin", 0.04, "DCA Bach To PV"}; @@ -92,8 +92,8 @@ struct HfCandidateSelectorToOmegaKa { Configurable impactParameterXYCascMin{"impactParameterXYCascMin", 0., "Min dcaxy cascade track to PV"}; Configurable impactParameterXYCascMax{"impactParameterXYCascMax", 10., "Max dcaxy cascade track to PV"}; - Configurable ptCandMin{"ptCandMin", 0., "Lower bound of candidate pT"}; - Configurable ptCandMax{"ptCandMax", 50., "Upper bound of candidate pT"}; + Configurable ptCandMin{"ptCandMin", 1., "Lower bound of candidate pT"}; + Configurable ptCandMax{"ptCandMax", 12., "Upper bound of candidate pT"}; Configurable dcaCharmBaryonDauMax{"dcaCharmBaryonDauMax", 2.0, "Max DCA charm baryon daughters"}; @@ -248,7 +248,6 @@ struct HfCandidateSelectorToOmegaKa { registry.add("hSelMassCasc", "hSelMassCasc;status;entries", {HistType::kTH1D, {axisSel}}); registry.add("hSelMassCharmBaryon", "hSelMassCharmBaryon;status;entries", {HistType::kTH1D, {axisSel}}); registry.add("hSelDcaXYToPvKaFromCasc", "hSelDcaXYToPvKaFromCasc;status;entries", {HistType::kTH1D, {axisSel}}); - registry.add("hSelPtOmegaKa", "hSelPtOmegaKa;status;entries", {HistType::kTH1D, {axisSel}}); registry.add("hSelCompetingCasc", "hSelCompetingCasc;status;entries", {HistType::kTH1D, {axisSel}}); registry.add("hSelV0_Casc_OmegaKaldl", "hSelV0_Casc_OmegaKaldl;status;entries", {HistType::kTH1D, {axisSel}}); registry.add("hSelctauOmegaKa", "hSelctauOmegaKa;status;entries", {HistType::kTH1D, {axisSel}}); @@ -265,6 +264,10 @@ struct HfCandidateSelectorToOmegaKa { bool selectionTopol(const T1& hfCandOmegaKa) { auto candpT = hfCandOmegaKa.kfPtOmegaKa(); + // check that the candidate pT is within the analysis range + if (candpT < ptCandMin || candpT > ptCandMax) { + return false; + } auto kaPtFromOmegaKa = hfCandOmegaKa.kfPtKaFromOmegaKa(); int const pTBin = findBin(binsPt, candpT); if (pTBin == -1) { @@ -272,14 +275,7 @@ struct HfCandidateSelectorToOmegaKa { } // check that the candidate pT is within the analysis range - if (candpT <= ptCandMin || candpT >= ptCandMax) { - registry.fill(HIST("hSelPtOmegaKa"), 0); - return false; - } - registry.fill(HIST("hSelPtOmegaKa"), 1); - - // check that the candidate pT is within the analysis range - if (kaPtFromOmegaKa < cuts->get(pTBin, "pT ka from OmegaKa")) { + if (kaPtFromOmegaKa < cuts->get(pTBin, "pT Ka from Omegac")) { registry.fill(HIST("hSelPtKaFromCharm"), 0); return false; } @@ -329,10 +325,13 @@ struct HfCandidateSelectorToOmegaKa { } else if (signDecay < 0) { registry.fill(HIST("hSelSignDec"), 0); // particle decay } - // pt-dependent selection if (!selectionTopol(candidate)) { resultSelections = false; + hfSelToOmegaKaKf(statusPidLambda, statusPidCascade, statusPidCharmBaryon, statusInvMassLambda, statusInvMassCascade, statusInvMassCharmBaryon, resultSelections, infoTpcStored, infoTofStored, + trackKaFromCharm.tpcNSigmaKa(), trackKaFromCasc.tpcNSigmaKa(), trackPiFromLam.tpcNSigmaPi(), trackPrFromLam.tpcNSigmaPr(), + trackKaFromCharm.tofNSigmaKa(), trackKaFromCasc.tofNSigmaKa(), trackPiFromLam.tofNSigmaPi(), trackPrFromLam.tofNSigmaPr()); + continue; } // eta selection From a47bf5dc25bcbdfd49e79cd9d26da7d56d75b9f4 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Sun, 12 Oct 2025 13:09:22 +0000 Subject: [PATCH 2/6] Please consider the following formatting changes --- PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx index 456e5001f8a..7e2cd098caf 100644 --- a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx +++ b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx @@ -329,8 +329,8 @@ struct HfCandidateSelectorToOmegaKa { if (!selectionTopol(candidate)) { resultSelections = false; hfSelToOmegaKaKf(statusPidLambda, statusPidCascade, statusPidCharmBaryon, statusInvMassLambda, statusInvMassCascade, statusInvMassCharmBaryon, resultSelections, infoTpcStored, infoTofStored, - trackKaFromCharm.tpcNSigmaKa(), trackKaFromCasc.tpcNSigmaKa(), trackPiFromLam.tpcNSigmaPi(), trackPrFromLam.tpcNSigmaPr(), - trackKaFromCharm.tofNSigmaKa(), trackKaFromCasc.tofNSigmaKa(), trackPiFromLam.tofNSigmaPi(), trackPrFromLam.tofNSigmaPr()); + trackKaFromCharm.tpcNSigmaKa(), trackKaFromCasc.tpcNSigmaKa(), trackPiFromLam.tpcNSigmaPi(), trackPrFromLam.tpcNSigmaPr(), + trackKaFromCharm.tofNSigmaKa(), trackKaFromCasc.tofNSigmaKa(), trackPiFromLam.tofNSigmaPi(), trackPrFromLam.tofNSigmaPr()); continue; } From b80f07480494f70f3729ac2f704e20ac93c804c6 Mon Sep 17 00:00:00 2001 From: FDUEnrich <23210190047@m.fudan.edu.cn> Date: Sun, 12 Oct 2025 18:57:00 +0200 Subject: [PATCH 3/6] Update candidateSelectorOmegac0Xic0ToOmegaKa.cxx --- .../candidateSelectorOmegac0Xic0ToOmegaKa.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx index 7e2cd098caf..fe51f936e25 100644 --- a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx +++ b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx @@ -142,11 +142,6 @@ struct HfCandidateSelectorToOmegaKa { Configurable nClustersItsInnBarrMin{"nClustersItsInnBarrMin", 1, "Minimum number of ITS clusters in inner barrel requirement for pi <- charm baryon"}; Configurable itsChi2PerClusterMax{"itsChi2PerClusterMax", 36, "Maximum value of chi2 fit over ITS clusters for pi <- charm baryon"}; - ConfigurableAxis thnConfigAxisMass{"thnConfigAxisMass", {120, 2.4, 3.1}, "Cand. inv-mass bins"}; - ConfigurableAxis thnConfigAxisPt{"thnConfigAxisPt", {100, 0, 20}, "Cand. pT bins"}; - ConfigurableAxis thnConfigAxisCent{"thnConfigAxisCent", {100, 0, 100}, "Centrality bins"}; - ConfigurableAxis thnConfigAxisPtKaon{"thnConfigAxisPtKaon", {100, 0, 10}, "PtPion from Omegac0 bins"}; - struct : ConfigurableGroup { //// KF selection std::string prefix = "kfSel"; @@ -177,6 +172,11 @@ struct HfCandidateSelectorToOmegaKa { TrackSelectorPr selectorProton; TrackSelectorKa selectorKaon; + ConfigurableAxis thnConfigAxisMass{"thnConfigAxisMass", {120, 2.4, 3.1}, "Cand. inv-mass bins"}; + ConfigurableAxis thnConfigAxisPt{"thnConfigAxisPt", {100, 0, 20}, "Cand. pT bins"}; + ConfigurableAxis thnConfigAxisCent{"thnConfigAxisCent", {100, 0, 100}, "Centrality bins"}; + ConfigurableAxis thnConfigAxisPtKaon{"thnConfigAxisPtKaon", {100, 0, 10}, "PtPion from Omegac0 bins"}; + using TracksSel = soa::Join; using TracksSelLf = soa::Join; From 8894f1bf3bead7c9d21e9b9031f5a609d15f4e98 Mon Sep 17 00:00:00 2001 From: FDUEnrich <23210190047@m.fudan.edu.cn> Date: Sun, 12 Oct 2025 19:08:21 +0200 Subject: [PATCH 4/6] Update candidateSelectorOmegac0Xic0ToOmegaKa.cxx --- .../candidateSelectorOmegac0Xic0ToOmegaKa.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx index fe51f936e25..cd2354c8b81 100644 --- a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx +++ b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx @@ -57,7 +57,7 @@ enum PidInfoStored { }; /// Struct for applying OmegaKa -> Omega Ka selection cuts -struct HfCandidateSelectorToOmegaKa { +struct HfCandidateSelectorOmegac0Xic0ToOmegaKa { Produces hfSelToOmegaKaKf; // Produces hfMlSelToOmegaKa; @@ -172,14 +172,14 @@ struct HfCandidateSelectorToOmegaKa { TrackSelectorPr selectorProton; TrackSelectorKa selectorKaon; + using TracksSel = soa::Join; + using TracksSelLf = soa::Join; + ConfigurableAxis thnConfigAxisMass{"thnConfigAxisMass", {120, 2.4, 3.1}, "Cand. inv-mass bins"}; ConfigurableAxis thnConfigAxisPt{"thnConfigAxisPt", {100, 0, 20}, "Cand. pT bins"}; ConfigurableAxis thnConfigAxisCent{"thnConfigAxisCent", {100, 0, 100}, "Centrality bins"}; ConfigurableAxis thnConfigAxisPtKaon{"thnConfigAxisPtKaon", {100, 0, 10}, "PtPion from Omegac0 bins"}; - using TracksSel = soa::Join; - using TracksSelLf = soa::Join; - HistogramRegistry registry{"registry"}; // for QA of selections OutputObj hInvMassCharmBaryon{TH1D("hInvMassCharmBaryon", "Charm baryon invariant mass;inv mass;entries", 500, 2.0, 3.1)}; From 301059fc1ccfd29b1c1c84f3302c05d5ae6125d5 Mon Sep 17 00:00:00 2001 From: FDUEnrich <23210190047@m.fudan.edu.cn> Date: Sun, 12 Oct 2025 19:31:44 +0200 Subject: [PATCH 5/6] Update candidateSelectorOmegac0Xic0ToOmegaKa.cxx --- PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx index cd2354c8b81..a1d50efbbea 100644 --- a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx +++ b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx @@ -713,5 +713,5 @@ struct HfCandidateSelectorOmegac0Xic0ToOmegaKa { WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) { return WorkflowSpec{ - adaptAnalysisTask(cfgc)}; + adaptAnalysisTask(cfgc)}; } From 774d6d5db70a29408a8548f4fc3d7afdbdbf4ff9 Mon Sep 17 00:00:00 2001 From: FDUEnrich <23210190047@m.fudan.edu.cn> Date: Tue, 14 Oct 2025 13:00:08 +0200 Subject: [PATCH 6/6] Update candidateSelectorOmegac0Xic0ToOmegaKa.cxx --- PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx index a1d50efbbea..6e716cb1c91 100644 --- a/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx +++ b/PWGHF/TableProducer/candidateSelectorOmegac0Xic0ToOmegaKa.cxx @@ -9,8 +9,8 @@ // granted to it by virtue of its status as an Intergovernmental Organization // or submit itself to any jurisdiction. -/// \file candidateSelectorOmegaKa0Xic0ToOmegaKa.cxx -/// \brief OmegaKa0 Xic0 → Omega Ka selection task +/// \file candidateSelectorOmegac0Xic0ToOmegaKa.cxx +/// \brief Omegac0 Xic0 → Omega Ka selection task /// \author Federica Zanone , Heidelberg University /// \author Ruiqi Yin , Fudan University