From d5ba34f84079932385188411c063ad473e6dcc39 Mon Sep 17 00:00:00 2001 From: murioni Date: Fri, 21 Aug 2026 11:53:19 +0200 Subject: [PATCH 1/2] adding anchorCol and anchorBC centrality estimator getters --- .../GlobalEventProperties/heavyionMultiplicity.cxx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx b/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx index 4f77fdf1043..677bf50fff9 100644 --- a/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx +++ b/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx @@ -56,12 +56,12 @@ using namespace o2::framework::expressions; using namespace o2::aod::track; using namespace o2::aod::evsel; -using CollisionDataTable = soa::Join; +using CollisionDataTable = soa::Join; using TrackDataTable = soa::Join; using FilTrackDataTable = soa::Filtered; using CollisionMCTrueTable = aod::McCollisions; using TrackMCTrueTable = aod::McParticles; -using CollisionMCRecTable = soa::SmallGroups>; +using CollisionMCRecTable = soa::SmallGroups>; using TrackMCRecTable = soa::Join; using FilTrackMCRecTable = soa::Filtered; using V0TrackCandidates = soa::Join; @@ -207,6 +207,9 @@ struct HeavyionMultiplicity { Configurable isApplyCentFT0CVariant1{"isApplyCentFT0CVariant1", false, "Centrality based on FT0C variant1"}; Configurable isApplyCentFT0CVariant2{"isApplyCentFT0CVariant2", false, "Centrality based on FT0C variant2 (Run2 like truncation)"}; Configurable isApplyCentFT0M{"isApplyCentFT0M", false, "Centrality based on FT0A + FT0C"}; + Configurable isApplyCentFT0MAnchorCol{"isApplyCentFT0MAnchorCol", false, "Centrality collision based, with anchor point"}; + Configurable isApplyCentFT0MAnchorBC {"isApplyCentFT0MAnchorBC", false, "Centrality bunch crossing based"}; + Configurable isApplyCentNGlobal{"isApplyCentNGlobal", false, "Centrality based on global tracks"}; Configurable isApplyCentMFT{"isApplyCentMFT", false, "Centrality based on MFT tracks"}; Configurable isApplyTVX{"isApplyTVX", false, "Enable TVX trigger sel"}; @@ -470,6 +473,12 @@ struct HeavyionMultiplicity { if (isApplyCentFT0M) { cent = col.centFT0M(); } + if (isApplyCentFT0MAnchorCol) { + cent = col.centFT0MAnchorCol(); + } + if (isApplyCentFT0MAnchorBC) { + cent = col.centFT0MAnchorBC(); + } if (isApplyCentNGlobal) { cent = col.centNGlobal(); } From f523403b7544683888120075684bca3ef263fc87 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 21 Aug 2026 10:00:05 +0000 Subject: [PATCH 2/2] Please consider the following formatting changes --- PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx b/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx index 677bf50fff9..2e980905565 100644 --- a/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx +++ b/PWGLF/Tasks/GlobalEventProperties/heavyionMultiplicity.cxx @@ -208,8 +208,8 @@ struct HeavyionMultiplicity { Configurable isApplyCentFT0CVariant2{"isApplyCentFT0CVariant2", false, "Centrality based on FT0C variant2 (Run2 like truncation)"}; Configurable isApplyCentFT0M{"isApplyCentFT0M", false, "Centrality based on FT0A + FT0C"}; Configurable isApplyCentFT0MAnchorCol{"isApplyCentFT0MAnchorCol", false, "Centrality collision based, with anchor point"}; - Configurable isApplyCentFT0MAnchorBC {"isApplyCentFT0MAnchorBC", false, "Centrality bunch crossing based"}; - + Configurable isApplyCentFT0MAnchorBC{"isApplyCentFT0MAnchorBC", false, "Centrality bunch crossing based"}; + Configurable isApplyCentNGlobal{"isApplyCentNGlobal", false, "Centrality based on global tracks"}; Configurable isApplyCentMFT{"isApplyCentMFT", false, "Centrality based on MFT tracks"}; Configurable isApplyTVX{"isApplyTVX", false, "Enable TVX trigger sel"};