Skip to content

Commit b3fc8e2

Browse files
hernasabSabrina Hernandez
andauthored
[PWGCF] added new profiles and histograms (#12506)
Co-authored-by: Sabrina Hernandez <sabrina.gabrielle.hernandez@cern.ch>
1 parent c8fafdf commit b3fc8e2

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

PWGCF/Flow/Tasks/flowZdcTask.cxx

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,14 @@ struct FlowZdcTask {
269269
histos.add("ZNVsFT0C", ";T0C (#times 1/100);ZNA+ZNC;", kTH2F, {{{nBinsAmpFT0, 0., maxAmpFT0}, {nBinsZDC, -0.5, maxZn}}});
270270
histos.add("ZNVsFT0M", ";T0A+T0C (#times 1/100);ZNA+ZNC;", kTH2F, {{{nBinsAmpFT0, 0., 3000.}, {nBinsZDC, -0.5, maxZn}}});
271271
histos.add("ZN", ";ZNA+ZNC;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}});
272-
histos.add("ZNA", ";ZNA;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}});
273-
histos.add("ZPA", ";ZPA;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZp}});
274-
histos.add("ZNC", ";ZNC;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}});
275-
histos.add("ZPC", ";ZPC;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZp}});
272+
histos.add("ZNA", ";ZNA Amplitude;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}});
273+
histos.add("ZPA", ";ZPA Amplitude;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZp}});
274+
histos.add("ZNC", ";ZNC Amplitude;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}});
275+
histos.add("ZPC", ";ZPC Amplitude;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZp}});
276+
histos.add("ZNACommon", ";ZNA Common Energy;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}});
277+
histos.add("ZPACommon", ";ZPA Common Energy;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZp}});
278+
histos.add("ZNCCommon", ";ZNC Common Energy;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZn}});
279+
histos.add("ZPCCommon", ";ZPC Common Energy;Entries;", kTH1F, {{nBinsZDC, -0.5, maxZp}});
276280
histos.add("ZNAVsZNC", ";ZNC;ZNA", kTH2F, {{{30, -0.5, maxZn}, {30, -0.5, maxZn}}});
277281
histos.add("ZPAVsZPC", ";ZPC;ZPA;", kTH2F, {{{100, -0.5, maxZp}, {100, -0.5, maxZp}}});
278282
histos.add("ZNAVsZPA", ";ZPA;ZNA;", kTH2F, {{{20, -0.5, maxZp}, {30, -0.5, maxZn}}});
@@ -312,6 +316,8 @@ struct FlowZdcTask {
312316
histos.add("ZPCvsCent", ";centFT0C;ZPC", kTH2F, {{{axisCent}, {nBinsZDC, -0.5, maxZp}}});
313317
histos.add("pZPAvsFT0Ccent", ";FT0C centrality;ZPA Amplitude", kTProfile, {{nBinsCent, minT0CcentCut, maxT0CcentCut}});
314318
histos.add("pZPCvsFT0Ccent", ";FT0C centrality;ZPC Amplitude", kTProfile, {{nBinsCent, minT0CcentCut, maxT0CcentCut}});
319+
histos.add("pZPAvsGlbTrack", ";Global Tracks (ITS + TPC);ZPA Amplitude", kTProfile, {{nBinsNch, minNch, maxNch}});
320+
histos.add("pZPCvsGlbTrack", ";Global Tracks (ITS + TPC);ZPC Amplitude", kTProfile, {{nBinsNch, minNch, maxNch}});
315321
}
316322

317323
ccdb->setURL("http://alice-ccdb.cern.ch");
@@ -450,6 +456,10 @@ struct FlowZdcTask {
450456
float znC = zdc.amplitudeZNC() / cfgCollisionEnergy;
451457
float zpA = zdc.amplitudeZPA() / cfgCollisionEnergy;
452458
float zpC = zdc.amplitudeZPC() / cfgCollisionEnergy;
459+
float commonSumZnc = zdc.energyCommonZNC() / cfgCollisionEnergy;
460+
float commonSumZna = zdc.energyCommonZNA() / cfgCollisionEnergy;
461+
float commonSumZpc = zdc.energyCommonZPC() / cfgCollisionEnergy;
462+
float commonSumZpa = zdc.energyCommonZPA() / cfgCollisionEnergy;
453463
float aZEM1{zdc.amplitudeZEM1()};
454464
float aZEM2{zdc.amplitudeZEM2()};
455465
float sumZEMs{aZEM1 + aZEM2};
@@ -550,6 +560,8 @@ struct FlowZdcTask {
550560
// Neutron ZDC
551561
histos.fill(HIST("ZNA"), znA);
552562
histos.fill(HIST("ZNC"), znC);
563+
histos.fill(HIST("ZNACommon"), commonSumZna);
564+
histos.fill(HIST("ZNCCommon"), commonSumZnc);
553565
histos.fill(HIST("ZNASector"), sumZNA / cfgCollisionEnergy);
554566
histos.fill(HIST("ZNCSector"), sumZNC / cfgCollisionEnergy);
555567
histos.fill(HIST("ZN"), znA + znC);
@@ -564,21 +576,25 @@ struct FlowZdcTask {
564576
// Proton ZDC
565577
if (!isOneNeutronFound || znA >= oneNeutron) {
566578
histos.fill(HIST("ZPA"), zpA);
579+
histos.fill(HIST("ZPACommon"), commonSumZpa);
567580
histos.fill(HIST("ZPASector"), sumZPA / cfgCollisionEnergy);
568581
histos.fill(HIST("ZPAVstdc"), tZPA, zpA);
569582
histos.fill(HIST("ZPAvsCent"), cent, zpA);
570583
if (std::isfinite(zpA) && !std::isnan(zpA) &&
571-
cent >= minT0CcentCut && cent < maxT0CcentCut) {
584+
cent >= minT0CcentCut && cent < maxT0CcentCut && glbTracks >= minNch && glbTracks < maxNch) {
572585
histos.fill(HIST("pZPAvsFT0Ccent"), cent, zpA);
586+
histos.fill(HIST("pZPAvsGlbTrack"), glbTracks, zpA);
573587
}
574588
}
575589
if (!isOneNeutronFound || znC >= oneNeutron) {
576590
histos.fill(HIST("ZPC"), zpC);
591+
histos.fill(HIST("ZPCCommon"), commonSumZpc);
577592
histos.fill(HIST("ZPCSector"), sumZPC / cfgCollisionEnergy);
578593
histos.fill(HIST("ZPCvsCent"), cent, zpC);
579594
if (std::isfinite(zpC) && !std::isnan(zpC) &&
580-
cent >= minT0CcentCut && cent < maxT0CcentCut) {
595+
cent >= minT0CcentCut && cent < maxT0CcentCut && glbTracks >= minNch && glbTracks < maxNch) {
581596
histos.fill(HIST("pZPCvsFT0Ccent"), cent, zpC);
597+
histos.fill(HIST("pZPCvsGlbTrack"), glbTracks, zpC);
582598
}
583599
}
584600

0 commit comments

Comments
 (0)