From 0e33aee6a74fb76300f2d0c3de61aaa63905ba87 Mon Sep 17 00:00:00 2001 From: Gyula Bencedi Date: Tue, 28 Jul 2026 13:05:31 +0200 Subject: [PATCH 1/2] Add flattenicity response --- PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx b/PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx index f1fa21206b1..e5d2a28476e 100644 --- a/PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx +++ b/PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx @@ -784,6 +784,8 @@ struct FlattenictyPikp { // Event loss registryMC.add("Events/hNchVsFlatGenINELgt0", "Gen Nch w/o Evt sel; Gen Nch (|#eta|<0.8); flat", {kTH2F, {nChAxis, flatAxis}}); registryMC.add("Events/hNchVsFlatGenINELgt0wRecEvtSel", "Gen Nch w/ Nrec > 0 + Evt sel; Gen Nch (|#eta|<0.8); flat", {kTH2F, {nChAxis, flatAxis}}); + // Response + registryMC.add("Events/hFlatResponse", "Flattenicity response; flat ture; flat measured", {kTH2F, {flatAxis, flatAxis}}); // Event split registryMC.add("Events/hCentVsFlatRecINELgt0", "Gen evt w/o Evt sel; mult; flat", {kTH2F, {multAxis, flatAxis}}); registryMC.add("Events/hCentVsFlatRecINELgt0wRecEvt", "Gen evt w/ Nrec > 0; mult; flat", {kTH2F, {multAxis, flatAxis}}); @@ -2410,6 +2412,7 @@ struct FlattenictyPikp { registryMC.fill(HIST("Events/hCentVsFlatRecINELgt0wRecEvtSel"), multRecGt1, flatRec); // Evt split num, w/ Nrec > 0 + Evt. sel registryMC.fill(HIST("Events/hNchGenVsCent"), multMC, multRecGt1); registryMC.fill(HIST("Events/hNchVsFlatGenINELgt0wRecEvtSel"), multMC, flatMC); // Evt loss num, w/ Nrec > 0 + Evt. sel + registryMC.fill(HIST("Events/hFlatResponse"), flatMC, flatRec); // Obtain here: Denominator of tracking efficiency; Numerator event and signal loss for (const auto& particle : particles) { From 778dce024239e1646a3d19db2cc405611e5a67b1 Mon Sep 17 00:00:00 2001 From: Gyula Bencedi Date: Tue, 28 Jul 2026 14:05:05 +0200 Subject: [PATCH 2/2] fix code-checker --- PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx b/PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx index e5d2a28476e..e4cbd6bcd3f 100644 --- a/PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx +++ b/PWGLF/Tasks/GlobalEventProperties/flattenictyPikp.cxx @@ -75,6 +75,7 @@ #include #include #include +#include #include using std::string;