@@ -151,6 +151,7 @@ struct FlowEseTask {
151151 Configurable<std::string> cfgAccCorPath{" cfgAccCorPath" , " " , " path for pseudo acceptance correction" };
152152
153153 struct : ConfigurableGroup {
154+ Configurable<double > cfgGfwEtaGap{" cfgGfwEtaGap" , 0.3 , " Full eta gap between the GFW subevents for v2 and v3" };
154155 Configurable<bool > cfgGfwEffCor{" cfgGfwEffCor" , false , " flag to apply charged-track efficiency correction for EP and GFW" };
155156 Configurable<std::string> cfgGfwEffCorPath{" cfgGfwEffCorPath" , " " , " CCDB path to charged-track efficiency correction for EP and GFW" };
156157 Configurable<bool > cfgGfwAccCor{" cfgGfwAccCor" , false , " flag to apply charged-track acceptance correction for EP and GFW" };
@@ -595,10 +596,11 @@ struct FlowEseTask {
595596 fMultPVCutHigh ->SetParameters (2834.66 , -87.0127 , 0.915126 , -0.00330136 , 332.513 , -12.3476 , 0.251663 , -0.00272819 , 1.12242e-05 );
596597
597598 const int nPtBins = histos.get <TProfile2D>(HIST (" psi2/h_PoiN03Gap22" ))->GetXaxis ()->GetNbins ();
598- gfwState.fGFW ->AddRegion (" refN03" , -0.8 , -0.15 , 1 , GFWRefMask);
599- gfwState.fGFW ->AddRegion (" refP03" , 0.15 , 0.8 , 1 , GFWRefMask);
600- gfwState.fGFW ->AddRegion (" poiN03" , -0.8 , -0.15 , nPtBins + 1 , GFWPoiMask);
601- gfwState.fGFW ->AddRegion (" poiP03" , 0.15 , 0.8 , nPtBins + 1 , GFWPoiMask);
599+ const double halfEtaGap = cfgGfwParam.cfgGfwEtaGap .value / 2.0 ;
600+ gfwState.fGFW ->AddRegion (" refN03" , -0.8 , -halfEtaGap, 1 , GFWRefMask);
601+ gfwState.fGFW ->AddRegion (" refP03" , halfEtaGap, 0.8 , 1 , GFWRefMask);
602+ gfwState.fGFW ->AddRegion (" poiN03" , -0.8 , -halfEtaGap, nPtBins + 1 , GFWPoiMask);
603+ gfwState.fGFW ->AddRegion (" poiP03" , halfEtaGap, 0.8 , nPtBins + 1 , GFWPoiMask);
602604
603605 gfwState.corrRef22 = gfwState.fGFW ->GetCorrelatorConfig (" refN03 {2} refP03 {-2}" , " Ref03Gap22" , false );
604606 gfwState.corrPoiN22 = gfwState.fGFW ->GetCorrelatorConfig (" poiN03 {2} refP03 {-2}" , " PoiN03Gap22" , true );
0 commit comments