From 4cf1253ac61db7d47bebf823d8c266d60d5b5c78 Mon Sep 17 00:00:00 2001 From: Prottay Das Date: Tue, 12 Aug 2025 21:10:25 +0200 Subject: [PATCH 1/2] filled topological distributions --- PWGLF/Tasks/Strangeness/lambdapolsp.cxx | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/PWGLF/Tasks/Strangeness/lambdapolsp.cxx b/PWGLF/Tasks/Strangeness/lambdapolsp.cxx index 105fc94bbc7..dd0505d9edc 100644 --- a/PWGLF/Tasks/Strangeness/lambdapolsp.cxx +++ b/PWGLF/Tasks/Strangeness/lambdapolsp.cxx @@ -199,6 +199,14 @@ struct lambdapolsp { Configurable nMix{"nMix", 5, "number of event mixing"}; } meGrp; + struct : ConfigurableGroup { + ConfigurableAxis axisCosine{"axisCosine", {100, 0, 1}, "cosine axis"}; + ConfigurableAxis axisRadius{"axisRadius", {200, 0, 100}, "radius axis"}; + ConfigurableAxis axisDca{"axisDca", {100, -5, 5}, "dca axis"}; + ConfigurableAxis axisLT{"axisLT", {50, 0, 50}, "lifetime axis"}; + Configurable filldist{"filldist", true, "fill topo distr"}; + } distGrp; + RCTFlagsChecker rctChecker; SliceCache cache; @@ -388,6 +396,17 @@ struct lambdapolsp { // histos.add("hSparseAntiLambda_corr2b", "hSparseAntiLambda_corr2b", HistType::kTHnSparseF, runaxes, true); } + if (distGrp.filldist) { + histos.add("hcosine", "hcosine", HistType::kTH1D, {distGrp.axisCosine}, true); + histos.add("hdcabwv0daugh", "hdcabwv0daugh", HistType::kTH1D, {distGrp.axisDca}, true); + histos.add("hlifetime", "hlifetime", HistType::kTH1D, {distGrp.axisLT}, true); + histos.add("hradius", "hradius", HistType::kTH1D, {distGrp.axisRadius}, true); + histos.add("hdcaposlambda", "hdcaposlambda", HistType::kTH1D, {distGrp.axisDca}, true); + histos.add("hdcaneglambda", "hdcaneglambda", HistType::kTH1D, {distGrp.axisDca}, true); + histos.add("hdcaposantilambda", "hdcaposantilambda", HistType::kTH1D, {distGrp.axisDca}, true); + histos.add("hdcanegantilambda", "hdcanegantilambda", HistType::kTH1D, {distGrp.axisDca}, true); + } + ccdb->setURL(cfgCcdbParam.cfgURL); ccdbApi.init("http://alice-ccdb.cern.ch"); ccdb->setCaching(true); @@ -1132,12 +1151,23 @@ struct lambdapolsp { } } } else { + if (distGrp.filldist) { + histos.fill(HIST("hcosine"), v0.v0cosPA()); + histos.fill(HIST("hdcabwv0daugh"), v0.dcaV0daughters()); + histos.fill(HIST("hlifetime"), TMath::Abs(v0.distovertotmom(collision.posX(), collision.posY(), collision.posZ()) * massLambda)); + histos.fill(HIST("hradius"), v0.v0radius()); + } + if (LambdaTag) { Lambda = Proton + AntiPion; tagb = 0; int binx = accprofileL->GetXaxis()->FindBin(v0.eta()); int biny = accprofileL->GetYaxis()->FindBin(v0.pt()); double acvalue = accprofileL->GetBinContent(binx, biny); + if (distGrp.filldist) { + histos.fill(HIST("hdcaposlambda"), v0.dcapostopv()); + histos.fill(HIST("hdcaneglambda"), v0.dcanegtopv()); + } fillHistograms(taga, tagb, Lambda, Proton, psiZDCC, psiZDCA, psiZDC, centrality, v0.mLambda(), v0.pt(), v0.eta(), acvalue, 1.0); } @@ -1148,6 +1178,10 @@ struct lambdapolsp { int binx = accprofileAL->GetXaxis()->FindBin(v0.eta()); int biny = accprofileAL->GetYaxis()->FindBin(v0.pt()); double acvalue = accprofileAL->GetBinContent(binx, biny); + if (distGrp.filldist) { + histos.fill(HIST("hdcaposantilambda"), v0.dcapostopv()); + histos.fill(HIST("hdcanegantilambda"), v0.dcanegtopv()); + } fillHistograms(taga, tagb, AntiLambda, AntiProton, psiZDCC, psiZDCA, psiZDC, centrality, v0.mAntiLambda(), v0.pt(), v0.eta(), acvalue, wgtvalue); } } @@ -1357,6 +1391,7 @@ struct lambdapolsp { Lambda = Proton + AntiPion; tagb = 0; double acvalue = 1.0; + histos.fill(HIST("hpRes"), centrality, (TMath::Cos(GetPhiInRange(psiZDCA - psiZDCC)))); fillHistograms(taga, tagb, Lambda, Proton, psiZDCC, psiZDCA, psiZDC, centrality, v0.mLambda(), v0.pt(), desbinvalue, acvalue, 1.0); } From 75e1a6cdf502920a961063fe17598f83b6aba37d Mon Sep 17 00:00:00 2001 From: Prottay Das Date: Tue, 12 Aug 2025 21:14:13 +0200 Subject: [PATCH 2/2] corrected --- PWGLF/Tasks/Strangeness/lambdapolsp.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/PWGLF/Tasks/Strangeness/lambdapolsp.cxx b/PWGLF/Tasks/Strangeness/lambdapolsp.cxx index dd0505d9edc..492f71e8d7d 100644 --- a/PWGLF/Tasks/Strangeness/lambdapolsp.cxx +++ b/PWGLF/Tasks/Strangeness/lambdapolsp.cxx @@ -1391,7 +1391,6 @@ struct lambdapolsp { Lambda = Proton + AntiPion; tagb = 0; double acvalue = 1.0; - histos.fill(HIST("hpRes"), centrality, (TMath::Cos(GetPhiInRange(psiZDCA - psiZDCC)))); fillHistograms(taga, tagb, Lambda, Proton, psiZDCC, psiZDCA, psiZDC, centrality, v0.mLambda(), v0.pt(), desbinvalue, acvalue, 1.0); }