Skip to content

Commit 7650d1e

Browse files
omassenalibuild
andauthored
[PWGCF] Adding A/C side asymmetry histograms (#10067)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 3fcf70d commit 7650d1e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PWGCF/TwoParticleCorrelations/Tasks/neutronProtonCorrZdc.cxx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ struct NeutronProtonCorrZdc {
112112
histos.add("CentvsZPSignalSum", "CentvsZPSignalSum", kTH2F, {cfgAxisCent, axisZPSignal});
113113
histos.add("CentvsAlphaZN", "CentvsAlphaZN", kTH2F, {cfgAxisCent, axisAlphaZ});
114114
histos.add("CentvsAlphaZP", "CentvsAlphaZP", kTH2F, {cfgAxisCent, axisAlphaZ});
115+
histos.add("CentvsAlphaZNcommon", "CentvsAlphaZNcommon", kTH2F, {cfgAxisCent, axisAlphaZ});
116+
histos.add("CentvsAlphaZPcommon", "CentvsAlphaZPcommon", kTH2F, {cfgAxisCent, axisAlphaZ});
115117
histos.add("CentvsDiffZNSignal", "CentvsDiffZNSignal", defaultZDCDiffHist);
116118
histos.add("CentvsDiffZPSignal", "CentvsDiffZPSignal", defaultZDCDiffHist);
117119
histos.add("CentvsZNAvsZNC", "CentvsZNAvsZNC", kTH3F, {cfgAxisCent, axisZNASignal, axisZNCSignal});
@@ -242,6 +244,8 @@ struct NeutronProtonCorrZdc {
242244
histos.fill(HIST("CentvsZPSignalCommon"), cent, (zdcread.energyCommonZPA() + zdcread.energyCommonZPC()));
243245
histos.fill(HIST("CentvsAlphaZN"), cent, alphaZN);
244246
histos.fill(HIST("CentvsAlphaZP"), cent, alphaZP);
247+
histos.fill(HIST("CentvsAlphaZNcommon"), cent, (zdcread.energyCommonZNA() - zdcread.energyCommonZNC()) / (zdcread.energyCommonZNA() + zdcread.energyCommonZNC()));
248+
histos.fill(HIST("CentvsAlphaZPcommon"), cent, (zdcread.energyCommonZPA() - zdcread.energyCommonZPC()) / (zdcread.energyCommonZPA() + zdcread.energyCommonZPC()));
245249

246250
histos.fill(HIST("CentvsZNAvsZNC"), cent, sumZNA, sumZNC);
247251
histos.fill(HIST("CentvsZNAvsZPA"), cent, sumZNA, sumZPA);
@@ -296,6 +300,8 @@ struct NeutronProtonCorrZdc {
296300
histos.fill(HIST("CentvsZPSignalCommon"), cent, (zdcread.energyCommonZPA() + zdcread.energyCommonZPC()));
297301
histos.fill(HIST("CentvsAlphaZN"), cent, alphaZN);
298302
histos.fill(HIST("CentvsAlphaZP"), cent, alphaZP);
303+
histos.fill(HIST("CentvsAlphaZNcommon"), cent, (zdcread.energyCommonZNA() - zdcread.energyCommonZNC()) / (zdcread.energyCommonZNA() + zdcread.energyCommonZNC()));
304+
histos.fill(HIST("CentvsAlphaZPcommon"), cent, (zdcread.energyCommonZPA() - zdcread.energyCommonZPC()) / (zdcread.energyCommonZPA() + zdcread.energyCommonZPC()));
299305

300306
histos.fill(HIST("CentvsZNAvsZNC"), cent, sumZNA, sumZNC);
301307
histos.fill(HIST("CentvsZNAvsZPA"), cent, sumZNA, sumZPA);

0 commit comments

Comments
 (0)