@@ -89,6 +89,7 @@ struct FlowZdcTask {
8989 Configurable<bool > isOccupancyCut{" isOccupancyCut" , false , " Occupancy cut?" };
9090 Configurable<bool > isApplyFT0CbasedOccupancy{" isApplyFT0CbasedOccupancy" , false , " T0C Occu cut?" };
9191 Configurable<bool > isTDCcut{" isTDCcut" , false , " Use TDC cut?" };
92+ Configurable<bool > isApplyRadialCut{" isApplyRadialCut" , false , " Use cut on X and Y?" };
9293 Configurable<bool > useMidRapNchSel{" useMidRapNchSel" , false , " Use mid-rapidity Nch selection" };
9394
9495 Configurable<float > nSigmaNchCut{" nSigmaNchCut" , 1 ., " nSigma Nch selection" };
@@ -106,6 +107,8 @@ struct FlowZdcTask {
106107 ConfigurableAxis axisCent{" axisCent" , {10 , 0 , 100 }, " axisCent" };
107108 ConfigurableAxis binsPt{" binsPt" , {VARIABLE_WIDTH, 0.0 , 0.1 , 0.12 }, " pT binning" };
108109 Configurable<float > posZcut{" posZcut" , +10.0 , " z-vertex position cut" };
110+ Configurable<float > posYcut{" posYcut" , +10.0 , " y-vertex position cut" };
111+ Configurable<float > posXcut{" posXcut" , +10.0 , " x-vertex position cut" };
109112 Configurable<float > minEta{" minEta" , -0.8 , " minimum eta" };
110113 Configurable<float > maxEta{" maxEta" , +0.8 , " maximum eta" };
111114 Configurable<float > minT0CcentCut{" minT0CcentCut" , 0.0 , " Min T0C Cent. cut" };
@@ -399,6 +402,10 @@ struct FlowZdcTask {
399402 return false ;
400403 }
401404 histos.fill (HIST (" hEventCounter" ), EvCutLabel::VtxZ);
405+ if (isApplyRadialCut) {
406+ if (std::fabs (col.posX ()) > posXcut && (std::fabs (col.posY ()) > posYcut))
407+ return false ;
408+ }
402409
403410 return true ;
404411 }
0 commit comments