From 194a8cb52b0e0dd788e2d43838e158c108110cab Mon Sep 17 00:00:00 2001 From: gengjiabin12 <997406694@qq.com> Date: Thu, 9 Apr 2026 21:54:29 +0800 Subject: [PATCH 1/3] Add files via upload --- .../Strangeness/hStrangeCorrelationFilter.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx b/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx index f944b37749a..6ed897dedce 100644 --- a/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx +++ b/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx @@ -79,8 +79,11 @@ struct HStrangeCorrelationFilter { Configurable zVertexCut{"zVertexCut", 10, "Cut on PV position"}; Configurable selectINELgtZERO{"selectINELgtZERO", true, "select INEL>0 events"}; Configurable requireAllGoodITSLayers{"requireAllGoodITSLayers", false, " require that in the event all ITS are good"}; + Configurable requireGoodTriggerTVX{"requireGoodTriggerTVX", false, " require acceptable FT0C-FT0A time difference"}; + Configurable requireGoodZvtxFT0vsPV{"requireGoodZvtxFT0vsPV", false, " require small difference between z-vertex from PV and from FT0"}; Configurable minCentPercent{"minCentPercent", 0, "minimum centrality percentage"}; Configurable maxCentPercent{"maxCentPercent", 100, "maximum centrality percentage"}; + Configurable applyNewMCSelection{"applyNewMCSelection", false, "apply new MC Generated selection"}; } eventSelections; struct : ConfigurableGroup { @@ -366,11 +369,11 @@ struct HStrangeCorrelationFilter { template bool isCollisionSelectedPbPb(TCollision collision) { - if (!collision.selection_bit(aod::evsel::kIsTriggerTVX)) /* FT0 vertex (acceptable FT0C-FT0A time difference) collisions */ + if (!collision.selection_bit(aod::evsel::kIsTriggerTVX) && eventSelections.requireGoodTriggerTVX) /* FT0 vertex (acceptable FT0C-FT0A time difference) collisions */ return false; - if (!collision.selection_bit(o2::aod::evsel::kIsGoodITSLayersAll)) // cut time intervals with dead ITS staves + if (!collision.selection_bit(o2::aod::evsel::kIsGoodITSLayersAll) && eventSelections.requireAllGoodITSLayers) // cut time intervals with dead ITS staves return false; - if (!collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) // removes collisions with large differences between z of PV by tracks and z of PV from FT0 A-C time difference + if (!collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV) && eventSelections.requireGoodZvtxFT0vsPV) // removes collisions with large differences between z of PV by tracks and z of PV from FT0 A-C time difference return false; auto occupancy = collision.trackOccupancyInTimeRange(); if (occupancy < cfgCutOccupancyLow || occupancy > cfgCutOccupancyHigh) /* Below min occupancy and Above max occupancy*/ From 8ed3de70b5efb230848f93f45c900f99c96aa650 Mon Sep 17 00:00:00 2001 From: gengjiabin12 <997406694@qq.com> Date: Thu, 9 Apr 2026 21:57:23 +0800 Subject: [PATCH 2/3] Add files via upload From 9e3a9c6b1c7643d1097e01d5be37e71818445cad Mon Sep 17 00:00:00 2001 From: gengjiabin12 <997406694@qq.com> Date: Thu, 9 Apr 2026 21:59:16 +0800 Subject: [PATCH 3/3] Add files via upload --- PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx b/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx index 6ed897dedce..8e10eeefa21 100644 --- a/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx +++ b/PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx @@ -83,7 +83,6 @@ struct HStrangeCorrelationFilter { Configurable requireGoodZvtxFT0vsPV{"requireGoodZvtxFT0vsPV", false, " require small difference between z-vertex from PV and from FT0"}; Configurable minCentPercent{"minCentPercent", 0, "minimum centrality percentage"}; Configurable maxCentPercent{"maxCentPercent", 100, "maximum centrality percentage"}; - Configurable applyNewMCSelection{"applyNewMCSelection", false, "apply new MC Generated selection"}; } eventSelections; struct : ConfigurableGroup {