From 3ced7deae069ad76132c6eccf6d0d69dcf9437c1 Mon Sep 17 00:00:00 2001 From: Shiqi Wang <3326561594@qq.com> Date: Mon, 16 Nov 2026 16:33:00 +0800 Subject: [PATCH] Make the GFW eta gap configurable for v2 and v3 --- PWGCF/Flow/Tasks/flowEseTask.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/PWGCF/Flow/Tasks/flowEseTask.cxx b/PWGCF/Flow/Tasks/flowEseTask.cxx index 28631fa125d..981fdc531b3 100644 --- a/PWGCF/Flow/Tasks/flowEseTask.cxx +++ b/PWGCF/Flow/Tasks/flowEseTask.cxx @@ -151,6 +151,7 @@ struct FlowEseTask { Configurable cfgAccCorPath{"cfgAccCorPath", "", "path for pseudo acceptance correction"}; struct : ConfigurableGroup { + Configurable cfgGfwEtaGap{"cfgGfwEtaGap", 0.3, "Full eta gap between the GFW subevents for v2 and v3"}; Configurable cfgGfwEffCor{"cfgGfwEffCor", false, "flag to apply charged-track efficiency correction for EP and GFW"}; Configurable cfgGfwEffCorPath{"cfgGfwEffCorPath", "", "CCDB path to charged-track efficiency correction for EP and GFW"}; Configurable cfgGfwAccCor{"cfgGfwAccCor", false, "flag to apply charged-track acceptance correction for EP and GFW"}; @@ -595,10 +596,11 @@ struct FlowEseTask { fMultPVCutHigh->SetParameters(2834.66, -87.0127, 0.915126, -0.00330136, 332.513, -12.3476, 0.251663, -0.00272819, 1.12242e-05); const int nPtBins = histos.get(HIST("psi2/h_PoiN03Gap22"))->GetXaxis()->GetNbins(); - gfwState.fGFW->AddRegion("refN03", -0.8, -0.15, 1, GFWRefMask); - gfwState.fGFW->AddRegion("refP03", 0.15, 0.8, 1, GFWRefMask); - gfwState.fGFW->AddRegion("poiN03", -0.8, -0.15, nPtBins + 1, GFWPoiMask); - gfwState.fGFW->AddRegion("poiP03", 0.15, 0.8, nPtBins + 1, GFWPoiMask); + const double halfEtaGap = cfgGfwParam.cfgGfwEtaGap.value / 2.0; + gfwState.fGFW->AddRegion("refN03", -0.8, -halfEtaGap, 1, GFWRefMask); + gfwState.fGFW->AddRegion("refP03", halfEtaGap, 0.8, 1, GFWRefMask); + gfwState.fGFW->AddRegion("poiN03", -0.8, -halfEtaGap, nPtBins + 1, GFWPoiMask); + gfwState.fGFW->AddRegion("poiP03", halfEtaGap, 0.8, nPtBins + 1, GFWPoiMask); gfwState.corrRef22 = gfwState.fGFW->GetCorrelatorConfig("refN03 {2} refP03 {-2}", "Ref03Gap22", false); gfwState.corrPoiN22 = gfwState.fGFW->GetCorrelatorConfig("poiN03 {2} refP03 {-2}", "PoiN03Gap22", true);