From c655d2cf4bda65d491aac8840c2097152bdbf332 Mon Sep 17 00:00:00 2001 From: Prottay Das Date: Tue, 14 Jul 2026 15:38:58 +0200 Subject: [PATCH 1/2] added vzvstime and additional step of rec with updated deno of v1 --- PWGLF/TableProducer/Common/spvector.cxx | 205 +++++++++++++++++++++++- PWGLF/Tasks/Strangeness/lambdapolsp.cxx | 55 +++++++ 2 files changed, 257 insertions(+), 3 deletions(-) diff --git a/PWGLF/TableProducer/Common/spvector.cxx b/PWGLF/TableProducer/Common/spvector.cxx index c6873010efa..b5924c13127 100644 --- a/PWGLF/TableProducer/Common/spvector.cxx +++ b/PWGLF/TableProducer/Common/spvector.cxx @@ -185,32 +185,45 @@ struct spvector { Configurable finecent3{"finecent3", false, "Apply fine centrality recentering, stage 3"}; Configurable finecent4{"finecent4", false, "Apply fine centrality recentering, stage 4"}; Configurable finecent5{"finecent5", false, "Apply fine centrality recentering, stage 5"}; + Configurable finecent6{"finecent6", false, "Apply fine centrality recentering, stage 6"}; Configurable finecentvx1{"finecentvx1", false, "Apply fine (cent,Vx) recentering, stage 1"}; Configurable finecentvx2{"finecentvx2", false, "Apply fine (cent,Vx) recentering, stage 2"}; Configurable finecentvx3{"finecentvx3", false, "Apply fine (cent,Vx) recentering, stage 3"}; Configurable finecentvx4{"finecentvx4", false, "Apply fine (cent,Vx) recentering, stage 4"}; Configurable finecentvx5{"finecentvx5", false, "Apply fine (cent,Vx) recentering, stage 5"}; + Configurable finecentvx6{"finecentvx6", false, "Apply fine (cent,Vx) recentering, stage 6"}; Configurable finecentvy1{"finecentvy1", false, "Apply fine (cent,Vy) recentering, stage 1"}; Configurable finecentvy2{"finecentvy2", false, "Apply fine (cent,Vy) recentering, stage 2"}; Configurable finecentvy3{"finecentvy3", false, "Apply fine (cent,Vy) recentering, stage 3"}; Configurable finecentvy4{"finecentvy4", false, "Apply fine (cent,Vy) recentering, stage 4"}; Configurable finecentvy5{"finecentvy5", false, "Apply fine (cent,Vy) recentering, stage 5"}; + Configurable finecentvy6{"finecentvy6", false, "Apply fine (cent,Vy) recentering, stage 6"}; Configurable finecentvz1{"finecentvz1", false, "Apply fine (cent,Vz) recentering, stage 1"}; Configurable finecentvz2{"finecentvz2", false, "Apply fine (cent,Vz) recentering, stage 2"}; Configurable finecentvz3{"finecentvz3", false, "Apply fine (cent,Vz) recentering, stage 3"}; Configurable finecentvz4{"finecentvz4", false, "Apply fine (cent,Vz) recentering, stage 4"}; Configurable finecentvz5{"finecentvz5", false, "Apply fine (cent,Vz) recentering, stage 5"}; + Configurable finecentvz6{"finecentvz6", false, "Apply fine (cent,Vz) recentering, cycle 6"}; + + Configurable finevztime1{"finevztime1", false, "Apply fine (Vz,time) recentering, cycle 1"}; + Configurable finevztime2{"finevztime2", false, "Apply fine (Vz,time) recentering, cycle 2"}; + Configurable finevztime3{"finevztime3", false, "Apply fine (Vz,time) recentering, cycle 3"}; + Configurable finevztime4{"finevztime4", false, "Apply fine (Vz,time) recentering, cycle 4"}; + Configurable finevztime5{"finevztime5", false, "Apply fine (Vz,time) recentering, cycle 5"}; + Configurable useRecenterefinecentSp{"useRecenterefinecentSp", false, "use finecent Recentering with THn"}; Configurable useRecenterefinecentvxvyvzSp{"useRecenterefinecentvxvyvzSp", false, "use finecentvxvyvz Recentering with THn"}; + Configurable useRecenterefinevztimeSp{"useRecenterefinevztimeSp", false, "use fine (Vz,time) recentering with TH3F"}; Configurable confRecentereCentSp{"confRecentereCentSp", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for cent recentering"}; Configurable confRecentereCentSp2{"confRecentereCentSp2", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for cent recentering 2"}; Configurable confRecentereCentSp3{"confRecentereCentSp3", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for cent recentering 3"}; Configurable confRecentereCentSp4{"confRecentereCentSp4", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for cent recentering 4"}; Configurable confRecentereCentSp5{"confRecentereCentSp5", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for cent recentering 5"}; + Configurable confRecentereCentSp6{"confRecentereCentSp6", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for cent recentering 6"}; Configurable confRecentereCentVxSp{"confRecentereCentVxSp", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for centvx recentering"}; Configurable confRecentereCentVySp{"confRecentereCentVySp", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for centvy recentering"}; Configurable confRecentereCentVzSp{"confRecentereCentVzSp", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for centvz recentering"}; @@ -226,6 +239,14 @@ struct spvector { Configurable confRecentereCentVxSp5{"confRecentereCentVxSp5", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for centvx5 recentering"}; Configurable confRecentereCentVySp5{"confRecentereCentVySp5", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for centvy5 recentering"}; Configurable confRecentereCentVzSp5{"confRecentereCentVzSp5", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for centvz5 recentering"}; + Configurable confRecentereCentVxSp6{"confRecentereCentVxSp6", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for centvx6 recentering"}; + Configurable confRecentereCentVySp6{"confRecentereCentVySp6", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for centvy6 recentering"}; + Configurable confRecentereCentVzSp6{"confRecentereCentVzSp6", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "Sparse or THn path for centvz6 recentering"}; + Configurable confRecentereVzTimeSp{"confRecentereVzTimeSp", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "TH3F path for (Vz,time) recentering, cycle 1"}; + Configurable confRecentereVzTimeSp2{"confRecentereVzTimeSp2", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "TH3F path for (Vz,time) recentering, cycle 2"}; + Configurable confRecentereVzTimeSp3{"confRecentereVzTimeSp3", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "TH3F path for (Vz,time) recentering, cycle 3"}; + Configurable confRecentereVzTimeSp4{"confRecentereVzTimeSp4", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "TH3F path for (Vz,time) recentering, cycle 4"}; + Configurable confRecentereVzTimeSp5{"confRecentereVzTimeSp5", "Users/p/prottay/My/Object/Testingwithsparse/NewPbPbpass4_17092024/recenter", "TH3F path for (Vz,time) recentering, cycle 5"}; } confignewpro; struct : ConfigurableGroup { @@ -393,6 +414,54 @@ struct spvector { "V_{y};V_{x} (cm);", kTProfile2D, {vyfineAxis, vxfineAxis}); + + histos.add("pQxZDCAvsCentTimeAfter", + " after recentering;" + "centrality (%);Time (min);", + kTProfile2D, + {centfineAxis, timefineAxis}); + + histos.add("pQyZDCAvsCentTimeAfter", + " after recentering;" + "centrality (%);Time (min);", + kTProfile2D, + {centfineAxis, timefineAxis}); + + histos.add("pQxZDCCvsCentTimeAfter", + " after recentering;" + "centrality (%);Time (min);", + kTProfile2D, + {centfineAxis, timefineAxis}); + + histos.add("pQyZDCCvsCentTimeAfter", + " after recentering;" + "centrality (%);Time (min);", + kTProfile2D, + {centfineAxis, timefineAxis}); + + histos.add("pQxZDCAvsVzTimeAfter", + " after recentering;" + "vz (cm);Time (min);", + kTProfile2D, + {vzfineAxis, timefineAxis}); + + histos.add("pQyZDCAvsVzTimeAfter", + " after recentering;" + "vz (cm);Time (min);", + kTProfile2D, + {vzfineAxis, timefineAxis}); + + histos.add("pQxZDCCvsVzTimeAfter", + " after recentering;" + "vz (cm);Time (min);", + kTProfile2D, + {vzfineAxis, timefineAxis}); + + histos.add("pQyZDCCvsVzTimeAfter", + " after recentering;" + "vz (cm);Time (min);", + kTProfile2D, + {vzfineAxis, timefineAxis}); } histos.add("PsiZDCC", "PsiZDCC", kTH2F, {centfineAxis, phiAxis}); @@ -430,9 +499,10 @@ struct spvector { TH2F* hrecentereTimeSp2 = nullptr; TH2F* hrecentereTimeSp3 = nullptr; // One payload for each of the five iterations. - std::array hrecenterecentvxSpA{}; - std::array hrecenterecentvySpA{}; - std::array hrecenterecentvzSpA{}; + std::array hrecenterecentvxSpA{}; + std::array hrecenterecentvySpA{}; + std::array hrecenterecentvzSpA{}; + std::array hrecenterevztimeSpA{}; bool CorrectfineCent(TH2F* hrecenterecentSp, auto centrality, @@ -653,6 +723,44 @@ struct spvector { return true; } + bool CorrectfineVzTime(TH3F* hrecenterevstimeSp, + auto vz, + auto timeMin, + auto& qxZDCA, + auto& qyZDCA, + auto& qxZDCC, + auto& qyZDCC) + { + if (!hrecenterevstimeSp) { + return false; + } + + // Payload axes: + // X = Vz + // Y = time from run start + // Z = component + // component channels: + // 0.5 = Qx ZNA + // 1.5 = Qy ZNA + // 2.5 = Qx ZNC + // 3.5 = Qy ZNC + const double meanxAvstime = hrecenterevstimeSp->GetBinContent( + hrecenterevstimeSp->FindBin(vz + 0.00001, timeMin + 0.00001, 0.5)); + const double meanyAvstime = hrecenterevstimeSp->GetBinContent( + hrecenterevstimeSp->FindBin(vz + 0.00001, timeMin + 0.00001, 1.5)); + const double meanxCvstime = hrecenterevstimeSp->GetBinContent( + hrecenterevstimeSp->FindBin(vz + 0.00001, timeMin + 0.00001, 2.5)); + const double meanyCvstime = hrecenterevstimeSp->GetBinContent( + hrecenterevstimeSp->FindBin(vz + 0.00001, timeMin + 0.00001, 3.5)); + + qxZDCA -= meanxAvstime; + qyZDCA -= meanyAvstime; + qxZDCC -= meanxCvstime; + qyZDCC -= meanyCvstime; + + return true; + } + using BCsRun3 = soa::Join; using MyCollisions = soa::Join; Preslice zdcPerCollision = aod::collision::bcId; @@ -1042,6 +1150,16 @@ struct spvector { } } + if (confignewpro.finevztime1) { + if (confignewpro.useRecenterefinevztimeSp && + (currentRunNumber != lastRunNumber || !hrecenterevztimeSpA[0])) { + hrecenterevztimeSpA[0] = ccdb->getForTimeStamp(confignewpro.confRecentereVzTimeSp.value, bc.timestamp()); + } + if (!CorrectfineVzTime(hrecenterevztimeSpA[0], vz, timeMin, qxZDCA, qyZDCA, qxZDCC, qyZDCC)) { + LOGF(fatal, "Cannot apply fine (Vz, time) recentering, stage 1"); + } + } + // -------------------- Stage 2 -------------------- if (confignewpro.finecent2) { if (confignewpro.useRecenterefinecentSp && @@ -1083,6 +1201,16 @@ struct spvector { } } + if (confignewpro.finevztime2) { + if (confignewpro.useRecenterefinevztimeSp && + (currentRunNumber != lastRunNumber || !hrecenterevztimeSpA[1])) { + hrecenterevztimeSpA[1] = ccdb->getForTimeStamp(confignewpro.confRecentereVzTimeSp2.value, bc.timestamp()); + } + if (!CorrectfineVzTime(hrecenterevztimeSpA[1], vz, timeMin, qxZDCA, qyZDCA, qxZDCC, qyZDCC)) { + LOGF(fatal, "Cannot apply fine (Vz, time) recentering, stage 2"); + } + } + // -------------------- Stage 3 -------------------- if (confignewpro.finecent3) { if (confignewpro.useRecenterefinecentSp && @@ -1124,6 +1252,16 @@ struct spvector { } } + if (confignewpro.finevztime3) { + if (confignewpro.useRecenterefinevztimeSp && + (currentRunNumber != lastRunNumber || !hrecenterevztimeSpA[2])) { + hrecenterevztimeSpA[2] = ccdb->getForTimeStamp(confignewpro.confRecentereVzTimeSp3.value, bc.timestamp()); + } + if (!CorrectfineVzTime(hrecenterevztimeSpA[2], vz, timeMin, qxZDCA, qyZDCA, qxZDCC, qyZDCC)) { + LOGF(fatal, "Cannot apply fine (Vz, time) recentering, stage 3"); + } + } + // -------------------- Stage 4 -------------------- if (confignewpro.finecent4) { if (confignewpro.useRecenterefinecentSp && @@ -1165,6 +1303,16 @@ struct spvector { } } + if (confignewpro.finevztime4) { + if (confignewpro.useRecenterefinevztimeSp && + (currentRunNumber != lastRunNumber || !hrecenterevztimeSpA[3])) { + hrecenterevztimeSpA[3] = ccdb->getForTimeStamp(confignewpro.confRecentereVzTimeSp4.value, bc.timestamp()); + } + if (!CorrectfineVzTime(hrecenterevztimeSpA[3], vz, timeMin, qxZDCA, qyZDCA, qxZDCC, qyZDCC)) { + LOGF(fatal, "Cannot apply fine (Vz, time) recentering, stage 4"); + } + } + // -------------------- Stage 5 -------------------- if (confignewpro.finecent5) { if (confignewpro.useRecenterefinecentSp && @@ -1205,6 +1353,57 @@ struct spvector { LOGF(fatal, "Cannot apply fine (cent,Vz) recentering, stage 5"); } } + + if (confignewpro.finevztime5) { + if (confignewpro.useRecenterefinevztimeSp && + (currentRunNumber != lastRunNumber || !hrecenterevztimeSpA[4])) { + hrecenterevztimeSpA[4] = ccdb->getForTimeStamp(confignewpro.confRecentereVzTimeSp5.value, bc.timestamp()); + } + if (!CorrectfineVzTime(hrecenterevztimeSpA[4], vz, timeMin, qxZDCA, qyZDCA, qxZDCC, qyZDCC)) { + LOGF(fatal, "Cannot apply fine (Vz, time) recentering, stage 5"); + } + } + + // -------------------- Stage 6 -------------------- + if (confignewpro.finecent6) { + if (confignewpro.useRecenterefinecentSp && + (currentRunNumber != lastRunNumber || !hrecenterecentSpA[5])) { + hrecenterecentSpA[5] = ccdb->getForTimeStamp(confignewpro.confRecentereCentSp6.value, bc.timestamp()); + } + if (!CorrectfineCent(hrecenterecentSpA[5], centrality, qxZDCA, qyZDCA, qxZDCC, qyZDCC)) { + LOGF(fatal, "Cannot apply fine centrality recentering, stage 6"); + } + } + + if (confignewpro.finecentvx6) { + if (confignewpro.useRecenterefinecentvxvyvzSp && + (currentRunNumber != lastRunNumber || !hrecenterecentvxSpA[5])) { + hrecenterecentvxSpA[5] = ccdb->getForTimeStamp(confignewpro.confRecentereCentVxSp6.value, bc.timestamp()); + } + if (!CorrectfineCentVx(hrecenterecentvxSpA[5], centrality, vx, qxZDCA, qyZDCA, qxZDCC, qyZDCC)) { + LOGF(fatal, "Cannot apply fine (cent,Vx) recentering, stage 6"); + } + } + + if (confignewpro.finecentvy6) { + if (confignewpro.useRecenterefinecentvxvyvzSp && + (currentRunNumber != lastRunNumber || !hrecenterecentvySpA[5])) { + hrecenterecentvySpA[5] = ccdb->getForTimeStamp(confignewpro.confRecentereCentVySp6.value, bc.timestamp()); + } + if (!CorrectfineCentVy(hrecenterecentvySpA[5], centrality, vy, qxZDCA, qyZDCA, qxZDCC, qyZDCC)) { + LOGF(fatal, "Cannot apply fine (cent,Vy) recentering, stage 6"); + } + } + + if (confignewpro.finecentvz6) { + if (confignewpro.useRecenterefinecentvxvyvzSp && + (currentRunNumber != lastRunNumber || !hrecenterecentvzSpA[5])) { + hrecenterecentvzSpA[5] = ccdb->getForTimeStamp(confignewpro.confRecentereCentVzSp6.value, bc.timestamp()); + } + if (!CorrectfineCentVz(hrecenterecentvzSpA[5], centrality, vz, qxZDCA, qyZDCA, qxZDCC, qyZDCC)) { + LOGF(fatal, "Cannot apply fine (cent,Vz) recentering, stage 6"); + } + } } histos.fill(HIST("hpQxZDCAvstime"), timeMin, qxZDCA); diff --git a/PWGLF/Tasks/Strangeness/lambdapolsp.cxx b/PWGLF/Tasks/Strangeness/lambdapolsp.cxx index 3e0751bfce1..3ae2d64e167 100644 --- a/PWGLF/Tasks/Strangeness/lambdapolsp.cxx +++ b/PWGLF/Tasks/Strangeness/lambdapolsp.cxx @@ -310,6 +310,31 @@ struct lambdapolsp { histos.add("hpQxtvscent", "hpQxtvscent", HistType::kTHnSparseF, {axisGrp.configcentAxis, spAxis}, true); histos.add("hpQypvscent", "hpQypvscent", HistType::kTHnSparseF, {axisGrp.configcentAxis, spAxis}, true); histos.add("hpQytvscent", "hpQytvscent", HistType::kTHnSparseF, {axisGrp.configcentAxis, spAxis}, true); + + histos.add("hpQxtQxpvscentptetaTrack", + "QxZNAQxZNC track weighted;centrality;p_{T};#eta;Q_{x}^{ZNA}Q_{x}^{ZNC}", + kTHnSparseF, + {axisGrp.configcentAxis, axisGrp.configthnAxispT, axisGrp.configetaAxis, spAxis}); + + histos.add("hpQytQypvscentptetaTrack", + "QyZNAQyZNC track weighted;centrality;p_{T};#eta;Q_{y}^{ZNA}Q_{y}^{ZNC}", + kTHnSparseF, + {axisGrp.configcentAxis, axisGrp.configthnAxispT, axisGrp.configetaAxis, spAxis}); + + histos.add("hpQxytpvscentptetaTrack", + "QxQx + QyQy track weighted;centrality;p_{T};#eta;Q_{x}Q_{x}+Q_{y}Q_{y}", + kTHnSparseF, + {axisGrp.configcentAxis, axisGrp.configthnAxispT, axisGrp.configetaAxis, spAxis}); + + histos.add("hpQxpQytvscentptetaTrack", + "QxZNAQyZNC track weighted;centrality;p_{T};#eta;Q_{x}^{ZNA}Q_{y}^{ZNC}", + kTHnSparseF, + {axisGrp.configcentAxis, axisGrp.configthnAxispT, axisGrp.configetaAxis, spAxis}); + + histos.add("hpQxtQypvscentptetaTrack", + "QxZNCQyZNA track weighted;centrality;p_{T};#eta;Q_{x}^{ZNC}Q_{y}^{ZNA}", + kTHnSparseF, + {axisGrp.configcentAxis, axisGrp.configthnAxispT, axisGrp.configetaAxis, spAxis}); } else { histos.add("hpuxQxpvscentpteta", "hpuxQxpvscentpteta", HistType::kTHnSparseF, {axisGrp.configcentAxis, axisGrp.configthnAxispT, axisGrp.configetaAxis, spAxis}, true); histos.add("hpuyQypvscentpteta", "hpuyQypvscentpteta", HistType::kTHnSparseF, {axisGrp.configcentAxis, axisGrp.configthnAxispT, axisGrp.configetaAxis, spAxis}, true); @@ -1176,6 +1201,21 @@ struct lambdapolsp { histos.fill(HIST("hpuxyQxypvscentpteta"), centrality, track.pt(), track.eta(), uxyQxyp, wNUA); histos.fill(HIST("hpoddv1vscentpteta"), centrality, track.pt(), track.eta(), oddv1, wNUA); histos.fill(HIST("hpevenv1vscentpteta"), centrality, track.pt(), track.eta(), evenv1, wNUA); + + histos.fill(HIST("hpQxtQxpvscentptetaTrack"), + centrality, track.pt(), track.eta(), QxtQxp, wNUA); + + histos.fill(HIST("hpQytQypvscentptetaTrack"), + centrality, track.pt(), track.eta(), QytQyp, wNUA); + + histos.fill(HIST("hpQxytpvscentptetaTrack"), + centrality, track.pt(), track.eta(), Qxytp, wNUA); + + histos.fill(HIST("hpQxpQytvscentptetaTrack"), + centrality, track.pt(), track.eta(), QxpQyt, wNUA); + + histos.fill(HIST("hpQxtQypvscentptetaTrack"), + centrality, track.pt(), track.eta(), QxtQyp, wNUA); /* histos.fill(HIST("hpv21"), centrality, track.pt(), track.eta(), v21,wNUA); histos.fill(HIST("hpv22"), centrality, track.pt(), track.eta(), v22,wNUA); @@ -1231,6 +1271,21 @@ struct lambdapolsp { histos.fill(HIST("hpuxyQxypvscentpteta"), centrality, track.tpcInnerParam(), track.eta(), uxyQxyp, wNUA); histos.fill(HIST("hpoddv1vscentpteta"), centrality, track.pt(), track.eta(), oddv1, wNUA); histos.fill(HIST("hpevenv1vscentpteta"), centrality, track.pt(), track.eta(), evenv1, wNUA); + + histos.fill(HIST("hpQxtQxpvscentptetaTrack"), + centrality, track.pt(), track.eta(), QxtQxp, wNUA); + + histos.fill(HIST("hpQytQypvscentptetaTrack"), + centrality, track.pt(), track.eta(), QytQyp, wNUA); + + histos.fill(HIST("hpQxytpvscentptetaTrack"), + centrality, track.pt(), track.eta(), Qxytp, wNUA); + + histos.fill(HIST("hpQxpQytvscentptetaTrack"), + centrality, track.pt(), track.eta(), QxpQyt, wNUA); + + histos.fill(HIST("hpQxtQypvscentptetaTrack"), + centrality, track.pt(), track.eta(), QxtQyp, wNUA); } } } else { From 096adaa5be879d4737100e15ff3e86afba83223a Mon Sep 17 00:00:00 2001 From: Prottay Das Date: Tue, 14 Jul 2026 17:20:11 +0200 Subject: [PATCH 2/2] updated --- PWGLF/Tasks/Strangeness/lambdapolsp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PWGLF/Tasks/Strangeness/lambdapolsp.cxx b/PWGLF/Tasks/Strangeness/lambdapolsp.cxx index 3ae2d64e167..e1adcc15a24 100644 --- a/PWGLF/Tasks/Strangeness/lambdapolsp.cxx +++ b/PWGLF/Tasks/Strangeness/lambdapolsp.cxx @@ -1860,7 +1860,7 @@ struct lambdapolsp { { TRandom3 randGen(0); - for (auto& [collision1, collision2] : selfCombinations(colBinning, meGrp.nMix, -1, collisions, collisions)) { + for (const auto& [collision1, collision2] : selfCombinations(colBinning, meGrp.nMix, -1, collisions, collisions)) { if (collision1.index() == collision2.index()) { continue; @@ -1995,7 +1995,7 @@ struct lambdapolsp { { TRandom3 randGen(0); - for (auto& [collision1, collision2] : selfCombinations(colBinning, meGrp.nMix, -1, collisions, collisions)) { + for (const auto& [collision1, collision2] : selfCombinations(colBinning, meGrp.nMix, -1, collisions, collisions)) { if (collision1.index() == collision2.index()) { continue;