Skip to content

Commit 7b608cc

Browse files
authored
Add UPC QA histograms
1 parent 237c89d commit 7b608cc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

PWGHF/D2H/Tasks/taskD0.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@ struct HfTaskD0 {
382382
registry.add("Data/fitInfo/ampFT0A_vs_ampFT0C", "FT0-A vs FT0-C amplitude;FT0-A amplitude (a.u.);FT0-C amplitude (a.u.)", {HistType::kTH2F, {{2500, 0., 250}, {2500, 0., 250}}});
383383
registry.add("Data/zdc/energyZNA_vs_energyZNC", "ZNA vs ZNC common energy;E_{ZNA}^{common} (a.u.);E_{ZNC}^{common} (a.u.)", {HistType::kTH2F, {{200, 0., 20}, {200, 0., 20}}});
384384
registry.add("Data/hUpcGapAfterSelection", "UPC gap type after selection;Gap type;Counts", {HistType::kTH1F, {{7, -1.5, 5.5}}});
385+
registry.add("Data/hGapVsEta", "UPC gap vs Eta;Gap type;Eta", {HistType::kTH2F, {{7, -1.5, 5.5}, {50, -1., 1.}}});
386+
registry.add("Data/hGapVsRap", "UPC gap vs Eta;Gap type;Eta", {HistType::kTH2F, {{7, -1.5, 5.5}, {50, -1., 1.}}});
385387

386388
hfEvSel.addHistograms(registry);
387389

@@ -633,6 +635,9 @@ struct HfTaskD0 {
633635
const float massD0 = HfHelper::invMassD0ToPiK(candidate);
634636
const float massD0bar = HfHelper::invMassD0barToKPi(candidate);
635637
const auto ptCandidate = candidate.pt();
638+
registry.fill(HIST("Data/hGapVsEta"), gap, candidate.eta());
639+
registry.fill(HIST("Data/hGapVsRap"), gap, HfHelper::yD0(candidate));
640+
636641

637642
if (candidate.isSelD0() >= selectionFlagD0) {
638643
registry.fill(HIST("hMass"), massD0, ptCandidate);

0 commit comments

Comments
 (0)