From 1ab79cd75a1a44058ee5b2df319b923293858dff Mon Sep 17 00:00:00 2001 From: Sabrina Hernandez Date: Wed, 4 Feb 2026 22:58:09 -0600 Subject: [PATCH 1/2] added 2d histograms correlating sector ZDC energies --- PWGCF/Flow/Tasks/flowZdcTask.cxx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/PWGCF/Flow/Tasks/flowZdcTask.cxx b/PWGCF/Flow/Tasks/flowZdcTask.cxx index 555c4ea54d3..fb2ec503be4 100644 --- a/PWGCF/Flow/Tasks/flowZdcTask.cxx +++ b/PWGCF/Flow/Tasks/flowZdcTask.cxx @@ -237,6 +237,10 @@ struct FlowZdcTask { histos.add("ZPAVsZPC", ";ZPC;ZPA;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZp}}}); histos.add("ZNAVsZPA", ";ZPA;ZNA;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZn}}}); histos.add("ZNCVsZPC", ";ZPC;ZNC;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZn}}}); + histos.add("SectorZNAVsZNC", ";Sector ZNC;Sector ZNA", kTH2F, {{{nBinsZDC, -0.5, maxZn}, {nBinsZDC, -0.5, maxZn}}}); + histos.add("SectorZPAVsZPC", ";Sector ZPC;Sector ZPA;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZp}}}); + histos.add("SectorZNAVsZPA", ";Sector ZPA;Sector ZNA;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZn}}}); + histos.add("SectorZNCVsZPC", ";Sector ZPC;Sector ZNC;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZn}}}); histos.add("ZNASector", ";ZNA;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}}); histos.add("ZPASector", ";ZPA;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZp}}); histos.add("ZNCSector", ";ZNC;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}}); @@ -512,6 +516,7 @@ struct FlowZdcTask { histos.fill(HIST("ZNVsZEM"), sumZEMs, sumZNs); if (((tZNA >= minTdcZn) && (tZNA <= maxTdcZn)) && ((tZNC >= minTdcZn) && (tZNC <= maxTdcZn))) { histos.fill(HIST("ZNAVsZNC"), znC, znA); + histos.fill(HIST("SectorZNAVsZNC"), sumZNC, sumZNA); histos.fill(HIST("ZN"), znA + znC); histos.fill(HIST("ZNVsFT0C"), aT0C / 100., znA + znC); histos.fill(HIST("ZNVsFT0M"), (aT0A + aT0C) / 100., znA + znC); @@ -520,16 +525,21 @@ struct FlowZdcTask { } if (((tZPA >= minTdcZp) && (tZPA <= maxTdcZp)) && ((tZPC >= minTdcZp) && (tZPC <= maxTdcZp))) { histos.fill(HIST("ZPAVsZPC"), zpC, zpA); + histos.fill(HIST("SectorZPAVsZPC"), sumZPC, sumZPA); histos.fill(HIST("ZPVsFT0A"), aT0A / 100., zpA + zpC); histos.fill(HIST("ZPVsFT0C"), aT0C / 100., zpA + zpC); histos.fill(HIST("ZPVsFT0M"), (aT0A + aT0C) / 100., zpA + zpC); histos.fill(HIST("CommonZPVsFT0M"), (aT0A + aT0C) / 100., commonSumZpa + commonSumZpc); histos.fill(HIST("SectorZPVsFT0M"), (aT0A + aT0C) / 100., sumZPA + sumZPC); } - if (((tZNA >= minTdcZn) && (tZNA <= maxTdcZn)) && ((tZPA >= minTdcZp) && (tZPA <= maxTdcZp))) + if (((tZNA >= minTdcZn) && (tZNA <= maxTdcZn)) && ((tZPA >= minTdcZp) && (tZPA <= maxTdcZp))) { histos.fill(HIST("ZNAVsZPA"), zpA, znA); - if (((tZNC >= minTdcZn) && (tZNC <= maxTdcZn)) && ((tZPC >= minTdcZp) && (tZPC <= maxTdcZp))) + histos.fill(HIST("SectorZNAVsZPA"), sumZPA, sumZNA); + } + if (((tZNC >= minTdcZn) && (tZNC <= maxTdcZn)) && ((tZPC >= minTdcZp) && (tZPC <= maxTdcZp))) { histos.fill(HIST("ZNCVsZPC"), zpC, znC); + histos.fill(HIST("SectorZNCVsZPC"), sumZPC, sumZNC); + } } else { histos.fill(HIST("ZNA"), znA); histos.fill(HIST("ZNC"), znC); @@ -540,6 +550,10 @@ struct FlowZdcTask { histos.fill(HIST("ZNAVsZPA"), zpA, znA); histos.fill(HIST("ZNCVsZPC"), zpC, znC); histos.fill(HIST("ZPAVsZPC"), zpC, zpA); + histos.fill(HIST("SectorZPAVsZPC"), sumZPC, sumZPA); + histos.fill(HIST("SectorZNAVsZNC"), sumZNC, sumZNA); + histos.fill(HIST("SectorZNAVsZPA"), sumZPA, sumZNA); + histos.fill(HIST("SectorZNCVsZPC"), sumZPC, sumZNC); histos.fill(HIST("ZNACommon"), commonSumZna); histos.fill(HIST("ZNASector"), sumZNA); histos.fill(HIST("ZNCCommon"), commonSumZnc); From daaf202a0e157d9ae5f4e876393ca35a7190f051 Mon Sep 17 00:00:00 2001 From: Sabrina Hernandez Date: Wed, 4 Feb 2026 23:02:59 -0600 Subject: [PATCH 2/2] whitespace and clang --- PWGCF/Flow/Tasks/flowZdcTask.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PWGCF/Flow/Tasks/flowZdcTask.cxx b/PWGCF/Flow/Tasks/flowZdcTask.cxx index fb2ec503be4..d1bfeb049b4 100644 --- a/PWGCF/Flow/Tasks/flowZdcTask.cxx +++ b/PWGCF/Flow/Tasks/flowZdcTask.cxx @@ -240,7 +240,7 @@ struct FlowZdcTask { histos.add("SectorZNAVsZNC", ";Sector ZNC;Sector ZNA", kTH2F, {{{nBinsZDC, -0.5, maxZn}, {nBinsZDC, -0.5, maxZn}}}); histos.add("SectorZPAVsZPC", ";Sector ZPC;Sector ZPA;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZp}}}); histos.add("SectorZNAVsZPA", ";Sector ZPA;Sector ZNA;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZn}}}); - histos.add("SectorZNCVsZPC", ";Sector ZPC;Sector ZNC;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZn}}}); + histos.add("SectorZNCVsZPC", ";Sector ZPC;Sector ZNC;", kTH2F, {{{nBinsZDC, -0.5, maxZp}, {nBinsZDC, -0.5, maxZn}}}); histos.add("ZNASector", ";ZNA;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}}); histos.add("ZPASector", ";ZPA;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZp}}); histos.add("ZNCSector", ";ZNC;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}}); @@ -535,11 +535,11 @@ struct FlowZdcTask { if (((tZNA >= minTdcZn) && (tZNA <= maxTdcZn)) && ((tZPA >= minTdcZp) && (tZPA <= maxTdcZp))) { histos.fill(HIST("ZNAVsZPA"), zpA, znA); histos.fill(HIST("SectorZNAVsZPA"), sumZPA, sumZNA); - } + } if (((tZNC >= minTdcZn) && (tZNC <= maxTdcZn)) && ((tZPC >= minTdcZp) && (tZPC <= maxTdcZp))) { histos.fill(HIST("ZNCVsZPC"), zpC, znC); histos.fill(HIST("SectorZNCVsZPC"), sumZPC, sumZNC); - } + } } else { histos.fill(HIST("ZNA"), znA); histos.fill(HIST("ZNC"), znC); @@ -553,7 +553,7 @@ struct FlowZdcTask { histos.fill(HIST("SectorZPAVsZPC"), sumZPC, sumZPA); histos.fill(HIST("SectorZNAVsZNC"), sumZNC, sumZNA); histos.fill(HIST("SectorZNAVsZPA"), sumZPA, sumZNA); - histos.fill(HIST("SectorZNCVsZPC"), sumZPC, sumZNC); + histos.fill(HIST("SectorZNCVsZPC"), sumZPC, sumZNC); histos.fill(HIST("ZNACommon"), commonSumZna); histos.fill(HIST("ZNASector"), sumZNA); histos.fill(HIST("ZNCCommon"), commonSumZnc);